Table Of Contents

Previous topic

ColourPickerCtrl

Next topic

ComboBox

This Page

phoenix_title ColourPickerEvent

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

events Events Emitted by this Class

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

  • EVT_COLOURPICKER_CHANGED: Generated whenever the selected colour changes.

class_hierarchy Inheritance Diagram

Inheritance diagram for class ColourPickerEvent

Inheritance diagram of 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 ColourPickerEvent(CommandEvent)

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

Possible constructors:

ColourPickerEvent()

ColourPickerEvent(generator, id, colour)

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: Colour


SetColour(self, pos)

Set the colour associated with the event.

Parameters:pos (Colour) –

Properties



Colour

See GetColour and SetColour