******************** wx.ColourPickerEvent ******************** Inheritance diagram for `wx.ColourPickerEvent`: | .. inheritance-diagram:: wx.ColourPickerEvent | Description =========== This event class is used for the events generated by `wx.ColourPickerCtrl <../Widgets/wx.ColourPickerCtrl.html>`_ . .. seealso:: `wx.ColourPickerCtrl <../Widgets/wx.ColourPickerCtrl.html>`_ Derived From ^^^^^^^^^^^^^ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Event Handling ^^^^^^^^^^^^^^ ================================================== ================================================== Event Name Description ================================================== ================================================== wx.EVT_COLOURPICKER_CHANGED(id, func) Generated whenever the selected colour changes. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetColour <#GetColour>`_ * `SetColour <#SetColour>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Colour <#Colour>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(generator, id, col) The constructor is normally not used by the user code. **Parameters:** * `generator` (`wx.Object <../Widgets/wx.Object.html>`_) * `id` (int) * `col` (`wx.Colour <../Widgets/wx.Colour.html>`_) | **Returns:** `wx.ColourPickerEvent `_ -------- .. method:: GetColour() Retrieve the colour the user has just selected. | **Returns:** `wx.Colour <../Widgets/wx.Colour.html>`_ -------- .. method:: SetColour(pos) Set the colour associated with the event. **Parameters:** * `pos` (`wx.Colour <../Widgets/wx.Colour.html>`_) -------- Properties ^^^^^^^^^^ .. attribute:: Colour See `GetColour <#GetColour>`_ and `SetColour <#SetColour>`_