children {RGtk}R Documentation

Get child widgets of a Gtk container

Description

This returns a list of the widgets that are currently contained or managed by a particular Gtk container widget.

Usage

gtkChildren(w, full = TRUE)
gtkContainerGetChildren(w, full = TRUE)
gtkParent(w, full = TRUE)
gtkWidgetGetParent(w, full = TRUE)

Arguments

w the Gtk widget object whose children or parent widget(s) are to be retrieved. For gtkChildren, the object should be an object that inherits from the class GtkContainer.
full a logical value indicating whether we should examine the resulting object(s) and expand the class based on the run-time type. If this is FALSE, a generic class GtkWidget is used. If one does not need to know what type of widget the parent or children widgets are, then specify FALSE to save processing.

Value

For gtkChildren, a list with each element corresponding to a child in the container widget.
If full is TRUE, the class of each widget returned will contain information about the actual type of the underlying Gtk widget. Otherwise, it will simply be GtkWidget.

Note

This is an extra-ordinarily early release intended to encourage others to contribute code, etc.

Author(s)

Duncan Temple Lang

References

http://www.gtk.org http://www.omegahat.org/RGtk

See Also

gtkParent

Examples



[Package Contents]