[pygtk] How to make a transform the window type of glade object into a WINDOW_CHILD

marco@rockiger.com rockiger at googlemail.com
Wed Feb 23 03:23:14 WST 2011


I am trying to give the fabulous text-editor Scribes some tabs.

My idea was to simply create a gtk.Notebook and put all the editor-windows 
created by Scribes in this notebook.

The editor-window is created with Glade.

When I try to add an editor-window to the gtk.Notebook, I get the following 
error message:

GtkWarning: Can't set a parent on a toplevel widget


Now my question, how can I change the Glade-Object (aka editor-window) to be 
created as a WINDOW_CHILD?
Is this posibble with Glade-Windows?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110222/0d45e36c/attachment.html>


More information about the pygtk mailing list