Home | Trees | Index | Help |
|
---|
Package wx :: Class VideoMode |
|
object
--+
|
VideoMode
A simple struct containing video mode parameters for a display
Method Summary | |
---|---|
VideoMode |
A simple struct containing video mode parameters for a display |
__del__(self)
| |
bool | __eq__(self,
other)
|
bool | __ne__(self,
other)
|
__nonzero__(self)
| |
int |
Returns the screen's bits per pixel (e.g. |
int |
Returns the screen height in pixels (e.g. |
int |
Returns the screen width in pixels (e.g. |
bool |
returns true if the object has been initialized |
bool |
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) |
Property Summary | |
---|---|
bpp | |
Depth : See GetDepth | |
h | |
Height : See GetHeight | |
refresh | |
thisown : The membership flag | |
w | |
Width : See GetWidth |
Method Details |
---|
__init__(self,
width=0,
height=0,
depth=0,
freq=0)
|
GetDepth(self)Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0 means unspecified/known
|
GetHeight(self)Returns the screen height in pixels (e.g. 640*480), 0 means unspecified
|
GetWidth(self)Returns the screen width in pixels (e.g. 640*480), 0 means unspecified
|
IsOk(self)returns true if the object has been initialized
|
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)
|
Property Details |
---|
DepthSee
|
HeightSee
|
thisownThe membership flag |
WidthSee
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:52 2007 | http://epydoc.sf.net |