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:

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.