forked from AuroraMiddleware/gtk
372c4d2627
1999-09-22 Damon Chaplin <damon@karuna.freeserve.co.uk> * gtk/tmpl/*.sgml: ran make templates, to fix problems with structs. * gtk/gtk-sections.txt: rearranged GtkCombo section. * gtk/tmpl/gtkvseparator.sgml: * gtk/tmpl/gtkhseparator.sgml: * gtk/tmpl/gtkgc.sgml: * gtk/tmpl/gtkfeatures.sgml: * gtk/tmpl/gtktipsquery.sgml: * gtk/tmpl/gtkitem.sgml: * gtk/tmpl/gtkinvisible.sgml: * gtk/tmpl/gtkgamma.sgml: * gtk/tmpl/gtkdata.sgml: * gtk/tmpl/gtkcurve.sgml: * gtk/tmpl/gtkcombo.sgml: * gtk/tmpl/gtkaccellabel.sgml: documented.
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
<!-- ##### 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>
|
|
|
|
|