Lifecycle and action contract for one navigable screen. More...
Public Member Functions | |
| ScreenId | screen_id (self) |
| Return the stable identifier used to navigate to this screen. | |
| None | show (self) |
| Make the screen active and ready to receive UI actions. | |
| None | hide (self) |
| Make the screen inactive and release transient activity. | |
| bool | handle_ui_action (self, UiAction action) |
| Handle a semantic action offered to the active screen. | |
Lifecycle and action contract for one navigable screen.
Implementations may use any UI toolkit. A screen is a navigation destination and may compose any number of toolkit-specific panels and widgets.
| bool ui.screen_ui_if.ScreenUiIf.handle_ui_action | ( | self, | |
| UiAction | action | ||
| ) |
Handle a semantic action offered to the active screen.
| action | Semantic UI action offered to the screen. |
Reimplemented in frontends.tk.tk_screen.TkScreen, and ui.screen_ui_stub.ScreenUiStub.
| ScreenId ui.screen_ui_if.ScreenUiIf.screen_id | ( | self | ) |
Return the stable identifier used to navigate to this screen.
Reimplemented in frontends.tk.tk_screen.TkScreen, and ui.screen_ui_stub.ScreenUiStub.