Created
August 31, 2012 07:28
-
-
Save ik5/3549885 to your computer and use it in GitHub Desktop.
Here is part of the XML code from the Gtk3.gir file relating to the caption of the button:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<class name="Button" | |
c:symbol-prefix="button" | |
c:type="GtkButton" | |
parent="Bin" | |
glib:type-name="GtkButton" | |
glib:get-type="gtk_button_get_type" | |
glib:type-struct="ButtonClass"> | |
<implements name="Atk.ImplementorIface"/> | |
<implements name="Actionable"/> | |
<implements name="Activatable"/> | |
<implements name="Buildable"/> | |
<constructor name="new" c:identifier="gtk_button_new"> | |
<return-value transfer-ownership="none"> | |
<type name="Widget" c:type="GtkWidget*"/> | |
</return-value> | |
</constructor> | |
<method name="get_label" c:identifier="gtk_button_get_label"> | |
<return-value transfer-ownership="none"> | |
<type name="utf8" c:type="gchar*"/> | |
</return-value> | |
</method> <method name="set_label" c:identifier="gtk_button_set_label"> | |
<return-value transfer-ownership="none"> | |
<type name="none" c:type="void"/> | |
</return-value> | |
<parameters> | |
<parameter name="label" transfer-ownership="none"> | |
<type name="utf8" c:type="gchar*"/> | |
</parameter> | |
</parameters> | |
</method> | |
<property name="label" construct="1" | |
transfer-ownership="none"> | |
<type name="utf8"/> | |
</property> | |
</class> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment