1 \section{\class{wxNavigationKeyEvent
}}\label{wxnavigationkeyevent
}
3 This event class contains information about navigation events,
4 generated by navigation keys such as tab and page down.
6 This event is mainly used by wxWidgets implementations. A
7 wxNavigationKeyEvent handler is automatically provided by wxWidgets
8 when you make a class into a control container with the macro WX
\_DECLARE\_CONTROL\_CONTAINER.
10 \wxheading{Derived from
}
12 \helpref{wxEvent
}{wxevent
}\\
13 \helpref{wxObject
}{wxobject
}
15 \wxheading{Include files
}
21 \helpref{wxCore
}{librarieslist
}
23 \wxheading{Event table macros
}
25 To process a navigation command event, use these event handler macros to direct input to member
26 functions that take a wxNavigationKeyEvent argument.
29 \begin{twocollist
}\itemsep=
0pt
30 \twocolitem{{\bf EVT
\_NAVIGATION\_KEY(func)
}}{Process a navigation key event.
}
33 \latexignore{\rtfignore{\wxheading{Types
}}}
47 \helpref{wxWindow::Navigate
}{wxwindownavigate
}\\
48 \helpref{wxWindow::NavigateIn
}{wxwindownavigatein
}
51 \latexignore{\rtfignore{\wxheading{Members
}}}
53 \membersection{wxNavigationKeyEvent::wxNavigationKeyEvent
}\label{wxnavigationkeyeventctor
}
55 \func{}{wxNavigationKeyEvent
}{\void}
57 \func{}{wxNavigationKeyEvent
}{\param{const wxNavigationKeyEvent\&
}{ event
}}
61 \membersection{wxNavigationKeyEvent::GetCurrentFocus
}\label{wxnavigationkeyeventgetcurrentfocus
}
63 \constfunc{wxWindow*
}{GetCurrentFocus
}{\void}
65 Returns the child that has the focus, or NULL.
67 \membersection{wxNavigationKeyEvent::GetDirection
}\label{wxnavigationkeyeventgetdirection
}
69 \constfunc{bool
}{GetDirection
}{\void}
71 Returns
\true if the navigation was in the forward direction.
73 \membersection{wxNavigationKeyEvent::IsWindowChange
}\label{wxnavigationkeyeventiswindowchange
}
75 \constfunc{bool
}{IsWindowChange
}{\void}
77 Returns
\true if the navigation event represents a window change (for example, from Ctrl-Page Down
80 \membersection{wxNavigationKeyEvent::IsFromTab
}\label{wxnavigationkeyeventisfromtab
}
82 \constfunc{bool
}{IsFromTab
}{\void}
84 Returns
\true if the navigation event was from a tab key. This is required for proper navigation over radio buttons.
86 \membersection{wxNavigationKeyEvent::SetCurrentFocus
}\label{wxnavigationkeyeventsetcurrentfocus
}
88 \func{void
}{SetCurrentFocus
}{\param{wxWindow*
}{currentFocus
}}
90 Sets the current focus window member.
92 \membersection{wxNavigationKeyEvent::SetDirection
}\label{wxnavigationkeyeventsetdirection
}
94 \func{void
}{SetDirection
}{\param{bool
}{direction
}}
96 Sets the direction to forward if
{\it direction
} is
\true, or backward if
\false.
98 \membersection{wxNavigationKeyEvent::SetFlags
}\label{wxnavigationkeyeventsetflags
}
100 \func{void
}{SetFlags
}{\param{long
}{flags
}}
104 \membersection{wxNavigationKeyEvent::SetFromTab
}\label{wxnavigationkeyeventsetfromtab
}
106 \func{void
}{SetFromTab
}{\param{bool
}{fromTab
}}
108 Marks the navigation event as from a tab key.
110 \membersection{wxNavigationKeyEvent::SetWindowChange
}\label{wxnavigationkeyeventsetwindowchange
}
112 \func{void
}{SetWindowChange
}{\param{bool
}{windowChange
}}
114 Marks the event as a window change event.