wx.ColourDialogEvent¶
This event class is used for the events generated by wx.ColourDialog.
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.
Added in version 4.1/wxWidgets-3.1.3.
See also
Class Hierarchy¶
Methods Summary¶
Retrieve the colour the user has just selected. |
|
Set the colour to be sent with the event. |
Properties Summary¶
Class API¶
- class wx.ColourDialogEvent(CommandEvent)¶
Possible constructors:
ColourDialogEvent() -> None ColourDialogEvent(evtType, dialog, colour) -> None
This event class is used for the events generated by ColourDialog.
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self)
- Return type:
None
__init__ (self, evtType, dialog, colour)
The constructor is not normally used by the user code.
- Parameters:
evtType (wx.EventType)
dialog (wx.ColourDialog)
colour (wx.Colour)
- Return type:
None
- SetColour(self, colour)¶
Set the colour to be sent with the event.
- Parameters:
colour (wx.Colour)
- Return type:
None
Properties¶