Handbook
Glossary
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
quot
a
quotation
with stack effect
( world -- ? )
Outputs
world/f
a
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
USING:
sequences
;
IN:
ui
:
find-window
( quot: ( world -- ? ) -- world/f )
find-windows
?last
;
inline