# `wxColourPickerEvent`
[🔗](https://github.com/erlang/otp/blob/OTP-29.0.3/lib/wx/src/gen/wxColourPickerEvent.erl#L58)

This event class is used for the events generated by `m:wxColourPickerCtrl`.

See: `m:wxColourPickerCtrl`

This class is derived, and can use functions, from:

* `m:wxCommandEvent`

* `m:wxEvent`

wxWidgets docs: [wxColourPickerEvent](https://docs.wxwidgets.org/3.2/classwx_colour_picker_event.html)

## Events

Use `wxEvtHandler:connect/3` with `wxColourPickerEventType` to subscribe to events of this type.

# `wxColourPicker`

```erlang
-type wxColourPicker() ::
          #wxColourPicker{type :: wxColourPickerEvent:wxColourPickerEventType(),
                          colour :: wx:wx_colour()}.
```

# `wxColourPickerEvent`

```erlang
-type wxColourPickerEvent() :: wx:wx_object().
```

# `wxColourPickerEventType`

```erlang
-type wxColourPickerEventType() :: command_colourpicker_changed.
```

# `getColour`

```erlang
-spec getColour(This) -> wx:wx_colour4() when This :: wxColourPickerEvent().
```

Retrieve the colour the user has just selected.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
