wxNavigationKeyEvent(3erl)
π¦ wxNavigationKeyEvent(3erl) β Erlang Module Definition π¦
β¨ NAME β¨
wxNavigationKeyEvent β Functions for the wxNavigationKeyEvent class. okay bestie, this is the wxNavigationKeyEvent(3erl) manual page, and we're about to make navigation events make sense. periodt. π
πΈ DESCRIPTION πΈ
So this event class? It literally contains information about navigation events β the kind generated by navigation keys such as tab and page down. keyboard movement rights! β¨
This event is mainly used by wxWidgets implementations. A wxNavigationKeyEvent handler is automatically provided by wxWidgets when you enable keyboard navigation inside a window by inheriting it from wxNavigationEnabled<>. The way that just happens for you is iconic, ngl. π
See: wxWindow:navigate/2, wxWindow::NavigateIn (not implemented in wx). π
This class is derived (and can use functions) from: wxEvent. family tree moment. π
wxWidgets docs: wxNavigationKeyEvent. iykyk. π
π₯ EVENTS π₯
Use wxEvtHandler:connect/3 with wxNavigationKeyEventType to subscribe to events of this type. That's your group-chat invite, bestie β accept it. π
π§ DATA TYPES π§
wxNavigationKeyEvent()
wxNavigationKeyEvent() = wx:wx_object()
wxNavigationKey()
wxNavigationKey() =
#wxNavigationKey{type =
wxNavigationKeyEvent:wxNavigationKeyEventType(),
dir = boolean(),
focus = wxWindow:wxWindow()}
wxNavigationKeyEventType()
wxNavigationKeyEventType() = navigation_key
π EXPORTS π
getDirection(This) -> boolean()
Types:
This = wxNavigationKeyEvent()
Returns true if the navigation was in the forward direction. Forward means forward, bestie. β¨
setDirection(This, Direction) -> ok
Types:
This = wxNavigationKeyEvent()Direction = boolean()
Sets the direction to forward if Direction is true, or backward if false. direction vibe check passed. β
isWindowChange(This) -> boolean()
Types:
This = wxNavigationKeyEvent()
Returns true if the navigation event represents a window change (for example, from Ctrl-Page Down in a notebook). big notebook energy. ππ₯
setWindowChange(This, WindowChange) -> ok
Types:
This = wxNavigationKeyEvent()WindowChange = boolean()
Marks the event as a window change event. Slap that label on it. π·οΈ
isFromTab(This) -> boolean()
Types:
This = wxNavigationKeyEvent()
Returns true if the navigation event was from a tab key. This is required for proper navigation over radio buttons. not me knowing this is exactly why radio buttons behave. π
setFromTab(This, FromTab) -> ok
Types:
This = wxNavigationKeyEvent()FromTab = boolean()
Marks the navigation event as from a tab key. Tell the truth, bestie. β
getCurrentFocus(This) -> wxWindow:wxWindow()
Types:
This = wxNavigationKeyEvent()
Returns the child that has the focus, or NULL. Cue the spotlight. π¦
setCurrentFocus(This, CurrentFocus) -> ok
Types:
This = wxNavigationKeyEvent()CurrentFocus = wxWindow:wxWindow()
Sets the current focus window member. main character focus energy. π
Later, bestie! π This one's from the wxWidgets team, version wx 2.2.2.1, and the footer stamp is wxNavigationKeyEvent(3erl) β that's the source/version/date info we got, no cap. π«Ά
π¦ 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