gtk.Binan abstract base class defining a container with just one
child.Synopsisgtk.Bingtk.Containerget_childAncestry+-- gobject.GObject
+-- gtk.Object
+-- gtk.Widget
+-- gtk.Container
+-- gtk.Bin
Implemented Interfacesgtk.Bin
implements
gtk.Buildablegtk.Bin Propertiesgtk.Object Propertiesgtk.Widget Propertiesgtk.Container Propertiesgtk.Bin Style Propertiesgtk.Widget Style Propertiesgtk.Bin Signal Prototypesgobject.GObject Signal Prototypesgtk.Object Signal Prototypesgtk.Widget Signal Prototypesgtk.Container Signal PrototypesAttributes
"child"ReadThe child widget or None if there
is no child.
Descriptiongtk.Bin
is an abstract base class defining a widget that is a container with just
one child. It is useful for deriving subclasses, since it provides the
common code needed for handling a single child widget. Many PyGTK widgets
are subclasses of gtk.Bin, including
gtk.Window,
gtk.Button,
gtk.Frame,
gtk.HandleBox,
and gtk.ScrolledWindow.Methodsgtk.Bin.get_childget_childReturns :a reference to the child
widgetThe get_child() method returns a
reference to the child of the bin, or None if the bin
contains no child widget.