show-commands-menu ( target commands -- )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Popup menus

Prev:show-menu ( owner menu -- )


Vocabulary
ui.gadgets.menus

Inputs
targeta gadget
commandsa sequence of commands


Outputs
None

Word description
Displays a popup menu with the given commands. The commands act on the target gadget. This is just a convenience word that combines <commands-menu> with show-menu.

Notes
Useful for right-click context menus.

Definition