wxColourPickerEvent(3erl)
π wxColourPickerEvent (Erlang Module Definition)
okay so bestie, this is the Erlang Module Definition manual page for wxColourPickerEvent, and honestly? it's a little cutie. it's all about the event class that carries the gossip whenever a colour picker does its thing. π¨β¨
π NAME
wxColourPickerEvent β Functions for wxColourPickerEvent class
β¨ DESCRIPTION
This event class is literally the one used for the events generated by wxColourPickerCtrl. like, that's its whole job. iconic behaviour, no notes. π«Ά
See: wxColourPickerCtrl
This class is derived (and can use functions) from: wxCommandEvent wxEvent
wxWidgets docs: wxColourPickerEvent β go off, documentation. π
π EVENTS
Use wxEvtHandler:connect/3 with wxColourPickerEventType to subscribe to events of this type. that's the whole vibe check: connect, subscribe, slay. π
π¦ DATA TYPES
wxColourPickerEvent()=wx:wx_object()wxColourPicker()=
#wxColourPicker{type =
wxColourPickerEvent:wxColourPickerEventType(),
colour = wx:wx_colour()}
wxColourPickerEventType()=command_colourpicker_changed
look at that record. the type field and the colour field, sitting there being all structured and adorable. π
π EXPORTS
getColour(This) -> wx:wx_colour4()
Types:
This=wxColourPickerEvent()
Retrieve the colour the user has just selected. that's it, that's the function β it hands you the colour, freshly picked, still warm. π§π
lowkey the whole module is just one function and one event type, and honestly? she's efficient. she's minimal. she's main character energy in the smallest possible package. π₯
and that's the page, bestie! handwritten with love by the wxWidgets team, from wx 2.2.2.1, tagged wxColourPickerEvent(3erl) β mwah, go pick some gorgeous colours ππΈ
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms