Phoenix Logo

phoenix_title wx.ColourPickerEvent

This event class is used for the events generated by wx.ColourPickerCtrl.

events Events Emitted by this Class

Handlers bound for the following event types will receive a wx.ColourPickerEvent parameter.

  • EVT_COLOURPICKER_CHANGED: Generated whenever the selected colour changes.

class_hierarchy Class Hierarchy

Inheritance diagram for class ColourPickerEvent:


method_summary Methods Summary

__init__  
GetColour Retrieve the colour the user has just selected.
SetColour Set the colour associated with the event.

property_summary Properties Summary

Colour See GetColour and SetColour

api Class API



class wx.ColourPickerEvent(CommandEvent)

Possible constructors:

ColourPickerEvent()

ColourPickerEvent(generator, id, colour)

This event class is used for the events generated by ColourPickerCtrl.


Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, generator, id, colour)

The constructor is not normally used by the user code.

Parameters:





GetColour(self)

Retrieve the colour the user has just selected.

Return type: wx.Colour


SetColour(self, pos)

Set the colour associated with the event.

Parameters:pos (wx.Colour) –

Properties



Colour

See GetColour and SetColour