diff options
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkbin.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkbin.sgml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/reference/gtk/tmpl/gtkbin.sgml b/docs/reference/gtk/tmpl/gtkbin.sgml new file mode 100644 index 0000000000..1aa48ce5a2 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkbin.sgml @@ -0,0 +1,44 @@ +<!-- ##### SECTION Title ##### --> +GtkBin + +<!-- ##### SECTION Short_Description ##### --> +a container with just one child. + +<!-- ##### SECTION Long_Description ##### --> +<para> +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. +</para> +<para> +Many GTK+ widgets are subclasses of #GtkBin, including #GtkWindow, #GtkButton, +#GtkFrame, #GtkHandleBox, and #GtkScrolledWindow. +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### STRUCT GtkBin ##### --> +<para> +The #GtkBin-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + +<informaltable pgwide=1 frame="none" role="struct"> +<tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"> +<tbody> + +<row> +<entry>#GtkWidget *child;</entry> +<entry>the child widget.</entry> +</row> + +</tbody></tgroup></informaltable> + +</para> + +@container: +@child: + |