class shell.Screen(Widget)

Screen is an abstract base class for widgets to be uses as screens by a Shell.

Methods

center(self, widget)
Adds the given widget as a subwidget and positions it in the centre of the Screen.

Abstract Methods

begin_frame()
Called from the begin_frame() method of the Shell when this screen is the current screen.
leave_screen()
Called from the Shell when switching away from this screen to another screen.
enter_screen()
Called from the Shell when switching to this screen from another screen.
---