X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5e0b4bc7c729ff41e66fb7894fb1387f860bdb2..ee0a94cfc2f71e8b770eedda5197a1f4bd62b5cb:/docs/latex/wx/tsamples.tex?ds=sidebyside diff --git a/docs/latex/wx/tsamples.tex b/docs/latex/wx/tsamples.tex index 655441bbb7..c9fe964a92 100644 --- a/docs/latex/wx/tsamples.tex +++ b/docs/latex/wx/tsamples.tex @@ -6,7 +6,7 @@ %% Created: 02.11.99 %% RCS-ID: $Id$ %% Copyright: (c) wxWidgets team -%% License: wxWidgets license +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % NB: please keep the subsections in alphabetic order! @@ -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: @@ -129,6 +129,21 @@ 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 +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 +\helpref{wxDebugReportPreview}{wxdebugreportpreview}. + +For the report processing part of the sample to work you should make available +a Web server accepting form uploads, otherwise +\helpref{wxDebugReportUpload}{wxdebugreportupload} will report an error. + + \subsection{Dialogs sample}\label{sampledialogs} This sample shows how to use the common dialogs available from wxWidgets. These @@ -341,15 +356,22 @@ The sample also provides some timings for adding/deleting/sorting a lot of (several thousands) items into the control. +\subsection{Mediaplayer sample}\label{samplemediaplayer} + +This sample demonstrates how to use all the features of +\helpref{wxMediaCtrl}{wxmediactrl} and play various types of sound, video, +and other files. + + +It replaces the old dynamic sample. \subsection{Notebook sample}\label{samplenotebook} -This samples shows two controls at once: 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. To switch between the two controls you need to manually change -\texttt{TEST\_LISTBOOK} definition in the file \texttt{notebook.h} and rebuild -the 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}, +\helpref{wxChoicebook}{wxchoicebook} and \helpref{wxTreebook}{wxtreebook} in action. +Test each of the controls, their orientation, images and pages using commands through menu. @@ -537,6 +559,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 @@ -560,4 +591,3 @@ 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} -