[Glade-users] Label of a GtkButton in Glade




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
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20080916/d1de48f0/attachment.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]