X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8743553a137e13f8e66ff191c8da9b34cc62b8f..6aaee6afdcde7c9e677f642303d4988a66cb9dc9:/docs/latex/wx/dirpicker.tex diff --git a/docs/latex/wx/dirpicker.tex b/docs/latex/wx/dirpicker.tex index cd5927945a..ca09776d09 100644 --- a/docs/latex/wx/dirpicker.tex +++ b/docs/latex/wx/dirpicker.tex @@ -28,6 +28,10 @@ It is only available if \texttt{wxUSE\_DIRPICKERCTRL} is set to $1$ (the default +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} \twocolwidtha{5cm}% @@ -65,7 +69,7 @@ the user's input is valid, e.g. an existing directory path).} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxDirPickerCtrl::wxDirPickerCtrl}\label{wxdirpickerctrl} +\membersection{wxDirPickerCtrl::wxDirPickerCtrl}\label{wxdirpickerctrlctor} \func{}{wxDirPickerCtrl}{\param{wxWindow *}{parent},\rtfsp \param{wxWindowID}{ id},\rtfsp @@ -117,6 +121,14 @@ all the parameters. \true if the control was successfully created or \false if creation failed. + +\membersection{wxFilePickerCtrl::GetDirName}\label{wxfilepickerctrlgetdirname} + +\constfunc{wxFileName}{GetDirName}{\void} + +Returns the absolute path of the currently selected directory as a \helpref{wxFileName}{wxfilename} object. +This function is equivalent to \helpref{GetPath}{wxdirpickerctrlgetpath} + \membersection{wxDirPickerCtrl::GetPath}\label{wxdirpickerctrlgetpath} @@ -125,11 +137,20 @@ all the parameters. Returns the absolute path of the currently selected directory. +\membersection{wxFilePickerCtrl::SetDirName}\label{wxfilepickerctrlsetdirname} + +\func{void}{SetDirName}{\param{const wxFileName \&}{dirname}} + +Just like \helpref{SetPath}{wxdirpickerctrlsetpath} but this function takes a +\helpref{wxFileName}{wxfilename} object. + + \membersection{wxDirPickerCtrl::SetPath}\label{wxdirpickerctrlsetpath} \func{void}{SetPath}{\param{const wxString \&}{dirname}} -Sets the absolute path of the currently selected directory. This must be a valid directory if +Sets the absolute path of (the default converter uses current locale's +charset)the currently selected directory. This must be a valid directory if {\tt wxDIRP\_DIR\_MUST\_EXIST} style was given.