Is GtkMethodExpression exist that could call a method to get the value?

<object class="GtkLabel">
  <property name="hexpand">TRUE</property>
  <property name="xalign">0</property>
  <binding name="label">
    <method type="gchararray" function="get_name" target="GFileInfo">
      <lookup name="item">GtkListItem</lookup>
    </closure>
  </binding>
</object>

the result is returned by calling method:

 (listitem.item as FileInfo).get_name();

Currently there is no support for that. I think it would be really cool if it GtkBuilder was able to get methods like that using gobject introspection.

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