X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08f1d4387331d652b8297e6a4aef782b921bad5e..1d3f4b50d6f529b068586f14de2c3d9bc92a9ac4:/docs/latex/wx/settings.tex diff --git a/docs/latex/wx/settings.tex b/docs/latex/wx/settings.tex index 378339157b..674adbc131 100644 --- a/docs/latex/wx/settings.tex +++ b/docs/latex/wx/settings.tex @@ -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} +