GTK+
gtk/gtkbin.h
GtkBin is an abstract base class for containers with one child. It provides default implementions of the GtkContainer interface, so it is very easy to subclass. the chapter called Writing a GtkWidget describes how to implement a GtkBin subclass.