Description Usage Details Author(s)
Makes all newly-created widgets as composite children until
the corresponding gtkWidgetPopCompositeChild
call.
1 |
A composite child is a child that's an implementation detail of the
container it's inside and should not be visible to people using the
container. Composite children aren't treated differently by GTK (but
see gtkContainerForeach
vs. gtkContainerForall
), but e.g. GUI
builders might want to treat them in a different way.
Here is a simple example:
1 2 3 4 5 | gtkWidgetPushCompositeChild()
hscrollbar <- gtkHScrollbarNew(hadjustment)
hscrollbar$setCompositeName("hscrollbar")
gtkWidgetPopCompositeChild()
hscrollbar$setParent(scrolled_window)
|
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.