GtkContainer
An abstract class to be extended by widgets that hold one or more other
widgets.
Object Hierarchy
Direct Subclasses
GtkBin,
GtkBox,
GtkCList,
GtkFixed,
GtkIconView,
GtkLayout,
GtkList,
GtkMenuShell,
GtkNotebook,
GtkPaned,
GtkSocket,
GtkTable,
GtkTextView,
GtkToolbar,
GtkTreeView,
GtkSheet,
GtkScintilla
Description
An abstract class to be extended by widget that hole one or more other
widgets.
Containers (widgets that extend from GtkContainer)
provide a context for the widgets they contain. Containers manage the
location, re-sizing and order of their children.
Containers can be broken down into two groups: bins (containers that
extend from GtkBin) and multi-child containers.
Bins may only have one child and in general provide some additional set of
functionality or display enhancement for their child widget. Multi-child
containers, on the other hand, normally do not provide any additional
functionality and instead focus on organizing a set of widgets.
Properties
Use get_property and set_property methods to access these.
border-width:
Border around the container
child:
Add a new child to the container.
resize-mode:
How resize events are handled.
Signals
"add"
Emitted when a child is added to the container with the add
method.
"check-resize"
Recalculation of children is requested.
"remove"
Widget is removed from container.
"set-focus-child"
Focus changes.