added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -488,8 +488,10 @@ This sample allows to test keyboard navigation (mostly done using the
|
||||
\texttt{\textsc{TAB}} key, hence the sample name) between different controls.
|
||||
It shows the use of
|
||||
\helpref{wxWindow::MoveBeforeInTabOrder()}{wxwindowmovebeforeintaborder} and
|
||||
\helpref{MoveAfterInTabOrder()}{wxwindowmoveafterintaborder} methods and of the
|
||||
wxNavigationKeyEvent.
|
||||
\helpref{MoveAfterInTabOrder()}{wxwindowmoveafterintaborder} methods to change
|
||||
the default order of the windows in the navigation chain and of
|
||||
\helpref{wxWindow::Navigate()}{wxwindownavigate} for moving focus along this
|
||||
chain.
|
||||
|
||||
|
||||
\subsection{Text sample}\label{sampletext}
|
||||
|
@@ -1771,13 +1771,19 @@ it.
|
||||
|
||||
\func{bool}{Navigate}{\param{int}{ flags = wxNavigationKeyEvent::IsForward}}
|
||||
|
||||
Does keyboard navigation from this window to another, by sending
|
||||
a wxNavigationKeyEvent.
|
||||
Performs a keyboard navigation action starting from this window. This method is
|
||||
equivalent to calling \helpref{NavigateIn()}{wxwindownavigatein} method on the
|
||||
parent window.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{flags}{A combination of wxNavigationKeyEvent::IsForward and wxNavigationKeyEvent::WinChange.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
Returns \true if the focus was moved to another window or \false if nothing
|
||||
changed.
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
You may wish to call this from a text control custom keypress handler to do the default
|
||||
@@ -1786,6 +1792,15 @@ a multiline text control with the wxTE\_PROCESS\_TAB style is to insert a tab
|
||||
and not navigate to the next control.
|
||||
|
||||
|
||||
\membersection{wxWindow::NavigateIn}\label{wxwindownavigatein}
|
||||
|
||||
\func{bool}{NavigateIn}{\param{int}{ flags = wxNavigationKeyEvent::IsForward}}
|
||||
|
||||
Performs a keyboard navigation action inside this window.
|
||||
|
||||
See \helpref{Navigate}{wxwindownavigate} for more information.
|
||||
|
||||
|
||||
\membersection{wxWindow::NextControlId}\label{wxwindownextcontrolid}
|
||||
|
||||
\func{static int}{NextControlId}{\param{int }{winid}}
|
||||
|
Reference in New Issue
Block a user