X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cb99894576612e347480d43c5f2e2550b6151cf..265a3864bbbc7ac8af309c80321efbba8c0ca6e9:/docs/latex/wx/settings.tex diff --git a/docs/latex/wx/settings.tex b/docs/latex/wx/settings.tex index 4fe7dc5e30..674adbc131 100644 --- a/docs/latex/wx/settings.tex +++ b/docs/latex/wx/settings.tex @@ -18,7 +18,7 @@ and user interface element sizes. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxSystemSettings::wxSystemSettings} +\membersection{wxSystemSettings::wxSystemSettings}\label{wxsystemsettingsctor} \func{}{wxSystemSettings}{\void} @@ -87,9 +87,9 @@ Returns a system font. \twocolitem{{\bf wxSYS\_SYSTEM\_FONT}}{System font.} \twocolitem{{\bf wxSYS\_DEVICE\_DEFAULT\_FONT}}{Device-dependent font (Windows NT only).} \twocolitem{{\bf wxSYS\_DEFAULT\_GUI\_FONT}}{Default font for user interface -objects such as menus and dialog boxes.} -\twocolitem{{\bf wxSYS\_ICONTITLE\_FONT}}{Font for the icon titles (Windows -only, same as default GUI font on other platforms} +objects such as menus and dialog boxes. Note that with modern GUIs nothing +guarantees that the same font is used for all GUI elements, so some controls +might use a different font by default.} \end{twocollist} \pythonnote{This static method is implemented in Python as a @@ -99,7 +99,8 @@ standalone function named {\tt wxSystemSettings\_GetFont}} \func{static int}{GetMetric}{\param{wxSystemMetric}{ index}} -Returns a system metric. +Returns the value of a system metric, or -1 if the metric is not +supported on the current platform. {\it index} can be one of: @@ -154,3 +155,18 @@ where it would otherwise present the information only in audible form; zero othe \pythonnote{This static method is implemented in Python as a standalone function named {\tt wxSystemSettings\_GetMetric}} +\membersection{wxSystemSettings::GetScreenType}\label{wxsystemsettingsgetscreentype} + +\func{static wxSystemScreenType}{GetScreenType}{\void} + +Returns the screen type. The return value is one of: + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf wxSYS\_SCREEN\_NONE}}{Undefined screen type} +\twocolitem{{\bf wxSYS\_SCREEN\_TINY}}{Tiny screen, less than 320x240} +\twocolitem{{\bf wxSYS\_SCREEN\_PDA}}{PDA screen, 320x240 or more but less than 640x480} +\twocolitem{{\bf wxSYS\_SCREEN\_SMALL}}{Small screen, 640x480 or more but less than 800x600} +\twocolitem{{\bf wxSYS\_SCREEN\_DESKTOP}}{Desktop screen, 800x600 or more} +\end{twocollist} +