gtk2/docs/reference/gtk/tmpl/gtkbin.sgml

55 lines
1.1 KiB
Plaintext
Raw Normal View History

1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkBin
<!-- ##### SECTION Short_Description ##### -->
2004-10-11 20:10:52 +00:00
A container with just one child
1999-08-16 18:51:52 +00:00
<!-- ##### 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>
2005-06-20 22:06:27 +00:00
<!-- ##### SECTION Stability_Level ##### -->
1999-08-16 18:51:52 +00:00
<!-- ##### 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*"/>
1999-08-16 18:51:52 +00:00
<tbody>
<row>
<entry>#GtkWidget *child;</entry>
<entry>the child widget.</entry>
</row>
</tbody></tgroup></informaltable>
</para>
<!-- ##### FUNCTION gtk_bin_get_child ##### -->
<para>
</para>
@bin:
@Returns: