GLXCurses.Bin module

class GLXCurses.Bin.Bin[source]

Bases: GLXCurses.Container.Container

A container with just one child

Description

The 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 GLXCurses widgets are subclasses of Bin, including
get_child()[source]

Gets the child of the GLXCurses.Bin, or None if the bin contains no child widget.

The returned widget does not have a reference added, so you do not need to unref it.

Returns:the child of GLXCurses.Bin , or None if it does not have a child.
Return type:GLXCurses.Bin or None