phoenix_title wx.ColourDialogEvent

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

^^

events Events Emitted by this Class

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

  • EVT_COLOUR_CHANGED: Generated whenever the currently selected colour in the dialog changes. This event is currently only implemented in wxMSW. ^^

New in version 4.1/wxWidgets-3.1.3.

class_hierarchy Class Hierarchy

Inheritance diagram for class ColourDialogEvent:

method_summary Methods Summary

__init__

GetColour

Retrieve the colour the user has just selected.

SetColour

Set the colour to be sent with the event.


property_summary Properties Summary

Colour

See GetColour and SetColour


api Class API

class wx.ColourDialogEvent(CommandEvent)

Possible constructors:

ColourDialogEvent()

ColourDialogEvent(evtType, dialog, colour)

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


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, evtType, dialog, 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, colour)

Set the colour to be sent with the event.

Parameters:

colour (wx.Colour) –


Properties

Colour

See GetColour and SetColour