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_WINDOW
andwx.EVT_LEAVE_WINDOW
events forGenButton
when used as a themed button.- Parameters:
event – a
wx.MouseEvent
event to be processed.