Skip to content

Controller Adapter

app.ui.adapters.controller_adapter

View source code

Thin UI-layer facade over the concrete UIController object.

See Also

Layer: Presentation. Context: Bridges UI-facing contracts to application operations.

UIControllerAdapter

Bases: UIControllerInterface

Expose only controller operations currently needed by migrated handlers.

Layer: Presentation. Context: Supports user interaction and delegates application work through presentation contracts.

PARAMETER DESCRIPTION
controller

Controller whose window, application facade, and rendering callbacks are exposed to handlers.

TYPE: UIController

__init__(controller: UIController) -> None

render_frame_for_session_id(s_id: SessionId) -> None

Render frame for session id.

PARAMETER DESCRIPTION
s_id

Identifier of the target session. (SessionId).

TYPE: SessionId

update_ui_status_bar() -> None

Update ui status bar.