Re: EuGTK - toplevel problem
- Posted by Jerry_Story Aug 23, 2010
- 1564 views
jimcbrown said...
Jerry_Story said...
I'm getting a bunch of instances of the following error(s).
<unknown>:14001): Gtk-CRITICAL **: gtk_widget_set_child_visible: assertion `!gtk_widget_is_toplevel (widget)' failed (<unknown>:14001): Gtk-WARNING **: Can't set a parent on a toplevel widgetNo line or line number is given. I'm guessing that the problem has to do with GtkWindow. I have a bunch of GtkWindows. Can a GtkWindow be put on something such as a GtkVBox or a GtkHBox?
No, GtkWindows must be top-level (i.e. not have a parent or container). The only exception to this is that a GtkWindow may have another GtkWindow as a parent.
Is there any way in EuGTK to put multiple windows on a window?