GnomeDesktop.RRCrtc

Fields

None

Methods

can_drive_output (output)

get_current_mode ()

get_current_rotation ()

get_gamma (size)

get_id ()

get_position ()

get_rotations ()

set_gamma (size, red, green, blue)

supports_rotation (rotation)

Details

class GnomeDesktop.RRCrtc
can_drive_output(output)
Parameters:

output (GnomeDesktop.RROutput) –

Return type:

bool

get_current_mode()
Returns:

the current mode of this crtc

Return type:

GnomeDesktop.RRMode

get_current_rotation()
Return type:

GnomeDesktop.RRRotation

get_gamma(size)
Parameters:

size (int) –

Returns:

True for success

red:

the minimum width

green:

the maximum width

blue:

the minimum height

Return type:

(bool, red: int, green: int, blue: int)

get_id()
Return type:

int

get_position()
Return type:

(x: int, y: int)

get_rotations()
Return type:

GnomeDesktop.RRRotation

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

  • red (int) –

  • green (int) –

  • blue (int) –

Return type:

bool

supports_rotation(rotation)
Parameters:

rotation (GnomeDesktop.RRRotation) –

Return type:

bool