pytermgui.window_manager
PyTermGUI's WindowManager, Compositor and Window live here.
The window is a subclass of Container
, and represents a desktop window. It can be
moved, resized and otherwise interacted with.
Compositor is a class specialized at drawing Window objects. It tries to be as efficient as possible, and follow a given target framerate.
WindowManager is what ties the two together. It manages its list of Windows, transmits and handles mouse input and more.
View Source
0"""PyTermGUI's WindowManager, Compositor and Window live here. 1 2The window is a subclass of `Container`, and represents a desktop window. It can be 3moved, resized and otherwise interacted with. 4 5Compositor is a class specialized at drawing Window objects. It tries to be as efficient 6as possible, and follow a given target framerate. 7 8WindowManager is what ties the two together. It manages its list of Windows, transmits 9and handles mouse input and more. 10""" 11 12from .window import Window 13from .layouts import Layout 14from .compositor import Compositor 15from .manager import WindowManager