Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Author(s) References
A container with just one child
gtkBinGetChild(object)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkAlignment
+----GtkFrame
+----GtkButton
+----GtkItem
+----GtkComboBox
+----GtkEventBox
+----GtkExpander
+----GtkHandleBox
+----GtkToolItem
+----GtkScrolledWindow
+----GtkViewport
|
GtkBin implements
AtkImplementorIface and GtkBuildable
.
The GtkBin
widget is a container with just one child.
It is not very useful itself, but it is useful for deriving subclasses,
since it provides common code needed for handling a single child widget.
Many GTK+ widgets are subclasses of GtkBin
, including GtkWindow
, GtkButton
,
GtkFrame
, GtkHandleBox
, and GtkScrolledWindow
.
GtkBin
The GtkBin
struct contains the following fields.
(These fields should be considered read-only. They should never be set by
an application.)
GtkWidget *child; | the child widget. |
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkBin.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.