Determines the sizes and locations of displays connected to the system.
See also
__init__ | Constructs this class using the given parameters. |
GetDepth | Returns bits per pixel (e.g. |
GetHeight | Returns the screen height in pixels (e.g. |
GetWidth | Returns the screen width in pixels (e.g. |
IsOk | Returns True if the object has been initialized. |
Matches | 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). |
__nonzero__ | |
__ne__ | |
__eq__ |
Determines the sizes and locations of displays connected to the system.
Possible constructors:
VideoMode(width=0, height=0, depth=0, freq=0)
Constructs this class using the given parameters.
Parameters: |
|
---|
Returns bits per pixel (e.g.
32), 1 is monochrome and 0 means unspecified/known.
Return type: | int |
---|
Returns the screen height in pixels (e.g.
480), 0 means unspecified.
Return type: | int |
---|
Returns the screen width in pixels (e.g.
640), 0 means unspecified.
Return type: | int |
---|
Returns True if the object has been initialized.
Return type: | 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).
Parameters: | other (VideoMode) – |
---|---|
Return type: | bool |
Return type: | int |
---|