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
gadgeta gadget
title/attributesa 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


: open-window ( gadget title/attributes -- ) open-window* drop ;