Handbook
Glossary
open-window ( gadget title/attributes -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Top-level windows
Next:
find-window ( quot: ( world -- ? ) -- world/f )
Vocabulary
ui
Inputs
gadget
a
gadget
title/attributes
a
string
or a
world-attributes
tuple
Outputs
None
Word description
Opens a native window containing
gadget
with the specified attributes. If a string is provided, it is used as the window title; otherwise, the window attributes are specified in a
world-attributes
tuple.
See also
worlds
,
find-window
,
world-attributes
Definition
USING:
kernel
;
IN:
ui
:
open-window
( gadget title/attributes -- )
open-window*
drop
;