Using pygtk and glade2

P at draigBrady.com P at draigBrady.com
Fri May 21 07:04:38 EDT 2004


j_mckitrick wrote:
>>That's easy: text = combo.entry.get_text()
> 
> 
> But when I use
> 
> self.wTree.get_widget('Combo').entry.get_text()
> 
> it tells me
> 
> gtk.Bin does not have attribute 'entry'

Hang on, gtk.Bin isn't even in the combo hierarchy?
http://www.pygtk.org/pygtk2reference/class-gtkcombo.html
Are you sure you've got the correct widget?

Pádraig.



More information about the Python-list mailing list