Determines the sizes and locations of displays connected to the system.
Constructs this class using the given parameters. |
|
Returns bits per pixel (e.g. 32), 1 is monochrome and 0 means unspecified/known. |
|
Returns the screen height in pixels (e.g. 480), 0 means unspecified. |
|
Returns the screen width in pixels (e.g. 640), 0 means unspecified. |
|
Returns |
|
Returns |
|
See |
|
See |
|
See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
wx.
VideoMode
(object)¶Possible constructors:
VideoMode(width=0, height=0, depth=0, freq=0)
Determines the sizes and locations of displays connected to the system.
__init__
(self, width=0, height=0, depth=0, freq=0)¶Constructs this class using the given parameters.
width (int) –
height (int) –
depth (int) –
freq (int) –
GetDepth
(self)¶Returns bits per pixel (e.g. 32), 1 is monochrome and 0 means unspecified/known.
int
GetHeight
(self)¶Returns the screen height in pixels (e.g. 480), 0 means unspecified.
int
GetWidth
(self)¶Returns the screen width in pixels (e.g. 640), 0 means unspecified.
int
IsOk
(self)¶Returns True
if the object has been initialized.
bool
Matches
(self, other)¶Returns True
if this mode matches the other one in the sense that all non zero fields of the other mode have the same value in this one (except for refresh which is allowed to have a greater value).
other (wx.VideoMode) –
bool
__bool__
(self)¶int
__nonzero__
(self)¶int
__ne__
(self)¶mode (wx.VideoMode) –
__eq__
(self)¶m (wx.VideoMode) –
bpp
¶A public C++ attribute of type int
. Bits per pixel (e.g. 32), 1 is monochrome and 0 means unspecified/known.
h
¶A public C++ attribute of type int
. The screen height in pixels (e.g. 480), 0 means unspecified.
refresh
¶A public C++ attribute of type int
. Refresh frequency in Hz, 0 means unspecified/unknown.
w
¶A public C++ attribute of type int
. The screen width in pixels (e.g. 640), 0 means unspecified.