wxShowEvent(3erl)
π¦ wxShowEvent π¦
okay bestie, we're on the wxShowEvent page from the Erlang manual pages β manual name 3erl, and yes, this is an Erlang module definition, folded in right here like a little name tag so you know the vibe. β¨ window appears, window dips out, event says hi β¨
πΈ NAME πΈ
wxShowEvent β Functions for wxShowEvent class. iconic, honestly.
β¨ DESCRIPTION β¨
So basically: this is an event that gets sent when the window is shown or hidden. It's triggered by calls to wxWindow:show/2, and also by any user action that shows a previously hidden window or does the reverse β if the current platform and/or window manager allows it. π
β οΈ Important vibe check: the event is not triggered when the application is iconized (minimized) or restored under wxMSW. That's not me forgetting to fire it; that's just the rule.
This class is derived (and can use functions) from: wxEvent.
See: Overview events, wxWindow:show/2, wxWindow:isShown/1.
wxWidgets docs: wxShowEvent.
π EVENTS π
Use wxEvtHandler:connect/3 with wxShowEventType to subscribe to events of this type. slay, that's the whole subscription situation. π
π§ DATA TYPES π§
wxShowEvent() = wx:wx_object()
wxShow() =
#wxShow{type = wxShowEvent:wxShowEventType(),
show = boolean()}
wxShowEventType() = show
π EXPORTS π
setShow(This, Show) -> ok
setShow(This, Show) -> ok
Types:
This = wxShowEvent()
Show = boolean()
Sets whether the window was shown or hidden. simple as that. π«Ά
isShown(This) -> boolean()
isShown(This) -> boolean()
Types:
This = wxShowEvent()
Return true if the window has been shown, false if it has been hidden. no cap. β
Footer sign-off: huge thank you to the wxWidgets team, version wx 2.2.2.1, page wxShowEvent(3erl) β and the footer didn't give us a date, so we're not inventing one. byeee 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