| Did you know ... | Search Documentation: |
| Instance variables |
->key:
name is received. See window->typed
for an explanation on handling accelerators in dialog windows..danger_colour.
A danger button can also be the button<-default_button,
which makes it filled with this colour. Typically though, a dialog that
asks to confirm a destructive action makes cancel the
default button, so RETURN does not destroy anything.<-device.
This implies two things. First of all, if an item in the dialog is
modified, the item will invoke dialog->modified_item.
If the dialog finds a device<-default_button,
it will make the default button graphical->active.
If the RETURN key is hit in the dialog window, the default button will
be button->execute’d.
The method button->label switches this
flag automatically to @off
if the label is set to an image.