GnomeRR.Crtc

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 GnomeRR.Crtc
can_drive_output(output)
Parameters:

output (GnomeRR.Output) –

Return type:

bool

get_current_mode()
Returns:

the current mode of this crtc

Return type:

GnomeRR.Mode

get_current_rotation()
Return type:

GnomeRR.Rotation

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:

GnomeRR.Rotation

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

  • red (int) –

  • green (int) –

  • blue (int) –

Return type:

bool

supports_rotation(rotation)
Parameters:

rotation (GnomeRR.Rotation) –

Return type:

bool