GtkBin
A container widget with only one child.
Object Hierarchy
Direct Subclasses
Description
The GtkBin widget is a container that is capable of holding only one child. It is not very useful on its own, but is often used for deriving subclasses, since it provides code for needed for handling a single widget child. All widgets derived from GtkBin therefore can only contain one immediate child, although this child may itself contain multiple widgets.
Since GtkBin is an abstract base class, there is no constructor for it. However, many useful widgets are subclasses of GtkBin, including GtkButton, GtkFrame, GtkHandleBox and GtkWindow. You can use get_child() to get the child object.
Methods
get_child() Returns the child of the GtkBin.
Fields
child: The child widget