Top | Description | Object Hierarchy | Implemented Interfaces | ![]() |
![]() |
![]() |
![]() |
#include <gtk/gtk.h>
struct GtkBin;
struct GtkBinClass;
GtkWidget * gtk_bin_get_child (GtkBin *bin
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkAlignment +----GtkComboBox +----GtkFrame +----GtkButton +----GtkMenuItem +----GtkEventBox +----GtkExpander +----GtkFlowBoxChild +----GtkHandleBox +----GtkListBoxRow +----GtkToolItem +----GtkOverlay +----GtkScrolledWindow +----GtkPopover +----GtkRevealer +----GtkSearchBar +----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 or GtkScrolledWindow.
struct GtkBinClass { GtkContainerClass parent_class; };
GtkContainerClass |
The parent class. |