X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d63f7562cf9ccad9c430d4c2e2a8bd416a016d89..c36cdfc084f779b67668af8cad3eb6906182af21:/docs/latex/wx/tsamples.tex diff --git a/docs/latex/wx/tsamples.tex b/docs/latex/wx/tsamples.tex index a1977b55cf..002e375756 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 @@ -129,13 +118,6 @@ The various controls tested are listed here: \end{twocollist} -\subsection{Database sample}\label{sampledb} - -The database sample is a small test program showing how to use the ODBC -classes written by Remstar Intl. Obviously, this sample requires a -database with ODBC support to be correctly installed on your system. - - \subsection{DebugRpt sample}\label{sampledebugrpt} This sample shows how to use \helpref{wxDebugReport}{wxdebugreport} class to @@ -210,19 +192,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 +200,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 +290,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 +360,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} @@ -488,8 +449,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}