CinnamonDesktop.RRCrtc

Fields

None

Methods

can_drive_output (output)

get_current_mode ()

get_current_rotation ()

get_gamma (size, red, green, blue)

get_id ()

get_position (x, y)

get_rotations ()

get_scale ()

set_config_with_time (timestamp, x, y, mode, rotation, outputs, n_outputs, scale, global_scale)

set_gamma (size, red, green, blue)

supports_rotation (rotation)

Details

class CinnamonDesktop.RRCrtc
can_drive_output(output)
Parameters:

output (CinnamonDesktop.RROutput) –

Return type:

bool

get_current_mode()
Return type:

CinnamonDesktop.RRMode

get_current_rotation()
Return type:

CinnamonDesktop.RRRotation

get_gamma(size, red, green, blue)
Parameters:
  • size (int) –

  • red (int) –

  • green (int) –

  • blue (int) –

Return type:

bool

get_id()
Return type:

int

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

CinnamonDesktop.RRRotation

get_scale()
Return type:

float

set_config_with_time(timestamp, x, y, mode, rotation, outputs, n_outputs, scale, global_scale)
Parameters:
Raises:

GLib.Error

Return type:

bool

set_gamma(size, red, green, blue)
Parameters:
  • size (int) –

  • red (int) –

  • green (int) –

  • blue (int) –

supports_rotation(rotation)
Parameters:

rotation (CinnamonDesktop.RRRotation) –

Return type:

bool