phoenix_title wx.lib.buttons.__ThemedMixin

Uses the native renderer to draw the bezel, also handle mouse-overs.


class_hierarchy Class Hierarchy

Inheritance diagram for class __ThemedMixin:

sub_classes 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


method_summary Methods Summary

DrawBezel

InitOtherEvents

Initializes other events needed for themed buttons.

OnMouse

Handles the wx.EVT_ENTER_WINDOW and wx.EVT_LEAVE_WINDOW events for


api 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 and wx.EVT_LEAVE_WINDOW events for GenButton when used as a themed button.

Parameters:

event – a wx.MouseEvent event to be processed.