X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f3ebe4c1ace83fb2d8a54616bc2e3b8442e7e00..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/dirctrl.tex diff --git a/docs/latex/wx/dirctrl.tex b/docs/latex/wx/dirctrl.tex index 4563a56d19..9bbd61e576 100644 --- a/docs/latex/wx/dirctrl.tex +++ b/docs/latex/wx/dirctrl.tex @@ -18,12 +18,13 @@ hierarchy, and optionally, a \helpref{wxChoice}{wxchoice} window containing a li \wxheading{Window styles} -\twocolwidtha{5cm} +\twocolwidtha{7cm} \begin{twocollist} -\twocolitem{{\bf \indexit{wxDIRCTRL\_DIR\_ONLY}}}{Only show directories, and not files.} -\twocolitem{{\bf \indexit{wxDIRCTRL\_3D\_INTERNAL}}}{Use 3D borders for internal controls.} -\twocolitem{{\bf \indexit{wxDIRCTRL\_SELECT\_FIRST}}}{When setting the default path, select the first file in the directory.} -\twocolitem{{\bf \indexit{wxDIRCTRL\_SHOW\_FILTERS}}}{Show the drop-down filter list.} +\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} See also \helpref{Generic window styles}{windowstyles}. @@ -59,7 +60,7 @@ Main constructor. \docparam{size}{Size.} -\docparam{style}{Window style. Please see \helpref{wxgenericdirctrl}{wxgenericdirctrl} for a list of possible styles.} +\docparam{style}{Window style. Please see \helpref{wxGenericDirCtrl}{wxgenericdirctrl} for a list of possible styles.} \docparam{filter}{A filter string, using the same syntax as that for \helpref{wxFileDialog}{wxfiledialog}. This may be empty if filters are not being used. @@ -88,6 +89,12 @@ 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}} @@ -112,7 +119,7 @@ Gets the currently-selected directory or filename. Gets selected filename path only (else empty string). -This function doen't count a directory as a selection. +This function doesn't count a directory as a selection. \membersection{wxGenericDirCtrl::GetFilter}\label{wxgenericdirctrlgetfilter} @@ -144,6 +151,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}}