← All built-ins / ui_run_main()

ui_run_main()

ui_run_main(): void

Parameters

Takes no arguments.

Return value

Enters the UI event loop; blocks until the last window closes or ui_quit() is called.

Example

echo "place after building windows: ui_run_main();";
place after building windows: ui_run_main();

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_window()ui_quit()ui_alive()