popupButton

A button made to open popups.

@safe
alias popupButton = simpleConstructor!(PopupButton)

Examples

auto myButton = popupButton("Options",
    button("Edit", delegate { }),
    button("Copy", delegate { }),
    popupButton("Share",
        button("SMS", delegate { }),
        button("Via e-mail", delegate { }),
        button("Send to device", delegate { }),
    ),
);

Meta