X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8743553a137e13f8e66ff191c8da9b34cc62b8f..a0c2e4a050f4f2e8d344483ba4cfaa8b08a1fe87:/docs/latex/wx/dirpicker.tex diff --git a/docs/latex/wx/dirpicker.tex b/docs/latex/wx/dirpicker.tex index cd5927945a..02bf6c9c5b 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}% @@ -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.