nanover.omni.rich module
- class nanover.omni.rich.OmniTextualApp(omni: OmniRunner)
Bases:
App
- BINDINGS: ClassVar[list[BindingType]] = [('q', 'quit', 'Quit')]
The default key bindings.
- CSS_PATH: ClassVar[CSSPathType | None] = 'rich.tcss'
File paths to load CSS from.
- TITLE: str | None = 'NanoVer Omni Server'
A class variable to set the default title for the application.
To update the title while the app is running, you can set the [title][textual.app.App.title] attribute. See also [the Screen.TITLE attribute][textual.screen.Screen.TITLE].
- compose() Iterable[Widget]
Yield child widgets for a container.
This method should be implemented in a subclass.
- async on_button_pressed(event: Pressed)
- on_mount()
- update()