X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..7e1897c067ddb8218e05e0751cfe3e0521a5bfba:/docs/latex/wx/tcommdlg.tex diff --git a/docs/latex/wx/tcommdlg.tex b/docs/latex/wx/tcommdlg.tex index 452d851d25..0e83a9f4b6 100644 --- a/docs/latex/wx/tcommdlg.tex +++ b/docs/latex/wx/tcommdlg.tex @@ -3,15 +3,16 @@ Classes: \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxFontDialog}{wxfontdialog}, \rtfsp\helpref{wxPrintDialog}{wxprintdialog}, \helpref{wxFileDialog}{wxfiledialog},\rtfsp \helpref{wxDirDialog}{wxdirdialog}, \helpref{wxTextEntryDialog}{wxtextentrydialog},\rtfsp +\helpref{wxPasswordEntryDialog}{wxpasswordentrydialog},\rtfsp \helpref{wxMessageDialog}{wxmessagedialog}, \helpref{wxSingleChoiceDialog}{wxsinglechoicedialog},\rtfsp -\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog} +\helpref{wxMultiChoiceDialog}{wxmultichoicedialog} Common dialog classes and functions encapsulate commonly-needed dialog box requirements. They are all `modal', grabbing the flow of control until the user dismisses the dialog, to make them easy to use within an application. Some dialogs have both platform-dependent and platform-independent implementations, -so that if underlying windowing systems that do not provide the required functionality, +so that if underlying windowing systems do not provide the required functionality, the generic classes and functions can stand in. For example, under MS Windows, wxColourDialog uses the standard colour selector. There is also an equivalent called wxGenericColourDialog for other platforms, and a macro defines wxColourDialog to be the same as wxGenericColourDialog @@ -92,11 +93,10 @@ Under Windows, the native font selector common dialog is used. This presents a dialog box with controls for font name, point size, style, weight, underlining, strikeout and text foreground colour. A sample of the font is shown on a white area of the dialog box. Note that -in the translation from full MS Windows fonts to wxWindows font +in the translation from full MS Windows fonts to wxWidgets font conventions, strikeout is ignored and a font family (such as Swiss or Modern) is deduced from the actual font name (such as Arial -or Courier). The full range of Windows fonts cannot be used in wxWindows -at present. +or Courier). {\bf The generic font selector} @@ -106,11 +106,6 @@ underlining and text foreground colour are provided, and a sample is shown upon a white background. The generic font selector is also available under MS Windows; use the name wxGenericFontDialog. -In both cases, the application is responsible for deleting the -new font returned from calling wxFontDialog::Show (if any). -This returned font is guaranteed to be a new object and not -one currently in use in the application. - {\bf Example} In the samples/dialogs directory, there is an example of using @@ -147,14 +142,15 @@ an excerpt from this example. Classes: \helpref{wxFileDialog}{wxfiledialog} -Pops up a file selector box. In Windows, this is the common file selector -dialog. In X, this is a file selector box with somewhat less functionality. -The path and filename are distinct elements of a full file pathname. +Pops up a file selector box. In Windows and GTK2.4+, this is the common +file selector dialog. In X, this is a file selector box with somewhat less +functionality. The path and filename are distinct elements of a full file pathname. If path is ``", the current directory will be used. If filename is ``", no default filename will be supplied. The wildcard determines what files are displayed in the file selector, and file extension supplies a type extension for the required filename. Flags may be a combination of wxOPEN, -wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, wxFILE\_MUST\_EXIST or 0. +wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, wxFILE\_MUST\_EXIST, +wxMULTIPLE, wxCHANGE\_DIR or 0. Both the X and Windows versions implement a wildcard filter. Typing a filename containing wildcards (*, ?) in the filename text item, and @@ -184,6 +180,13 @@ Classes: \helpref{wxTextEntryDialog}{wxtextentrydialog} This is a dialog with a text entry field. The value that the user entered is obtained using \helpref{wxTextEntryDialog::GetValue}{wxtextentrydialoggetvalue}. +\subsection{wxPasswordEntryDialog overview}\label{wxpasswordentrydialogoverview} + +Classes: \helpref{wxPasswordEntryDialog}{wxpasswordentrydialog} + +This is a dialog with a password entry field. The value that the user +entered is obtained using \helpref{wxTextEntryDialog::GetValue}{wxtextentrydialoggetvalue}. + \subsection{wxMessageDialog overview}\label{wxmessagedialogoverview} Classes: \helpref{wxMessageDialog}{wxmessagedialog} @@ -202,11 +205,10 @@ This dialog shows a list of choices, plus OK and (optionally) Cancel. The user c select one of them. The selection can be obtained from the dialog as an index, a string or client data. -\subsection{wxMultipleChoiceDialog overview}\label{wxmultiplechoicedialogoverview} +\subsection{wxMultiChoiceDialog overview}\label{wxmultichoicedialogoverview} -Classes: \helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog} +Classes: \helpref{wxMultiChoiceDialog}{wxmultichoicedialog} This dialog shows a list of choices, plus OK and (optionally) Cancel. The user can select one or more of them. -