X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df1b5a2a9f5b7c88eff552bbe926ea2e26dc063d..39434ba375389eab72ad84184d6d54a92c2b3551:/docs/latex/wx/tsamples.tex?ds=sidebyside diff --git a/docs/latex/wx/tsamples.tex b/docs/latex/wx/tsamples.tex index 08ef75068d..d85d0c16fd 100644 --- a/docs/latex/wx/tsamples.tex +++ b/docs/latex/wx/tsamples.tex @@ -26,9 +26,9 @@ this list is not complete. You should start your tour of wxWidgets with the "Hello, world!". It shows the basic structure of wxWidgets program and is the most commented sample of all - looking at its source code is recommended. -The next most useful sample is probably the \helpref{controls}{samplecontrols} -one which shows many of wxWidgets standard controls, such as buttons, -listboxes, checkboxes, comboboxes etc. +The next most useful samples are probably \helpref{widgets}{samplewidgets} +and \helpref{controls}{samplecontrols} which show many of wxWidgets native and +generic controls, such as buttons, listboxes, checkboxes, comboboxes etc. Other, more complicated controls, have their own samples. In this category you may find the following samples showing the corresponding controls: @@ -53,6 +53,13 @@ needed to write a program that will display a "hello" dialog. This is usually a good starting point for learning how to use wxWidgets. +\subsection{Animate sample}\label{sampleanimate} + +The {\tt animate} sample shows how you can use \helpref{wxAnimationCtrl}{wxanimationctrl} +control and shows concept of a platform-dependent animation encapsulated +in \helpref{wxAnimation}{wxanimation}. + + \subsection{Art provider sample}\label{sampleartprovider} The {\tt artprov} sample shows how you can customize the look of standard @@ -136,11 +143,11 @@ generate a debug report in case of a program crash or otherwise. On start up, it proposes to either crash itself (by dereferencing a NULL pointer) or generate debug report without doing it. Next it initializes the debug report with standard information adding a custom file to it (just a timestamp) and -allows to view the information gathered using +allows to view the information gathered using \helpref{wxDebugReportPreview}{wxdebugreportpreview}. For the report processing part of the sample to work you should make available -a Web server accepting form uploads, otherwise +a Web server accepting form uploads, otherwise \helpref{wxDebugReportUpload}{wxdebugreportupload} will report an error. @@ -369,9 +376,9 @@ It replaces the old dynamic sample. This samples shows \helpref{wxBookCtrl}{wxbookctrloverview} family of controls. Although initially it was written to demonstrate \helpref{wxNotebook}{wxnotebook} -only, it can now be also used to see \helpref{wxListbook}{wxlistbook} and -\helpref{wxChoicebook}{wxchoicebook} in action. Test each of the controls, their -orientation, images and pages using commands through menu. +only, it can now be also used to see \helpref{wxListbook}{wxlistbook}, +\helpref{wxChoicebook}{wxchoicebook} and \helpref{wxTreebook}{wxtreebook} in action. +Test each of the controls, their orientation, images and pages using commands through menu. @@ -475,6 +482,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 @@ -559,6 +578,15 @@ sorting (in default alphabetical order as well as in custom one) is demonstrated here as well - try the corresponding menu entries. +\subsection{Widgets sample}\label{samplewidgets} + +The widgets sample is the main presentation program for most simple and advanced +native controls and complex generic widgets provided by wxWidgets. +The sample tests their basic functionality, events, placement, modification +in terms of colour and font as well as the possibility to change +the controls programmatically, such as adding an item to a list box etc. +All widgets are categorized for easy browsing. + \subsection{Wizard sample}\label{samplewizard} This sample shows the so-called wizard dialog (implemented using