GLXCurses.HBox module

class GLXCurses.HBox.HBox[source]

Bases: GLXCurses.Box.Box, GLXCurses.libs.Dividable.Dividable

Description:

The HBox is a container that organizes child widgets into a single row.

Use the Box packing interface to determine the arrangement, spacing, width, and alignment of HBox children.

All children are allocated the same height.

new(homogeneous=True, spacing=None)[source]

Creates a new GLXCurses HBox

Parameters:
  • 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 homogeneous is not bool type
  • TypeError – if spacing is not int type or None
draw_widget_in_area()[source]

Be here for be overwrite by every widget

update_preferred_sizes()[source]