X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6cd6ec633c38500089128dd1899464f682ea5f81..53b6d7a29879a67a54e1f26e77a0697fecacf839:/docs/latex/wx/stdpaths.tex?ds=sidebyside diff --git a/docs/latex/wx/stdpaths.tex b/docs/latex/wx/stdpaths.tex index 172c14cdc9..b7f08e9bf3 100644 --- a/docs/latex/wx/stdpaths.tex +++ b/docs/latex/wx/stdpaths.tex @@ -95,6 +95,22 @@ Example return values: \helpref{GetLocalDataDir}{wxstandardpathsgetlocaldatadir} +\membersection{wxStandardPaths::GetDocumentsDir}\label{wxstandardpathsgetdocumentsdir} + +\func{wxString}{GetDocumentsDir}{\void} + +Return the directory containing the current user's documents. + +Example return values: +\begin{itemize} + \item Unix: \tt{~} (the home directory) + \item Windows: \texttt{C:$\backslash$Documents and Settings$\backslash$\textit{username}$\backslash$Documents} + \item Mac: \texttt{~/Documents} +\end{itemize} + +\newsince{2.7.0} + + \membersection{wxStandardPaths::GetInstallPrefix}\label{wxstandardpathsgetinstallprefix} \func{wxString}{GetInstallPrefix}{\void} @@ -134,6 +150,8 @@ In general this is just the same as \arg{lang} subdirectory of different for message catalog category under Unix where it returns the standard \texttt{\textit{prefix}/share/locale/\arg{lang}/LC\_MESSAGES} directory. +\newsince{2.7.0} + \membersection{wxStandardPaths::GetPluginsDir}\label{wxstandardpathsgetpluginsdir} @@ -171,6 +189,9 @@ Example return values: \item Mac: \texttt{\textit{appname}.app/Contents/PlugIns} bundle subdirectory \end{itemize} +\newsince{2.7.0} + + \wxheading{See also} \helpref{GetLocalizedResourcesDir}{wxstandardpathsgetlocalizedresourcesdir} @@ -183,7 +204,7 @@ Example return values: Return the directory for the user config files: \begin{itemize} \item Unix: \tt{~} (the home directory) - \item Windows: \tt{C:$\backslash$Documents and Settings$\backslash$\textit{username}} + \item Windows: \tt{C:$\backslash$Documents and Settings$\backslash$\textit{username}$\backslash$Application Data} \item Mac: \tt{~/Library/Preferences} \end{itemize}