[pygtk] Accessing child widgets via instance variables

Pádraig Brady P at draigBrady.com
Fri Aug 29 23:45:41 WST 2008


Drew Vogel wrote:
> Thanks, I have this mostly working. However it looks like instead of calling
> 
> my_win.show()
> 
> I now have to call
> 
> my_win.GtkWindow.show()
> 
> Is this correct?

Yes. my_win.GtkWindow is just a shortcut I thought was useful.
To access other widgets, just use my_win.id.

Pádraig.


More information about the pygtk mailing list