Like run_app, for a UI the caller owns (to set the theme or hooks first, or to inspect it after).
- options: window title, size, theme, fonts and an optional frame limit.
- ui: the UI to run. It is not freed on return.
- app: your app state, passed to
buildeach frame. - build: declares the widgets for a frame.
run_app_with :: (
options: App_Options,
ui: *UI_State,
app: *$T,
build: (app: *T)
) -> bool
Like run_app, for a UI the caller owns (to set the theme or hooks first, or to inspect it after).
Parameters
- options: App_Options
- window title, size, theme, fonts and an optional frame limit.
- ui: *UI_State
- the UI to run. It is not freed on return.
- app: *$T
- your app state, passed to
buildeach frame. - build: (app: *T)
- declares the widgets for a frame.
Returns
- bool