ExtensionA Button with a Popup List for performing actions. Closes on unfocus or with esc key.
Supports Button or RoundButton as a button classes.
If wslib quark is active, defaults to RoundButton.
Closes on click outside or on escape.
Create an ActionMenu
| parent |
The parent view. |
| bounds |
A Rect |
| name |
The Menu Button Title |
| items |
An Array of Strings or Associations (\key->function) |
| showArrow |
show a little down-tick arrow, defaults to true |
an ActionMenu
Default: Button.
but you can use the SmoothButton or RoundButton (RECOMMENDED) from the wonderful wslib quark.
If wslib quark is active, defaults to RoundButton.
the Button class.
a function. if you a add only a string, not an association, this function will be used.
the menu Button
a global function to be evaluated on selection
(describe returnvalue here)
default Boolean is true. Close the select window after selection.
default Boolean is true. Close the select on unfocs (click outside).
set a tooltip for the menu button
default 6.5