---
name: "wxColourPickerEvent"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxColourPickerEvent"
---

# wxColourPickerEvent(3erl)

Functions for wxColourPickerEvent class

## NAME

wxColourPickerEvent - Functions for wxColourPickerEvent class

## DESCRIPTION

This event class is used for the events generated by *wxColourPickerCtrl*.

See: *wxColourPickerCtrl*

This class is derived (and can use functions) from: *wxCommandEvent* *wxEvent*

wxWidgets docs: wxColourPickerEvent

## EVENTS

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

## DATA TYPES

```
wxColourPickerEvent() = wx:wx_object()
```

```
wxColourPicker() =
    #wxColourPicker{type =
                        wxColourPickerEvent:wxColourPickerEventType(),
                    colour = wx:wx_colour()}
```

```
wxColourPickerEventType() = command_colourpicker_changed
```

## EXPORTS

```
getColour(This) -> wx:wx_colour4()
```

Types:

This = wxColourPickerEvent()\

Retrieve the colour the user has just selected.
