ltk

Function run

Source
pub fn run<A: App>(app: A)
Expand description

Run the application. Blocks until the window is closed.

Panics on init failure (no Wayland compositor, missing protocol, etc.). Embedders that need to recover gracefully — e.g. fall back to a software TTY UI when no compositor is reachable — should call try_run instead and match on the returned RunError.