Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkWidgetPushCompositeChild

gtkWidgetPushCompositeChild


Description

Makes all newly-created widgets as composite children until the corresponding gtkWidgetPopCompositeChild call.

Usage

gtkWidgetPushCompositeChild()

Details

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:

gtkWidgetPushCompositeChild()
hscrollbar <- gtkHScrollbarNew(hadjustment)
hscrollbar$setCompositeName("hscrollbar")
gtkWidgetPopCompositeChild()
hscrollbar$setParent(scrolled_window)

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.