wx.ColourPickerEvent
Inheritance diagram for wx.ColourPickerEvent:
Description
This event class is used for the events generated by wx.ColourPickerCtrl .
Event Handling
Event Name |
Description |
wx.EVT_COLOURPICKER_CHANGED(id, func) |
Generated whenever the selected colour changes. |
Class API
Methods
-
__init__(generator, id, col)
The constructor is normally not used by the user code.
Parameters:
Returns:
wx.ColourPickerEvent
-
GetColour()
Retrieve the colour the user has just selected.
Returns:
wx.Colour
-
SetColour(pos)
Set the colour associated with the event.
Parameters: