GnomeRR.Config

g GObject.Object GObject.Object GnomeRR.Config GnomeRR.Config GObject.Object->GnomeRR.Config

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

GnomeRR.Screen

w/co

The GnomeRR.Screen this config applies to

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GnomeRR.Config(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GnomeRR.ConfigClass

classmethod new_current(screen)
Parameters:

screen (GnomeRR.Screen) –

Raises:

GLib.Error

Return type:

GnomeRR.Config

applicable(screen)
Parameters:

screen (GnomeRR.Screen) –

Raises:

GLib.Error

Return type:

bool

apply(screen)
Parameters:

screen (GnomeRR.Screen) –

Raises:

GLib.Error

Return type:

bool

apply_persistent(screen)
Parameters:

screen (GnomeRR.Screen) –

Raises:

GLib.Error

Return type:

bool

ensure_primary()
Return type:

bool

equal(config2)
Parameters:

config2 (GnomeRR.Config) –

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 GnomeRR.Config

Return type:

[GnomeRR.OutputInfo]

load_current()
Raises:

GLib.Error

Return type:

bool

match(config2)
Parameters:

config2 (GnomeRR.Config) –

Return type:

bool

sanitize()
set_clone(clone)
Parameters:

clone (bool) –

Property Details

GnomeRR.Config.props.screen
Name:

screen

Type:

GnomeRR.Screen

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The GnomeRR.Screen this config applies to