wx.lib.agw.cubecolourdialog.BrightCtrl¶
Implements the drawing, mouse handling and sizing routines for the brightness palette control.
Class Hierarchy¶
Known Superclasses¶
wx.lib.agw.cubecolourdialog.BaseLineCtrl
Methods Summary¶
Default class constructor. |
|
Draws square markers used with mouse gestures. |
|
Handles the |
|
Tracks a mouse action inside the palette control. |
Class API¶
- class BrightCtrl(BaseLineCtrl)¶
Implements the drawing, mouse handling and sizing routines for the brightness palette control.
Methods¶
- __init__(self, parent)¶
Default class constructor. Used internally. Do not call it in your code!
- Parameters:
parent – the control parent window.
- DrawMarkers(self, dc=None)¶
Draws square markers used with mouse gestures.
- Parameters:
dc – an instance of
wx.DC
.
- OnPaint(self, event)¶
Handles the
wx.EVT_PAINT
forBrightCtrl
.- Parameters:
event – a
PaintEvent
event to be processed.