X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2c2afc91be4bdb6e036516785f334ddb54afa0c..81c882b613b5d99ddb1e5ab69fcd7ebccc287025:/docs/latex/wx/dirctrl.tex diff --git a/docs/latex/wx/dirctrl.tex b/docs/latex/wx/dirctrl.tex index 950b5c3ef9..1eafca210d 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} @@ -89,12 +88,24 @@ Create function for two-step construction. See \helpref{wxGenericDirCtrl::wxGene Initializes variables. +\membersection{wxGenericDirCtrl::CollapseTree}\label{wxgenericdirctrlcollapsetree} + +\func{void}{CollapseTree}{\void} + +Collapses the entire tree. + \membersection{wxGenericDirCtrl::ExpandPath}\label{wxgenericdirctrlexpandpath} \func{bool}{ExpandPath}{\param{const wxString\& }{path}} 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} @@ -145,6 +156,13 @@ Returns the root id for the tree control. Returns a pointer to the tree control. +\membersection{wxGenericDirCtrl::ReCreateTree}\label{wxgenericdirctrlrecreatetree} + +\func{void}{ReCreateTree}{\void} + +Collapse and expand the tree, thus re-creating it from scratch. +May be used to update the displayed directory content. + \membersection{wxGenericDirCtrl::SetDefaultPath}\label{wxgenericdirctrlsetdefaultpath} \func{void}{SetDefaultPath}{\param{const wxString\& }{path}} @@ -169,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.} +