A Button is a momentary-action pushbutton, invoking an action
when it is
Creates a generic pushbutton with the given title.
- Title string to display inside the button.
- One of 'normal', 'default'
or 'cancel'. Setting this to 'default'
or 'cancel causes the button to take on the
appearance of a default button or a cancel button respectively,
according to platform conventions. (This property only affects the
of the button, it does not automatically make the button
- Action to perform when the button is clicked. See Actions.
- Animates a simulation of the button being pressed
momentarily, and then invokes its action.