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.

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