I just found a bug in the GTK2.Container:
object a=GTK2.Window(GTK2.WindowToplevel); object b=GTK2.Button(); a->add(b); object c=GTK2.Label("text"); b->add(c);
c->add(b);
(Pike GTK:31904): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
But, GTK2.Label is a GTK2.Widget. (it inherits form GTK2.Misc, which inherits from GTK2.Widget).
I may have to customize the add() method to do some checks and allow the add, rather than autogenerating the code.