UI definition file | Pass string value in signal handler

Hi,

Given the following .ui definition file extract:

<property name="factory">
    <object class="GtkSignalListItemFactory" id="_factory_path">
        <signal name="setup" handler="_factory_setup_label"/>
    </object>
</property>

And the following code extract in the class definition:

def _setup_column_view(self):
    self._factory_path.connect("bind", self._factory_bind, "path")

It is possible to pass a string value to the signal handler in the .ui definition file ? Something like this:

<property name="factory">
    <object class="GtkSignalListItemFactory" id="_factory_path">
        <signal name="setup" handler="_factory_setup_label"/>
        <!--Here below-->
        <signal name="bind" handler="_factory_bind_label" object="path"/>
    </object>
</property>

Kind regards,
@vcottineau

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.