SmallButton.this

Creates an instance of SmallButton.

Parameters

iconPressed string

the string ID of the icon to be shown when the button is pressed.

iconUnpressed string

the string ID of the icon to be shown when the button is not pressed.

source string

the source identifier passed in the event class.

position Box

the position where the button will be drawn. If the button will be used as a window header button, you only need to set the size, since the final position will be set by the window itself.

Meta