![]() | ![]() | ![]() | GTK+ Reference Manual | ![]() |
---|
GtkBinGtkBin — a container with just one child. |
#include <gtk/gtk.h> struct GtkBin; GtkWidget* gtk_bin_get_child (GtkBin *bin);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkAlignment +----GtkFrame +----GtkButton +----GtkItem +----GtkWindow +----GtkComboBox +----GtkEventBox +----GtkExpander +----GtkHandleBox +----GtkToolItem +----GtkScrolledWindow +----GtkViewport
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.
struct GtkBin;
The GtkBin-struct 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. |
<< Abstract Base Classes | GtkBox >> |