GMCloseButton is an easy to use customisable button.
It natively displays a cross, suggesting pressing it will close the currently displayed View.
It only responds to mouse down clicks, and does not discriminate button identifiers.
Creates a new instance of GMCloseButton.
Its graphical properties are defined by its associated GMStyle.
a GMCloseButton instance.
Sets or gets the Function to be triggered when the button is pressed down. Doesn't take argument.
aFunction |
A Function without argument. |
Sets or gets the Function to be triggered when the button is pressed down. Doesn't take arguments. Equivalent to .action .
aFunction |
A Function without argument. |
The function associated to the View's drawFunc. Shouldn't be modified, use UserView instead.
aFunction |