Hi,
I’ writing a custom widget where actual implementation is done with a Template file.
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="Header_Bar" parent="GtkBox">
<property name="orientation">horizontal</property>
<child type="center">
<object class="GtkLabel" id="time">
<property name="label">11:45</property>
</object>
</child>
</template>
</interface>
In the python class a define a new property named time.
And I would now like to bind the ''label** property of the GtkLabel in the template file to the time property of the root object (basically the newly created property of the python class).
Is the possible at all? If yes, what would I need to specify as bind-source?
Thanks for your help.
Martin