[Glade-users] Label of a GtkButton in Glade
Tristan Van Berkom
tristan.van.berkom at gmail.com
Tue Sep 16 14:45:57 EDT 2008
Looks like it should work if you indeed have the correct button from
glade_xml_get_widget().
Cheers,
-Tristan
On Tue, Sep 16, 2008 at 1:03 PM, KHOA NGUYEN <qa_tridang at hotmail.com> wrote:
> Hello,
> I cannot find a function to get the label of a GtkButton created by Glade-3.
> The classic function "gtk_button_get_label " always returns NULL instead of
> "Save" even if the parameter is "label" in the XML desciption:
>
> <widget class="GtkButton" id="bt_save">
> <property name="visible">True</property>
> <property name="can_focus">True</property>
> <property
> name="receives_default">True</property>
> <property name="events">GDK_POINTER_MOTION_MASK
> | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK |
> GDK_BUTTON_RELEASE_MASK</property>
> <property name="label"
> translatable="yes">Save</property>
> <property name="response_id">0</property>
> <signal name="clicked"
> handler="bt_save_clicked_cb"/>
> </widget>
>
> Have you got any suggestions about a possible solution ?
>
>
>
> Thank you and bests regards
>
>
>
> Vydaman
>
>
>
> ________________________________
> Explore the seven wonders of the world Learn more!
> _______________________________________________
> Glade-users maillist - Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users
>
>
More information about the Glade-users
mailing list