GLXCurses.HBox module¶
-
class
GLXCurses.HBox.HBox[source]¶ Bases:
GLXCurses.Box.Box,GLXCurses.libs.Dividable.DividableDescription: The
HBoxis a container that organizes child widgets into a single row.Use the
Boxpacking interface to determine the arrangement, spacing, width, and alignment ofHBoxchildren.All children are allocated the same height.
-
new(homogeneous=True, spacing=None)[source]¶ Creates a new GLXCurses
HBoxParameters: - homogeneous (bool) – True if all children are to be given equal space allotments.
- spacing (int) – The number of characters to place by default between children.
Returns: a new
HBox.Raises: - TypeError – if
homogeneousis not bool type - TypeError – if
spacingis not int type or None
-