Skip to content

screen

pdwidgets.screen

Full-screen widget container.

Screen(parent, fg=None, bg=None, visible=True)

Bases: Widget

Full-screen container for a page of widgets.

Initialize a Screen object to contain widgets.

Parameters:

Name Type Description Default
parent Display

The display object that contains the screen.

required
fg int

The foreground color of the screen.

None
bg int

The background color of the screen.

None
visible bool

The visibility of the screen.

True
Usage

screen = Screen(display)