[Glade-users] Label of a GtkButton in Glade
- From: qa_tridang at hotmail.com (KHOA NGUYEN)
- Subject: [Glade-users] Label of a GtkButton in Glade
- Date: Tue, 16 Sep 2008 19:57:09 +0000
You are right. It works indeed. I am sorry to disturb you with my careless mistake.
Best regardsVyDaMan
Date: Tue, 16 Sep 2008 14:45:57 -0400> From: tristan.van.berkom at gmail.com> To: qa_tridang at
hotmail.com> Subject: Re: [Glade-users] Label of a GtkButton in Glade> CC: glade-users at lists.ximian.com>
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> >> >
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20080916/b80e27d5/attachment-0001.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]