find-window ( quot: ( world -- ? ) -- world/f )
Factor handbook > UI framework > Building user interfaces > Top-level windows

Prev:open-window ( gadget title/attributes -- )
Next:worlds


Vocabulary
ui

Inputs and outputs
quota quotation with stack effect ( world -- ? )
world/fa world or f


Word description
Finds a native window such that the gadget passed to open-window satisfies the quotation, outputting f if no such gadget could be found. The front-most native window is checked first.

See also
worlds, open-window, world-attributes

Definition


: find-window ( quot: ( world -- ? ) -- world/f )
find-windows ?last ; inline