Navigate between registered screens and expose navigation state. More...
Public Member Functions | |
| ScreenId|None | active_screen_id (self) |
| Return the active screen identifier, if a screen is active. | |
| None | show_screen (self, ScreenId screen_id) |
| Navigate to a screen and add the previous screen to history. | |
| bool | go_back (self) |
| Return to the previous screen. | |
| None | go_home (self) |
| Navigate to the frontend's configured home screen. | |
Navigate between registered screens and expose navigation state.
| ScreenId | None ui.screen_navigator_if.ScreenNavigatorIf.active_screen_id | ( | self | ) |
Return the active screen identifier, if a screen is active.
Reimplemented in apps.carUi.car_ui_frontend.CarUiFrontend.
| bool ui.screen_navigator_if.ScreenNavigatorIf.go_back | ( | self | ) |
Return to the previous screen.
Reimplemented in apps.carUi.car_ui_frontend.CarUiFrontend.
| None ui.screen_navigator_if.ScreenNavigatorIf.show_screen | ( | self, | |
| ScreenId | screen_id | ||
| ) |
Navigate to a screen and add the previous screen to history.
| screen_id | Identifier of the registered destination screen. |
Reimplemented in apps.carUi.car_ui_frontend.CarUiFrontend.