X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c06dde42fe5dc8c97d0a6dbf1d6e590b198e8fbb..134198f1b773199b5506c302bf9510831d0319f5:/docs/latex/wx/dirctrl.tex?ds=sidebyside diff --git a/docs/latex/wx/dirctrl.tex b/docs/latex/wx/dirctrl.tex index 9bbd61e576..190a63cdde 100644 --- a/docs/latex/wx/dirctrl.tex +++ b/docs/latex/wx/dirctrl.tex @@ -23,7 +23,6 @@ hierarchy, and optionally, a \helpref{wxChoice}{wxchoice} window containing a li \twocolitem{\indexit{wxDIRCTRL\_DIR\_ONLY}}{Only show directories, and not files.} \twocolitem{\indexit{wxDIRCTRL\_3D\_INTERNAL}}{Use 3D borders for internal controls.} \twocolitem{\indexit{wxDIRCTRL\_SELECT\_FIRST}}{When setting the default path, select the first file in the directory.} -\twocolitem{\indexit{wxDIRCTRL\_SHOW\_FILTERS}}{Show the drop-down filter list.} \twocolitem{\indexit{wxDIRCTRL\_EDIT\_LABELS}}{Allow the folder and file labels to be editable.} \end{twocollist} @@ -41,7 +40,7 @@ Default constructor. \func{}{wxGenericDirCtrl}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id = -1}, \param{const wxString\& }{dir = wxDirDialogDefaultFolderStr}, \param{const wxPoint\& }{pos = wxDefaultPosition}, - \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxDIRCTRL\_3D\_INTERNAL|wxSUNKEN\_BORDER}, + \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxDIRCTRL\_3D\_INTERNAL|wxBORDER\_SUNKEN}, \param{const wxString\& }{filter = wxEmptyString}, \param{int }{defaultFilter = 0}, \param{const wxString\& }{name = wxTreeCtrlNameStr}} @@ -79,7 +78,7 @@ Destructor. \membersection{wxGenericDirCtrl::Create}\label{wxgenericdirctrlcreate} -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id = -1}, \param{const wxString\& }{dir = wxDirDialogDefaultFolderStr}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxDIRCTRL\_3D\_INTERNAL|wxSUNKEN\_BORDER}, \param{const wxString\& }{filter = wxEmptyString}, \param{int }{defaultFilter = 0}, \param{const wxString\& }{name = wxTreeCtrlNameStr}} +\func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id = -1}, \param{const wxString\& }{dir = wxDirDialogDefaultFolderStr}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxDIRCTRL\_3D\_INTERNAL|wxBORDER\_SUNKEN}, \param{const wxString\& }{filter = wxEmptyString}, \param{int }{defaultFilter = 0}, \param{const wxString\& }{name = wxTreeCtrlNameStr}} Create function for two-step construction. See \helpref{wxGenericDirCtrl::wxGenericDirCtrl}{wxgenericdirctrlwxgenericdirctrl} for details. @@ -101,6 +100,12 @@ Collapses the entire tree. Tries to expand as much of the given path as possible, so that the filename or directory is visible in the tree control. +\membersection{wxGenericDirCtrl::CollapsePath}\label{wxgenericdirctrlcollapsepath} + +\func{bool}{CollapsePath}{\param{const wxString\& }{path}} + +Collapse the given path. + \membersection{wxGenericDirCtrl::GetDefaultPath}\label{wxgenericdirctrlgetdefaultpath} \constfunc{wxString}{GetDefaultPath}{\void} @@ -182,3 +187,12 @@ Sets the current filter index (zero-based). Sets the current path. +\membersection{wxGenericDirCtrl::ShowHidden}\label{wxgenericdirctrlShowHidden} + +\func{void}{ShowHidden}{\param{bool }{show}} + +\wxheading{Parameters} + +\docparam{show}{If true, hidden folders and files will be displayed by the +control. If false, they will not be displayed.} +