MenuPopupButton

A button that pops up a menu on click for working on a particular item or selection.

Constructors

this
this(Menu menu, Widget parent)

You might consider using createContextMenuFromAnnotatedCode to populate the menu argument.

Members

Variables

prepare
void delegate() prepare;

If set, this delegate is called before popping up the window. This gives you a chance to prepare your dynamic data structures for the element(s) selected.

Inherited Members

From Button

triggersOnMultiClick
bool triggersOnMultiClick;

If true, this button will emit trigger events on double (and other quick events, if added) click events as well as on normal single click events.

label
string label()
label
void label(string l)

Meta

History

Added March 23, 2025