Handbook
Glossary
show-menu ( owner menu -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Popup menus
Prev:
<commands-menu> ( target hook commands -- menu )
Next:
show-commands-menu ( target commands -- )
Vocabulary
ui
.
gadgets
.
menus
Inputs
owner
a
gadget
menu
a
gadget
Outputs
None
Word description
Displays a popup menu in the
world
containing
owner
at the current mouse location. The popup menu can be any gadget.
Definition
USING:
kernel
ui.gadgets
ui.gadgets.menus.private
;
IN:
ui.gadgets.menus
:
show-menu
( owner menu -- )
[
(show-menu)
]
keep
request-focus
;