A mixin that allows to transform AquaButton
in the corresponding toggle button.
GetToggle |
Returns the toggled state of a button. |
OnKeyDown |
Handles the wx.EVT_KEY_DOWN event for AquaButton when used as toggle button. |
OnKeyUp |
Handles the wx.EVT_KEY_UP event for AquaButton when used as toggle button. |
OnLeftDown |
Handles the wx.EVT_LEFT_DOWN event for AquaButton when used as toggle button. |
OnLeftUp |
Handles the wx.EVT_LEFT_UP event for AquaButton when used as toggle button. |
OnMotion |
Handles the wx.EVT_MOTION event for AquaButton when used as toggle button. |
OnPaint |
Handles the wx.EVT_PAINT event for AquaButton when used as toggle button. |
SetToggle |
Sets the button as toggled/not toggled. |
A mixin that allows to transform AquaButton
in the corresponding toggle button.
Returns the toggled state of a button.
Returns: | True is the button is toggled, False if it is not toggled. |
---|
Handles the wx.EVT_KEY_DOWN
event for AquaButton
when used as toggle button.
Parameters: | event – a KeyEvent event to be processed. |
---|
Handles the wx.EVT_KEY_UP
event for AquaButton
when used as toggle button.
Parameters: | event – a KeyEvent event to be processed. |
---|
Handles the wx.EVT_LEFT_DOWN
event for AquaButton
when used as toggle button.
Parameters: | event – a MouseEvent event to be processed. |
---|
Handles the wx.EVT_LEFT_UP
event for AquaButton
when used as toggle button.
Parameters: | event – a MouseEvent event to be processed. |
---|
Handles the wx.EVT_MOTION
event for AquaButton
when used as toggle button.
Parameters: | event – a MouseEvent event to be processed. |
---|
Handles the wx.EVT_PAINT
event for AquaButton
when used as toggle button.
Parameters: | event – a PaintEvent event to be processed. |
---|
Sets the button as toggled/not toggled.
Parameters: | flag (bool) – True to set the button as toggled, False otherwise. |
---|