GtkBin
A container widget with only one child.
Object Hierarchy
Direct Subclasses
GtkAlignment,
GtkButton,
GtkComboBox,
GtkEventBox,
GtkExpander,
GtkFrame,
GtkHandleBox,
GtkItem,
GtkScrolledWindow,
GtkToolItem,
GtkViewport,
GtkWindow,
GtkHTMLEmbedded,
GtkMozEmbed
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.
Fields
child:
The child widget