This control allows the user to select a colour. The generic implementation is a button which brings up a wxColourDialog when clicked. Native implementation may differ but this is usually a (small) widget which give access to the colour-chooser dialog. It is only available if wxUSE_COLOURPICKERCTRL is set to 1 (the default).
This class supports the following styles:
wxWidgets docs: wxColourPickerCtrl
Event types emitted from this class: command_colourpicker_changed
new() -> wxColourPickerCtrl()
new(Parent, Id) -> wxColourPickerCtrl()
new(Parent, Id, Options :: [Option]) -> wxColourPickerCtrl()
Initializes the object and calls create/4 with all the parameters.
create(This, Parent, Id) -> boolean()
create(This, Parent, Id, Options :: [Option]) -> boolean()
Creates a colour picker with the given arguments.
Return: true if the control was successfully created or false if creation failed.
getColour(This) -> wx:wx_colour4()
Returns the currently selected colour.
setColour(This, Colname) -> ok
setColour(This, Col) -> ok
Sets the currently selected colour.
See wxColour::Set() (not implemented in wx).
destroy(This :: wxColourPickerCtrl()) -> ok
Destroys the object.