[pygtk] 'name' attribute for objects created by gtk.Builder

Alessandro Dentella sandro at e-den.it
Sat Dec 11 21:56:14 WST 2010


On Sat, Dec 11, 2010 at 02:22:56PM +0100, Dieter Verfaillie wrote:
> So, in your case the following works:
> 
>     label = bld.get_object('label1')
>     print gtk.Buildable.get_name(label)


thanks Dieter, it works perfectly!
*:-)

-- 
Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


More information about the pygtk mailing list