This event class is used for the events generated by wx.ColourPickerCtrl.
^^
Handlers bound for the following event types will receive a wx.ColourPickerEvent parameter.
EVT_COLOURPICKER_CHANGED: Generated whenever the selected colour changes.
EVT_COLOURPICKER_CURRENT_CHANGED: Generated whenever the currently selected colour in the dialog shown by the picker changes. This event is new since wxWidgets 3.1.3 and currently is only implemented in wxMSW.
EVT_COLOURPICKER_DIALOG_CANCELLED: Generated when the user cancels the colour dialog associated with the control, i.e. closes it without accepting the selection. This event is new since wxWidgets 3.1.3 and currently is only implemented in wxMSW. ^^
Retrieve the colour the user has just selected. |
|
Set the colour associated with the event. |
wx.
ColourPickerEvent
(CommandEvent)¶Possible constructors:
ColourPickerEvent()
ColourPickerEvent(generator, id, colour)
This event class is used for the events generated by ColourPickerCtrl.
__init__
(self, *args, **kw)¶__init__ (self)
__init__ (self, generator, id, colour)
The constructor is not normally used by the user code.