wxSpinEvent(3)
π wxSpinEvent π
okay bestie, welcome to wxSpinEvent β the Erlang module definition, no cap β¨ (that's the manual name, iykyk, we're just vibing here)
πΈ NAME πΈ
wxSpinEvent β this event class is used for the events generated by wxSpinButton and wxSpinCtrl.
β¨ DESCRIPTION β¨
so this is the event class that wxSpinButton and wxSpinCtrl spin up (pun fully intended, I'm hilarious) whenever they do their little spinny thing π
See also, bestie:
wxSpinButtonwxSpinCtrl
This class is derived, and can use functions, from:
wxNotifyEventwxCommandEventwxEvent
wxWidgets docs: wxSpinEvent π«Ά
π Events
Use wxEvtHandler:connect/3 with wxSpinEventType to subscribe to events of this type. That's the whole move, periodt.
π¦ DATA TYPES π¦
wxSpin()::#wxSpin{}.wxSpinEvent()::wx:wx_object().wxSpinEventType()::command_spinctrl_updated | spin_up | spin_down | spin.
π FUNCTIONS π
getPosition(This) -> integer() when This :: wxSpinEvent().
Retrieve the current spin button or control value. it's literally giving you the number, bestie π
setPosition(This, Pos) -> ok when This :: wxSpinEvent(), Pos :: integer().
Set the value associated with the event. you're the one in control now, main character energy fr fr π
and that's the whole page, babe π this one's from Ericsson AB, version wx 2.6, and uhh it's the wxSpinEvent(3) era π thanks for reading, slay, bye bestie β¨π¦πΈ
π¦ where this page comes from
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms