On Wed, Jan 21, 2004 at 11:30:02PM -0800, Sridhar R wrote:
> > Well, one way to work around this is to define the
> > gtk.Window in your
> > code, and have a dummy window defined in Glade that
> > you destroy at
> > startup:
> >
> > class MyWindow(gtk.Window): pass
> >
> > gladewin = xml.get_widget('fake_toplevel')
> > win = MyWindow()
> > child = gladewin.get_children()[0]
> > child.reparent(win)
>
> What about the properties of fake_toplevel windows
> defined in glade. Aren't they got lost by default
> properties of `win` instance?
Yes, they are. You can copy them manually if you like -- just go through
all them and clone them into your MyWindow instance.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/