X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fabe121c9ca2783ccba4e07d8e903c5a80b703a9..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/tsamples.tex diff --git a/docs/latex/wx/tsamples.tex b/docs/latex/wx/tsamples.tex index dd201e9b3c..5068d20e1c 100644 --- a/docs/latex/wx/tsamples.tex +++ b/docs/latex/wx/tsamples.tex @@ -75,17 +75,6 @@ shows how to configure the control (see the different options in the calendar menu) and also how to process the notifications from it. -\subsection{Checklist sample}\label{samplechecklist} - -This sample demonstrates use of the \helpref{wxCheckListBox}{wxchecklistbox} -class intercepting check, select and double click events. It also tests -use of various methods modifying the control, such as by deleting items -from it or inserting new ones (these functions are actually implemented in -the parent class \helpref{wxListBox}{wxlistbox} so the sample tests that class -as well). The layout of the dialog is created using a \helpref{wxBoxSizer}{wxboxsizer} -demonstrating a simple dynamic layout. - - \subsection{Config sample}\label{sampleconfig} This sample demonstrates the \helpref{wxConfig}{wxconfigbase} classes in a platform @@ -210,19 +199,6 @@ Take a look at DnDShapeDataObject class to see how you may use \helpref{wxDataObject}{wxdataobject} to achieve this. -\subsection{Dynamic sample}\label{sampledynamic} - -This sample is a very small sample that demonstrates use of the -\helpref{wxEvtHandler::Connect}{wxevthandlerconnect} method. This method -should be used whenever it is not known at compile time which control -will receive which event or which controls are actually going to be in -a dialog or frame. This is most typically the case for any scripting -language that would work as a wrapper for wxWidgets or programs where -forms or similar datagrams can be created by the users. - -See also the \helpref{event sample}{sampleevent} - - \subsection{Event sample}\label{sampleevent} The event sample demonstrates various features of the wxWidgets events. It @@ -231,8 +207,6 @@ during run time and also using \helpref{PushEventHandler()}{wxwindowpusheventhandler} and \helpref{PopEventHandler()}{wxwindowpopeventhandler}. -It replaces the old dynamic sample. - \subsection{Except(ions) sample}\label{sampleexcept} @@ -323,6 +297,9 @@ specifying the foreground and background colours with bitmap is then converted to a wxImage and the foreground colour (black) is replaced with red using \helpref{wxImage::Replace}{wximagereplace}. +This sample also contains the code for testing the image rotation and resizing +and using raw bitmap access, see the corresponding menu commands. + \subsection{Internat(ionalization) sample}\label{sampleinternat} @@ -390,15 +367,6 @@ This sample shows how to replace the default wxWidgets -\subsection{Rotate sample}\label{samplerotate} - -This is a simple example which demonstrates how to rotate an image with -the \helpref{wxImage::Rotate}{wximagerotate} method. The rotation can -be done without interpolation (left mouse button) which will be faster, -or with interpolation (right mouse button) which is slower but gives -better results. - - \subsection{Scroll subwindow sample}\label{samplescrollsub} This sample demonstrates use of the \helpref{wxScrolledWindow}{wxscrolledwindow} @@ -482,6 +450,18 @@ of fields) and how to use it to show icons/bitmaps and/or put arbitrary controls into it. +\subsection{Tab order sample}\label{sampletaborder} + +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 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} This sample demonstrates four features: firstly the use and many variants of @@ -598,3 +578,4 @@ but sometimes it depends on the user choices: wxCheckboxPage shows how to dynamically decide which page to display next (see also \helpref{wxWizardPage}{wxwizardpage}) \end{itemize} +