wxChildFocusEvent(3erl)
wxChildFocusEvent π
okay so this is the wxChildFocusEvent(3erl) page β the Erlang module definition, and it's literally all about the child focus event class. no cap, it's giving βparent window has feelings about focusβ energy. π
β¨ NAME β¨
wxChildFocusEvent β functions for wxChildFocusEvent class. π
π DESCRIPTION π
A child focus event gets sent to a (parent-)window when one of its child windows gains focus, so that the window could restore the focus back to its corresponding child if it loses it now and regains later. slay focus-restoration arc. π
Notice that child window is the direct child of the window receiving the event β vibe check, bestie. Use wxWindow:findFocus/0 to retrieve the window which is actually getting focus. π«Ά
See: Overview events
This class is derived (and can use functions) from: wxCommandEvent and wxEvent. iykyk. β¨
wxWidgets docs: wxChildFocusEvent
π EVENTS π
Use wxEvtHandler:connect/3 with wxChildFocusEventType to subscribe to events of this type. periodt. π
π¦ DATA TYPES π¦
here's the type tea, bestie β literally the whole cast: π§
wxChildFocusEvent() = wx:wx_object()
wxChildFocus() =
#wxChildFocus{type =
wxChildFocusEvent:wxChildFocusEventType()}
wxChildFocusEventType() = child_focus
π EXPORTS π
getWindow
getWindow(This) -> wxWindow:wxWindow()
Types:
This = wxChildFocusEvent()
Returns the direct child which receives the focus, or a (grand-)parent of the control receiving the focus. main character energy, honestly. π
To get the actually focused control use wxWindow:findFocus/0. π«Ά
mwah π β footer tea: wxWidgets team + wx 2.2.2.1 + the wxChildFocusEvent(3erl) page tag. That's the source/version/page-tag situation from the footer, and there's no separate date line to spill. obsessed. π
π¦ 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