GnomeRR.Output¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GnomeRR.Output¶
- can_clone(clone)¶
- Parameters:
clone (
GnomeRR.Output
) – the output to compare- Returns:
TRUE
if the output can clone another output- Return type:
Checks whether the given output can clone another output.
- get_backlight()¶
- Returns:
The currently set backlight brightness
- Return type:
Retrieves the backlight brightness of the given output.
- get_crtc()¶
- Returns:
the CRTC of the output
- Return type:
Retrieves the CRTC of the given output.
- get_current_mode()¶
- Returns:
the current mode of this output
- Return type:
Retrieves the current mode of the given output.
- get_display_name()¶
- Returns:
the display name
- Return type:
Retrieves the display name of the given output.
- get_ids_from_edid()¶
- Returns:
- vendor:
the output’s vendor string
- product:
the output’s product string
- serial:
the output’s serial string
- Return type:
Retrieves the model identifiers from the EDID of the given output.
- get_is_primary()¶
- Returns:
TRUE
if the output is the primary one- Return type:
Checks whether the given output is the primary output.
- get_min_backlight_step()¶
- Returns:
The minimum backlight step available in percent
- Return type:
Retrieves the value of the minimum backlight step for the given output, as a percentage.
- get_name()¶
- Returns:
the name of the output
- Return type:
Retrieves the name of the given output.
- get_physical_size()¶
- Returns:
- width_mm:
the width of the output, in millimeters
- height_mm:
the height of the output, in millimeters
- Return type:
Retrieves the physical size of the given output.
- get_position()¶
- get_possible_crtcs()¶
- Returns:
the list of possible CRTC
- Return type:
Retrieves all the possible CRTC for the given output.
- get_preferred_mode()¶
- Returns:
the preferred mode of the output
- Return type:
Retrieves the preferred mode of the given output.
- is_builtin_display()¶
- Returns:
TRUE
if the output is a built-in display- Return type:
Checks whether the given output is a built-in display.
- list_modes()¶
- Returns:
a list of modes
- Return type:
Retrieves all available modes of the given output.
- set_backlight(value)¶
- Parameters:
value (
int
) – the absolute value of the backlight- Raises:
- Returns:
TRUE
for success- Return type:
Sets the backlight level for the given output.
The value is a percentage, with a range of [0, 100].
- set_color_transform(ctm)¶
- Parameters:
ctm (
GnomeRR.CTM
) – the color transformation matrix- Raises:
- Returns:
TRUE
on success- Return type:
Sets the color transformation matrix for the given output.
- supports_mode(mode)¶
- Parameters:
mode (
GnomeRR.Mode
) – the mode to compare- Returns:
TRUE
if the mode is supported- Return type:
Checks whether the given output supports a mode.