AcceptDialog.addButton

Adds a button with label text and a custom action to the dialog and returns the created button. action will be passed to the customAction signal when pressed. If true, right will place the button to the right of any sibling buttons.

struct AcceptDialog
@nogc nothrow
addButton
(
in String text
,
in bool right = false
,
in String action = gs!""
)

Meta