Type deai.plugin.xorg.randr:OutputInfo
See Output.info for more information about this type
Properties
Connection |
|
Height in millimeters |
|
Width in millimeters |
|
Modes |
|
Name |
|
Number of preferred mode |
|
Subpixel order |
- connection: integer
- Type:
integer
Connection
- mm_height: unsigned
- Type:
unsigned
Height in millimeters
- mm_width: unsigned
- Type:
unsigned
Width in millimeters
- name: string
- Type:
string
Name
- num_preferred: unsigned
- Type:
unsigned
Number of preferred mode
- subpixel_order: integer
- Type:
integer
Subpixel order
Methods
Find the preferred mode of an output. |
- preferred_mode() Mode
- Return type:
Find the preferred mode of an output.
Mode is chosen first based on the preferred modes returned by the X server, any modes that aren’t preferred are ignored. From what remains, we choose the mode with highest number of pixels. If there are multiple modes with the same number of pixels, we prefer the one that isn’t interlaced or double scanned.