GnomeDesktop.RRConfig

g GObject.Object GObject.Object GnomeDesktop.RRConfig GnomeDesktop.RRConfig GObject.Object->GnomeDesktop.RRConfig

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_current (screen)

applicable (screen)

apply (screen)

apply_persistent (screen)

ensure_primary ()

equal (config2)

get_clone ()

get_outputs ()

load_current ()

match (config2)

sanitize ()

set_clone (clone)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

screen

GnomeDesktop.RRScreen

w/co

The GnomeDesktop.RRScreen this config applies to

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class GnomeDesktop.RRConfig(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GnomeDesktop.RRConfigClass

classmethod new_current(screen)
Parameters:

screen (GnomeDesktop.RRScreen) –

Raises:

GLib.Error

Return type:

GnomeDesktop.RRConfig

applicable(screen)
Parameters:

screen (GnomeDesktop.RRScreen) –

Raises:

GLib.Error

Return type:

bool

apply(screen)
Parameters:

screen (GnomeDesktop.RRScreen) –

Raises:

GLib.Error

Return type:

bool

apply_persistent(screen)
Parameters:

screen (GnomeDesktop.RRScreen) –

Raises:

GLib.Error

Return type:

bool

ensure_primary()
Return type:

bool

equal(config2)
Parameters:

config2 (GnomeDesktop.RRConfig) –

Return type:

bool

get_clone()
Returns:

whether at least two outputs are at (0, 0) offset and they have the same width/height. Those outputs are of course connected and on (i.e. they have a CRTC assigned).

Return type:

bool

get_outputs()
Returns:

the output configuration for this GnomeDesktop.RRConfig

Return type:

[GnomeDesktop.RROutputInfo]

load_current()
Raises:

GLib.Error

Return type:

bool

match(config2)
Parameters:

config2 (GnomeDesktop.RRConfig) –

Return type:

bool

sanitize()
set_clone(clone)
Parameters:

clone (bool) –

Property Details

GnomeDesktop.RRConfig.props.screen
Name:

screen

Type:

GnomeDesktop.RRScreen

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The GnomeDesktop.RRScreen this config applies to