126 GtkBin

A container with just one child

126.1 Overview

The <gtk-bin> 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 <gtk-bin>, including
<gtk-window>, <gtk-button>, <gtk-frame>,
<gtk-handle-box>, and <gtk-scrolled-window>.