Colord.Edid

g Colord.Edid Colord.Edid GObject.Object GObject.Object GObject.Object->Colord.Edid

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

error_quark ()

class

new ()

get_blue ()

get_checksum ()

get_eisa_id ()

get_gamma ()

get_green ()

get_height ()

get_monitor_name ()

get_pnp_id ()

get_red ()

get_serial_number ()

get_vendor_name ()

get_white ()

get_width ()

parse (edid_data)

reset ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Colord.Edid(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Colord.EdidClass

classmethod error_quark()[source]
Returns:

a #GQuark

Return type:

int

Gets the Colord.Edid error quark.

New in version 1.1.2.

classmethod new()[source]
Returns:

A new Colord.Edid

Return type:

Colord.Edid

Creates an object suitable for parsing an EDID.

New in version 1.1.2.

get_blue()[source]
Returns:

Colord.ColorYxy chromaticity

Return type:

Colord.ColorYxy

Gets the blue primary.

New in version 1.1.2.

get_checksum()[source]
Returns:

string value

Return type:

str

Gets the EDID MD5 checksum.

New in version 1.1.2.

get_eisa_id()[source]
Returns:

string value

Return type:

str

Gets the EDID EISA ID.

New in version 1.1.2.

get_gamma()[source]
Returns:

floating point value

Return type:

float

Gets the native panel gamma.

New in version 1.1.2.

get_green()[source]
Returns:

Colord.ColorYxy chromaticity

Return type:

Colord.ColorYxy

Gets the green primary.

New in version 1.1.2.

get_height()[source]
Returns:

integer value

Return type:

int

Gets the panel height in inches.

New in version 1.1.2.

get_monitor_name()[source]
Returns:

string value

Return type:

str

Gets the EDID monitor name.

New in version 1.1.2.

get_pnp_id()[source]
Returns:

string value

Return type:

str

Gets the EDID PNP ID.

New in version 1.1.2.

get_red()[source]
Returns:

True for success

Return type:

Colord.ColorYxy

Gets the red primary.

New in version 1.1.2.

get_serial_number()[source]
Returns:

string value

Return type:

str

Gets the EDID serial number.

New in version 1.1.2.

get_vendor_name()[source]
Returns:

string value

Return type:

str

Gets the EDID vendor name.

New in version 1.1.2.

get_white()[source]
Returns:

Colord.ColorYxy chromaticity

Return type:

Colord.ColorYxy

Gets the whitepoint.

New in version 1.1.2.

get_width()[source]
Returns:

integer value

Return type:

int

Gets the panel width in inches.

New in version 1.1.2.

parse(edid_data)[source]
Parameters:

edid_data (GLib.Bytes) – data to parse

Raises:

GLib.Error

Returns:

True for success

Return type:

bool

Parses the EDID.

New in version 1.1.2.

reset()[source]

Resets all cached data.

New in version 1.1.2.