On 27/09/2011 17:12, Olaf Devik wrote:
I have a number of textEntries used to hold setup values. Each of the
textentries has distinctive names in Glade (Glade 3.6).
I would like to retrieve the name of the textEntry and the content.
The latter is easy, but I fail to find a property of the textEntry
which holds the name given to it in the Glade editor.
The name combined with the contents is planned to be used to construct
a list to be saved in a setup file.
Any ideas?
Regards
Olaf
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
try:
widget_name = gtk.Buildable.get_name(widget)
regard
--
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/