1 \section{\class{wxDisplay
}}\label{wxdisplay
}
3 Determines the sizes and locations of displays connected to the system.
5 \wxheading{Derived from
}
9 \wxheading{Include files
}
15 \helpref{wxClientDisplayRect
}{wxclientdisplayrect
},
\helpref{wxDisplaySize
}{wxdisplaysize
},
\helpref{wxDisplaySizeMM
}{wxdisplaysizemm
}
17 \latexignore{\rtfignore{\wxheading{Members
}}}
20 \membersection{wxDisplay::wxDisplay
}\label{wxdisplayconstr
}
22 \func{}{wxDisplay
}{\param{size
\_t }{index =
0}}
24 Constructor, setting up a wxDisplay instance with the specified display.
26 \wxheading{Parameters
}
28 \docparam{index
}{The index of the display to use. This must be non-negative
29 and lower than the value returned by
\helpref{GetCount()
}{wxdisplaygetcount
}.
}
32 \membersection{wxDisplay::
\destruct{wxDisplay
}}
34 \func{void
}{\destruct{wxDisplay
}}{\void}
39 \membersection{wxDisplay::GetCount
}\label{wxdisplaygetcount
}
41 \func{static size
\_t}{GetCount
}{\void}
43 Returns the number of connected displays.
46 \membersection{wxDisplay::GetDepth
}\label{wxdisplaygetdepth
}
48 \constfunc{int
}{GetDepth
}{\void}
50 Returns the bit depth of the display whose index was passed to the constructor.
53 \membersection{wxDisplay::GetFromPoint
}\label{wxdisplaygetfrompoint
}
55 \func{static int
}{GetFromPoint
}{\param{const wxPoint\&
}{pt
}}
57 Returns the index of the display on which the given point lies. Returns -
1 if
58 the point is not on any connected display.
60 \wxheading{Parameters
}
62 \docparam{pt
}{The point to locate.
}
65 \membersection{wxDisplay::GetGeometry
}\label{wxdisplaygetgeometry
}
67 \constfunc{wxRect
}{GetGeometry
}{\void}
69 Returns the bounding rectangle of the display whose index was passed to the
73 \membersection{wxDisplay::GetName
}\label{wxdisplaygetname
}
75 \constfunc{wxString
}{GetName
}{\void}
77 Returns the display's name. A name is not available on all platforms.
80 \membersection{wxDisplay::IsColour
}\label{wxdisplayiscolour
}
82 \constfunc{bool
}{IsColour
}{\void}
84 Returns true if the display is
color (has a depth greater than
1).
87 \membersection{wxDisplay::IsColor
}\label{wxdisplayiscolor
}
89 \constfunc{bool
}{IsColor
}{\void}
91 Same as
\helpref{IsColour()
}{wxdisplayiscolour
}.
94 \membersection{wxDisplay::IsPrimary
}\label{wxdisplayisprimary
}
96 \func{bool
}{IsPrimary
}{\void}
98 Returns true if the display is the primary display. The primary display is the