CinnamonDesktop.RROutput

Fields

None

Methods

can_clone (clone)

get_backlight ()

get_backlight_max ()

get_backlight_min ()

get_connector_type ()

get_crtc ()

get_current_mode ()

get_edid_data (size)

get_height_mm ()

get_id ()

get_ids_from_edid (vendor, product, serial)

get_is_primary ()

get_name ()

get_position (x, y)

get_possible_crtcs ()

get_preferred_mode ()

get_size_inches ()

get_width_mm ()

is_connected ()

is_laptop ()

list_modes ()

set_backlight (value)

supports_mode (mode)

Details

class CinnamonDesktop.RROutput
can_clone(clone)
Parameters:

clone (CinnamonDesktop.RROutput) –

Return type:

bool

get_backlight()
Raises:

GLib.Error

Returns:

The currently set backlight brightness

Return type:

int

get_backlight_max()
Returns:

The maximum backlight value, or -1 if not supported

Return type:

int

get_backlight_min()
Returns:

The mimimum backlight value, or -1 if not supported

Return type:

int

get_connector_type()
Return type:

str

get_crtc()
Return type:

CinnamonDesktop.RRCrtc

get_current_mode()
Return type:

CinnamonDesktop.RRMode

get_edid_data(size)
Parameters:

size (int) –

Return type:

int

get_height_mm()
Return type:

int

get_id()
Return type:

int

get_ids_from_edid(vendor, product, serial)
Parameters:
  • vendor (str) –

  • product (int) –

  • serial (int) –

Return type:

bool

get_is_primary()
Return type:

bool

get_name()
Return type:

str

get_position(x, y)
Parameters:
get_possible_crtcs()
Return type:

CinnamonDesktop.RRCrtc

get_preferred_mode()
Return type:

CinnamonDesktop.RRMode

get_size_inches()
Return type:

int

get_width_mm()
Return type:

int

is_connected()
Return type:

bool

is_laptop()
Return type:

bool

list_modes()
Return type:

CinnamonDesktop.RRMode

set_backlight(value)
Parameters:

value (int) – the absolute value which is min >= this <= max

Raises:

GLib.Error

Returns:

True for success

Return type:

bool

supports_mode(mode)
Parameters:

mode (CinnamonDesktop.RRMode) –

Return type:

bool