glooey.containers

Widgets whose primary role is to contain other widgets. Most of these widgets don’t draw anything themselves, they just position children widgets.

For conventional box-like layouts, see glooey.containers.Grid, HBox, and VBox. For more flexible and ad-hoc layouts, see Board. For putting backgrounds and borders around other widgets, see glooey.containers.Frame.

Classes

Bin()

A container that can hold a single widget.

Board()

A container for free-form positioning of child widgets.

Deck(initial_state, **states)

Display one of a number of child widgets depending on the state specified by the user.

Frame()

Visually offset a widget from its surroundings.

Grid([num_rows, num_cols, ...])

Arrange widgets in a rectangular grid.

HBox([default_cell_size])

Organize widgets into a horizontal row.

HVBox([default_cell_size])

An abstract base class for containers that can pack widgets into either a single row or single column, namely HBox and VBox.

Stack()

Display child widgets into vertical layers.

VBox([default_cell_size])

Organize widgets into a vertical column.

Functions

align_widget_in_box(widget, box_rect[, ...])

claim_stacked_widgets(*widgets)