wxActivateEvent(3erl)
β¨ NAME β¨
wxActivateEvent β functions for the wxActivateEvent class, bestie. This is the wxActivateEvent(3erl) page from the Erlang Module Definition manual, and itβs literally here to explain activation-event vibes π
.
πΈ DESCRIPTION πΈ
Okay so an activate event is sent when a window or application is being activated or deactivated. Thatβs the main character energy of this whole page β¨.
Vibe-check note, bestie: Until wxWidgets3.1.0, activation events could be sent bywxMSWwhen the window was minimized. This reflected the native MSW behaviour but was often surprising and unexpected, so starting from3.1.0such events are not sent any more when the window is in the minimized state. Not me warning you about minimized-window surprises π.
- See:
Overview events,wxApp::IsActive(not implemented in wx) - This class is derived (and can use functions) from:
wxEvent - wxWidgets docs:
wxActivateEvent
π¦ EVENTS π¦
Use wxEvtHandler:connect/3 with wxActivateEventType to subscribe to events of this type. Thatβs the subscription slay, periodt π.
π DATA TYPES π
The data types are giving structured cuteness, ngl:
wxActivateEvent() = wx:wx_object()
wxActivate() =
#wxActivate{type = wxActivateEvent:wxActivateEventType(),
active = boolean()}
wxActivateEventType() = activate | activate_app | hibernate
π EXPORTS π
getActive(This) -> boolean()
Types:
This = wxActivateEvent()
Returns true if the application or window is being activated, false otherwise. Iconic, fr fr π.
Made with π by the wxWidgets team Β· wx 2.2.2.1 Β· wxActivateEvent(3erl) β periodt, bestie π«Ά
π¦ 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