[pygtk] gtk.builder__add_from_file() selectivity problem
nesfree
plavsicp at gmail.com
Wed Aug 19 16:23:12 WST 2009
Thank you,
But I still can't achieve what I want that is:
In one glade file (project) I defined all windows I need but I don't need
them all from start of my program but some windows become active after some
"events".
But if I use:
self.builder = gtk.Builder()
self.builder.add_from_file("My.glade") <--- this line load all what is
in My.glade
self.window = self.builder.get_object("mainWindow")
self.builder.connect_signals(self)
I can achieve what I want if I define every window I need in my GUI into
separate .glade files,
but that seems impractical to me.
Best regards,
Predrag
plavsicp at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090819/92918d6c/attachment.htm
More information about the pygtk
mailing list