[pygtk] Widget Names

Rob Brown-Bayliss r.brown.bayliss at gmail.com
Thu Mar 18 11:21:35 WST 2010


Hi

Using GTK builder to create the GUI on pygtk 2.1.7 the
widget.get_name() returns the type of widget rather then the name set
in glade.
eg, I have a gtk entry called user_name:

>>> entry.get_name()
'GtkEntry'

Is this a bug, or is it the expected output.  In 2.1.6 it returns the
expected result:
>>> entry.get_name()
'user_name'


Rob


More information about the pygtk mailing list