Windows Manager¶
-
class
ocvproto.ui.wm.
WindowManager
(windows: List[ocvproto.ui.window.Window] = None, app: ocvproto.app.application.Application = None)¶ Manages windows.
Parameters: - windows – Windows to manage. If not set, one window is automatically constructed.
- app – ocvproto application object. Automatically constructed if not set.
-
config_load
(config: ocvproto.app.config.Config)¶ Updates managed windows using data from the given config.
Parameters: config –
-
config_update
(config: ocvproto.app.config.Config)¶ Updates data gathered from managed windows in the given config.
Parameters: config –
-
iter_trackbars
() → Generator[Tuple[ocvproto.ui.window.Window, ocvproto.ui.trackbars.base.Trackbar], None, None]¶ Generator yielding managed windows and trackbars.
-
render
()¶ Renders managed windows.
-
set_frame
(frame: Union[<sphinx.ext.autodoc.importer._MockObject object at 0x7f886e166da0>, Frame])¶ Sets frame to be rendered in default window.
Parameters: frame –
-
window
¶ Default window.