Handbook
Glossary
start-ui ( quot -- )
Factor handbook
»
UI framework
»
Developing UI backends
»
UI initialization and the event loop
Vocabulary
ui
.
private
Inputs
quot
a
quotation
Outputs
None
Word description
Called by the UI backend to initialize the platform-independent parts of UI. This word should be called after the backend is ready to start displaying new windows, and before the event loop starts.
Definition
USING:
combinators
ui.gadgets.private
;
IN:
ui.private
:
start-ui
( quot -- )
( -- )
call-effect
notify-ui-thread
start-ui-thread
;