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. Default value: false.

struct AcceptDialog
@nogc nothrow
addButton
(
StringArg0
StringArg2
)
(
in StringArg0 text
,
in bool right = false
,
in StringArg2 action = ""
)

Meta