Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
close-window ( gadget -- )
Factor documentation
>
Factor handbook
>
UI framework
>
Developing UI backends
>
UI backend window management
Prev:
flush-gl-context ( handle -- )
Vocabulary
ui
Inputs and outputs
gadget
a
gadget
Word description
Close the native window containing
gadget
.
Definition
USING:
ui.backend
;
IN:
ui
HOOK:
close-window
ui-backend
( gadget -- )
Methods
USING:
kernel
ui
ui.gadgets.private
ui.gadgets.worlds
;
M:
object
close-window
find-world
[
ungraft
]
when*
;