CinnamonDesktop.RROutputInfo

g CinnamonDesktop.RROutputInfo CinnamonDesktop.RROutputInfo GObject.Object GObject.Object GObject.Object->CinnamonDesktop.RROutputInfo

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_aspect_ratio ()

get_display_name ()

get_flags (doublescan, interlaced, vsync)

get_geometry ()

get_name ()

get_preferred_height ()

get_preferred_width ()

get_primary ()

get_product ()

get_refresh_rate ()

get_refresh_rate_f ()

get_rotation ()

get_scale ()

get_serial ()

get_vendor ()

is_active ()

is_connected ()

set_active (active)

set_flags (doublescan, interlaced, vsync)

set_geometry (x, y, width, height)

set_primary (primary)

set_refresh_rate (rate)

set_refresh_rate_f (rate)

set_rotation (rotation)

set_scale (scale)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class CinnamonDesktop.RROutputInfo(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

CinnamonDesktop.RROutputInfoClass

get_aspect_ratio()
Return type:

float

get_display_name()
Returns:

the display name of this output

Return type:

str

get_flags(doublescan, interlaced, vsync)
Parameters:
  • doublescan (bool) –

  • interlaced (bool) –

  • vsync (bool) –

get_geometry()
Return type:

(x: int, y: int, width: int, height: int)

get_name()
Returns:

the output name

Return type:

str

get_preferred_height()
Return type:

int

get_preferred_width()
Return type:

int

get_primary()
Return type:

bool

get_product()
Return type:

int

get_refresh_rate()
Return type:

int

get_refresh_rate_f()
Return type:

float

get_rotation()
Return type:

CinnamonDesktop.RRRotation

get_scale()
Return type:

float

get_serial()
Return type:

int

get_vendor()
Return type:

vendor: [str]

is_active()
Returns:

whether there is a CRTC assigned to this output (i.e. a signal is being sent to it)

Return type:

bool

is_connected()
Returns:

whether the output is physically connected to a monitor

Return type:

bool

set_active(active)
Parameters:

active (bool) –

set_flags(doublescan, interlaced, vsync)
Parameters:
  • doublescan (bool) –

  • interlaced (bool) –

  • vsync (bool) –

set_geometry(x, y, width, height)
Parameters:
set_primary(primary)
Parameters:

primary (bool) –

set_refresh_rate(rate)
Parameters:

rate (int) –

set_refresh_rate_f(rate)
Parameters:

rate (float) –

set_rotation(rotation)
Parameters:

rotation (CinnamonDesktop.RRRotation) –

set_scale(scale)
Parameters:

scale (float) –