X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b67a86d57493137cb1f7cce8ca8daf0b7120207e..a61c9122413cef45bad87da7e3dc65617bb2adb7:/docs/latex/wx/filepicker.tex diff --git a/docs/latex/wx/filepicker.tex b/docs/latex/wx/filepicker.tex index e7831f37ff..af18928183 100644 --- a/docs/latex/wx/filepicker.tex +++ b/docs/latex/wx/filepicker.tex @@ -51,6 +51,9 @@ NB: the wxFD\_MULTIPLE style of wxFileDialog is not supported! \wxheading{Event handling} +To process a file picker event, use these event handler macros to direct input to member +functions that take a \helpref{wxFileDirPickerEvent}{wxfiledirpickerevent} argument. + \twocolwidtha{7cm}% \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_FILEPICKER\_CHANGED(id, func)}}{The user changed the file @@ -125,6 +128,14 @@ all the parameters. \true if the control was successfully created or \false if creation failed. +\membersection{wxFilePickerCtrl::GetFileName}\label{wxfilepickerctrlgetfilename} + +\constfunc{wxFileName}{GetFileName}{\void} + +Similar to \helpref{GetPath}{wxfilepickerctrlgetpath} but returns the path of +the currently selected file as a \helpref{wxFileName} object. + + \membersection{wxFilePickerCtrl::GetPath}\label{wxfilepickerctrlgetpath} \constfunc{wxString}{GetPath}{\void} @@ -132,6 +143,14 @@ all the parameters. Returns the absolute path of the currently selected file. +\membersection{wxFilePickerCtrl::SetFileName}\label{wxfilepickerctrlsetfilename} + +\func{void}{SetFileName}{\param{const wxFileName \&}{filename}} + +This method does the same thing as \helpref{SetPath}{wxfilepickerctrlsetpath} but +takes a \helpref{wxFileName}{wxfilename} object instead of a string. + + \membersection{wxFilePickerCtrl::SetPath}\label{wxfilepickerctrlsetpath} \func{void}{SetPath}{\param{const wxString \&}{filename}}