wx.lib.buttons.__ThemedMixin¶
Uses the native renderer to draw the bezel, also handle mouse-overs.
Class Hierarchy¶
Known Subclasses¶
wx.lib.buttons.ThemedGenBitmapButton, wx.lib.buttons.ThemedGenBitmapTextButton, wx.lib.buttons.ThemedGenBitmapTextToggleButton, wx.lib.buttons.ThemedGenBitmapToggleButton, wx.lib.buttons.ThemedGenButton, wx.lib.buttons.ThemedGenToggleButton
Methods Summary¶
Initializes other events needed for themed buttons. |
|
Handles the |
Class API¶
- class __ThemedMixin(object)¶
Uses the native renderer to draw the bezel, also handle mouse-overs.
Methods¶
- DrawBezel(self, dc, x1, y1, x2, y2)¶
- InitOtherEvents(self)¶
Initializes other events needed for themed buttons.
- OnMouse(self, event)¶
Handles the
wx.EVT_ENTER_WINDOWandwx.EVT_LEAVE_WINDOWevents forGenButtonwhen used as a themed button.- Parameters:
event – a
wx.MouseEventevent to be processed.