This event class is used for the events generated by wx.ColourDialog.
^^
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.
Retrieve the colour the user has just selected. |
|
Set the colour to be sent with the event. |
wx.
ColourDialogEvent
(CommandEvent)¶Possible constructors:
ColourDialogEvent() -> None
ColourDialogEvent(evtType : EventType, dialog : ColourDialog, colour :
Colour) -> None
This event class is used for the events generated by ColourDialog.
__init__
(self, *args, **kw)¶__init__ (self)
None
__init__ (self, evtType : EventType, dialog : ColourDialog, colour : Colour)
The constructor is not normally used by the user code.
evtType (wx.EventType) –
dialog (wx.ColourDialog) –
colour (wx.Colour) –
None
SetColour
(self, colour : Colour)¶Set the colour to be sent with the event.
colour (wx.Colour) –
None