Dialog.setButtonHandler

It is possible to assign callbacks to events such as pressing OK (or YES), NO (or CANCEL), ESC. ESC is always available.

class Dialog
void
setButtonHandler
(
Action act
,
fn_t fn
)

Meta