
wx.lib.agw.cubecolourdialog.AlphaCtrl¶Implements the drawing, mouse handling and sizing routines for the alpha channel control.
Class Hierarchy¶
Inheritance diagram for class AlphaCtrl:

Known Superclasses¶wx.lib.agw.cubecolourdialog.BaseLineCtrl
Methods Summary¶Default class constructor. |
|
Draws the alpha shading on top of the checkerboard. |
|
Draws square markers used with mouse gestures. |
|
Handles the |
|
Tracks a mouse action inside the Alpha channel control. |
Class API¶AlphaCtrl(BaseLineCtrl)¶Implements the drawing, mouse handling and sizing routines for the alpha channel control.
__init__(self, parent)¶Default class constructor. Used internally. Do not call it in your code!
parent – the control parent window.
DrawAlphaShading(self, dc, rect)¶Draws the alpha shading on top of the checkerboard.
DrawMarkers(self, dc=None)¶Draws square markers used with mouse gestures.
dc – an instance of wx.DC.
OnPaint(self, event)¶Handles the wx.EVT_PAINT for AlphaCtrl.
event – a PaintEvent event to be processed.