Skip to content

Controller Interface

app.ui.interfaces.controller_interface

View source code

Shared UI-controller contract consumed by UI handlers.

This protocol is intentionally small and UI-owned. It models only the controller operations handlers actually need, while keeping handlers from depending on the entire concrete UIController surface.

See Also

Layer: Presentation. Context: Defines presentation-facing contracts for controllers, application access, and windows.

UIControllerInterface

Bases: Protocol

Narrow controller facade exposed to handlers.

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

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.