taozuhong
(Taozuhong)
October 27, 2021, 2:07am
#1
<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();
jfrancis
(Jason Francis)
October 29, 2021, 5:44pm
#2
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.
system
(system)
Closed
November 12, 2021, 5:44pm
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.