X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/dirdlg.tex diff --git a/docs/latex/wx/dirdlg.tex b/docs/latex/wx/dirdlg.tex index 5a012a99f4..5ac906af22 100644 --- a/docs/latex/wx/dirdlg.tex +++ b/docs/latex/wx/dirdlg.tex @@ -9,18 +9,40 @@ This class represents the directory chooser dialog. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + + +\wxheading{Window styles} + +\twocolwidtha{5cm} +\begin{twocollist} +\twocolitem{\windowstyle{wxDD\_DEFAULT\_STYLE}}{Equivalent to a combination of wxDEFAULT\_DIALOG\_STYLE, wxDD\_NEW\_DIR\_BUTTON and wxRESIZE\_BORDER (the last one is not used under wxWinCE).} +\twocolitem{\windowstyle{wxDD\_NEW\_DIR\_BUTTON}}{Add "Create new +directory" button and allow directory names to be editable. On +Windows the new directory button is only available with recent +versions of the common dialogs.} +\end{twocollist} + +See also \helpref{Generic window styles}{windowstyles}. + \wxheading{See also} \helpref{wxDirDialog overview}{wxdirdialogoverview}, \helpref{wxFileDialog}{wxfiledialog} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogconstr} +\membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogctor} \func{}{wxDirDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message = "Choose a directory"},\rtfsp -\param{const wxString\& }{defaultPath = ""}, \param{long }{style = 0}, \param{const wxPoint\& }{pos = wxDefaultPosition}} +\param{const wxString\& }{defaultPath = ""}, \param{long }{style = wxDD\_DEFAULT\_STYLE},\rtfsp +\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp +\param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{const wxString\& }{name = "wxDirCtrl"}} -Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show the dialog. +Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show +the dialog. \wxheading{Parameters} @@ -30,11 +52,15 @@ Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show \docparam{defaultPath}{The default path, or the empty string.} -\docparam{style}{A dialog style, currently unused.} +\docparam{style}{The dialog style. See \helpref{wxDirDialog}{wxdirdialog}} + +\docparam{pos}{Dialog position. Ignored under Windows.} + +\docparam{size}{Dialog size. Ignored under Windows.} -\docparam{pos}{Dialog position. Not implemented.} +\docparam{name}{The dialog name, not used.} -\membersection{wxDirDialog::\destruct{wxDirDialog}} +\membersection{wxDirDialog::\destruct{wxDirDialog}}\label{wxdirdialogdtor} \func{}{\destruct{wxDirDialog}}{\void} @@ -80,7 +106,7 @@ Sets the dialog style. This is currently unused. \func{int}{ShowModal}{\void} -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL +Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCEL otherwise.