[pygtk] gtk.builder__add_from_file() selectivity problem

nesfree plavsicp at gmail.com
Wed Aug 19 05:39:18 WST 2009


Hello all,

I am novice in PyGTK/Glade

I have little problem:

Namely, if my glade file contains more Top-level windows I can't separately
"load" them using

builder = gtk.Builder()
builder.add_objects_from_file(file.glade)

but I could do that using for example:

self.gladefile = "file.glade"
self.wTree = gtk.glade.XML(self.gladefile, "mainWindow")

Is there some work-around?

Many thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090818/5192bbf5/attachment.htm 


More information about the pygtk mailing list