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
}}}
19 \membersection{wxDisplay::wxDisplay
}\label{wxdisplayconstr
}
21 \func{}{wxDisplay
}{\param{size
\_t }{index =
0}}
23 Constructor, setting up a wxDisplay instance with the specified display.
25 \wxheading{Parameters
}
27 \docparam{index
}{The index of the display to use. This must be non-negative
28 and lower than the value returned by
\helpref{GetCount()
}{wxdisplaygetcount
},
31 \membersection{wxDisplay::
\destruct{wxDisplay
}}
33 \func{void
}{\destruct{wxDisplay
}}{\void}
37 \membersection{wxDisplay::GetCount
}\label{wxdisplaygetcount
}
39 \func{static size
\_t}{GetCount
}{\void}
41 Returns the number of connected displays.
43 \membersection{wxDisplay::GetDepth
}\label{wxdisplaygetdepth
}
45 \constfunc{int
}{GetDepth
}{\void}
47 Returns the bit depth of the display whose index was passed to the constructor.
49 \membersection{wxDisplay::GetFromPoint
}\label{wxdisplaygetfrompoint
}
51 \func{static int
}{GetFromPoint
}{\param{const wxPoint\&
}{pt
}}
53 Returns the index of the display on which the given point lies. Returns -
1 if
54 the point is not on any connected display.
56 \wxheading{Parameters
}
58 \docparam{pt
}{The point to locate.
}
60 \membersection{wxDisplay::GetGeometry
}\label{wxdisplaygetgeometry
}
62 \constfunc{wxRect
}{GetGeometry
}{\void}
64 Returns the bounding rectangle of the display whose index was passed to the
67 \membersection{wxDisplay::GetName
}\label{wxdisplaygetname
}
69 \constfunc{wxString
}{GetName
}{\void}
71 Returns the display's name. A name is not available on all platforms.
73 \membersection{wxDisplay::IsColour
}\label{wxdisplayiscolour
}
75 \constfunc{bool
}{IsColour
}{\void}
77 Returns true if the display is
color (has a depth greater than
1).
79 \membersection{wxDisplay::IsColor
}\label{wxdisplayiscolor
}
81 \constfunc{bool
}{IsColor
}{\void}
83 Same as
\helpref{IsColour()
}{wxdisplayiscolour
}.
85 \membersection{wxDisplay::IsPrimary
}\label{wxdisplayisprimary
}
87 \func{bool
}{IsPrimary
}{\void}
89 Returns true if the display is the primary display. The primary display is the