Colord.Client¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
|||
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Colord.Client(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod error_from_string(error_desc)[source]¶
- Parameters:
error_desc (
str
) –- Returns:
enumerated value
- Return type:
Converts a string to a
Colord.ClientError
.New in version 0.1.26.
- classmethod error_to_string(error_enum)[source]¶
- Parameters:
error_enum (
Colord.ClientError
) –- Returns:
identifier string
- Return type:
Converts a
Colord.ClientError
to a string.New in version 0.1.26.
- classmethod new()[source]¶
- Returns:
a new
Colord.Client
object.- Return type:
Creates a new
Colord.Client
object.New in version 0.1.0.
- connect(cancellable, callback, *user_data)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Connects to the colord daemon.
New in version 0.1.6.
- connect_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
success
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.6.
- connect_sync(cancellable)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
- Return type:
Connects to the colord daemon.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- create_device(id, scope, properties, cancellable, callback, *user_data)[source]¶
- Parameters:
id (
str
) – identifier for the devicescope (
Colord.ObjectScope
) – the scope of the deviceproperties ({
str
:str
} orNone
) – properties to set on the device, orNone
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Creates a color device.
New in version 0.1.8.
- create_device_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Device
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- create_device_sync(id, scope, properties, cancellable)[source]¶
- Parameters:
id (
str
) – identifier for the devicescope (
Colord.ObjectScope
) – the scope of the deviceproperties ({
str
:str
} orNone
) – properties to set on the device, orNone
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Device
object, orNone
for error- Return type:
Creates a color device.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.2.
- create_profile(id, scope, properties, cancellable, callback, *user_data)[source]¶
- Parameters:
id (
str
) – identifier for the profilescope (
Colord.ObjectScope
) – the scope of the profileproperties ({
str
:str
} orNone
) – properties to set on the profile, orNone
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Creates a color profile.
New in version 0.1.8.
- create_profile_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- create_profile_for_icc(icc, scope, cancellable, callback, *user_data)[source]¶
- Parameters:
icc (
Colord.Icc
) –Colord.Icc
objectscope (
Colord.ObjectScope
) – the scope of the profilecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Creates a color profile for an
Colord.Icc
Object.New in version 1.1.1.
- create_profile_for_icc_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 1.1.1.
- create_profile_for_icc_sync(icc, scope, cancellable)[source]¶
- Parameters:
icc (
Colord.Icc
) – AColord.Icc
scope (
Colord.ObjectScope
) – the scope of the profilecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Creates a color profile from a
Colord.Icc
object.WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 1.1.1.
- create_profile_sync(id, scope, properties, cancellable)[source]¶
- Parameters:
id (
str
) – identifier for the devicescope (
Colord.ObjectScope
) – the scope of the profileproperties ({
str
:str
} orNone
) – properties to set on the profile, orNone
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Creates a color profile.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.2.
- delete_device(device, cancellable, callback, *user_data)[source]¶
- Parameters:
device (
Colord.Device
) – aColord.Device
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Deletes a device.
New in version 0.1.8.
- delete_device_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
success
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- delete_device_sync(device, cancellable)[source]¶
- Parameters:
device (
Colord.Device
) – aColord.Device
.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
True
is the device was deleted- Return type:
Deletes a color device.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.8.
- delete_profile(profile, cancellable, callback, *user_data)[source]¶
- Parameters:
profile (
Colord.Profile
) – aColord.Profile
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Deletes a profile.
New in version 0.1.8.
- delete_profile_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
success
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- delete_profile_sync(profile, cancellable)[source]¶
- Parameters:
profile (
Colord.Profile
) – aColord.Profile
.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
True
is the profile was deleted- Return type:
Deletes a color profile.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.8.
- find_device(id, cancellable, callback, *user_data)[source]¶
- Parameters:
id (
str
) – a device idcancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a device by an ID.
New in version 0.1.8.
- find_device_by_property(key, value, cancellable, callback, *user_data)[source]¶
- Parameters:
key (
str
) – the device property keyvalue (
str
) – the device property valuecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a color device that has a property value.
New in version 0.1.8.
- find_device_by_property_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Device
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- find_device_by_property_sync(key, value, cancellable)[source]¶
- Parameters:
key (
str
) – The device property key.value (
str
) – The device property value.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
A
Colord.Device
object, orNone
for error- Return type:
Finds a color device that has a property value.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.8.
- find_device_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Device
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- find_device_sync(id, cancellable)[source]¶
- Parameters:
id (
str
) – The device ID.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
A
Colord.Device
object, orNone
for error- Return type:
Finds a color device.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- find_profile(id, cancellable, callback, *user_data)[source]¶
- Parameters:
id (
str
) – a profile idcancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a profile by an ID.
New in version 0.1.8.
- find_profile_by_filename(filename, cancellable, callback, *user_data)[source]¶
- Parameters:
filename (
str
) – a profile filenamecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a profile by a filename.
New in version 0.1.8.
- find_profile_by_filename_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- find_profile_by_filename_sync(filename, cancellable)[source]¶
- Parameters:
filename (
str
) – filename for the profilecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Finds a color profile from its filename.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.3.
- find_profile_by_property(key, value, cancellable, callback, *user_data)[source]¶
- Parameters:
key (
str
) – the profile property keyvalue (
str
) – the profile property valuecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a color profile that has a property value.
New in version 0.1.24.
- find_profile_by_property_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.24.
- find_profile_by_property_sync(key, value, cancellable)[source]¶
- Parameters:
key (
str
) – The profile property key.value (
str
) – The profile property value.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Finds a color profile that has a property value.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.24.
- find_profile_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- find_profile_sync(id, cancellable)[source]¶
- Parameters:
id (
str
) – id for the profilecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Finds a color profile from its id.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- find_sensor(id, cancellable, callback, *user_data)[source]¶
- Parameters:
id (
str
) – a sensor idcancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a sensor by an ID.
New in version 0.1.26.
- find_sensor_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Sensor
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.26.
- find_sensor_sync(id, cancellable)[source]¶
- Parameters:
id (
str
) – The sensor ID.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
A
Colord.Sensor
object, orNone
for error- Return type:
Finds a color sensor.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.26.
- get_daemon_version()[source]¶
- Returns:
string containing the daemon version, e.g. “0.1.0”
- Return type:
Get colord daemon version.
New in version 0.1.0.
- get_devices(cancellable, callback, *user_data)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Gets an array of color devices.
New in version 0.1.8.
- get_devices_by_kind(kind, cancellable, callback, *user_data)[source]¶
- Parameters:
kind (
Colord.DeviceKind
) – the type of device.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Gets an array of color devices.
New in version 0.1.8.
- get_devices_by_kind_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
the devices
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- get_devices_by_kind_sync(kind, cancellable)[source]¶
- Parameters:
kind (
Colord.DeviceKind
) – aColord.DeviceKind
, e.g.Colord.DeviceKind.DISPLAY
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
- Raises:
- Returns:
an array of
Colord.Device
objects.- Return type:
Get an array of the device objects of a specified kind.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- get_devices_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
the devices
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- get_devices_sync(cancellable)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
an array of
Colord.Device
objects.- Return type:
Get an array of the device objects.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- get_has_server()[source]¶
-
Gets if the colord server is currently running. WARNING: This function may block for up to 5 seconds waiting for the daemon to start if it is not already running.
New in version 0.1.12.
- get_profiles(cancellable, callback, *user_data)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Gets an array of color profiles.
New in version 0.1.8.
- get_profiles_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
the profiles
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- get_profiles_sync(cancellable)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
an array of
Colord.Profile
objects.- Return type:
Get an array of the profile objects.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- get_sensors(cancellable, callback, *user_data)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Gets an array of color sensors.
New in version 0.1.8.
- get_sensors_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
the sensors
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- get_sensors_sync(cancellable)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
an array of
Colord.Sensor
objects.- Return type:
Get an array of the sensor objects.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.0.
- get_standard_space(standard_space, cancellable, callback, *user_data)[source]¶
- Parameters:
standard_space (
Colord.StandardSpace
) – a profile idcancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Finds a standard profile space.
New in version 0.1.8.
- get_standard_space_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.8.
- get_standard_space_sync(standard_space, cancellable)[source]¶
- Parameters:
standard_space (
Colord.StandardSpace
) – standard colorspace valuecancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Finds a standard colorspace.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.2.
- get_system_model()[source]¶
- Returns:
string containing the system model, e.g. “T61”
- Return type:
Get system model.
New in version 1.0.2.
- get_system_vendor()[source]¶
- Returns:
string containing the system vendor, e.g. “Lenovo”
- Return type:
Get system vendor.
New in version 1.0.2.
- import_profile(file, cancellable, callback, *user_data)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
Gio.AsyncReadyCallback
orNone
) – the function to run on completion
Imports a color profile into the users home directory.
If the profile should be accessible for all users, then call
Colord.Profile.install_system_wide
() on the result.New in version 0.1.12.
- import_profile_finish(res)[source]¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
- Raises:
- Returns:
a
Colord.Profile
orNone
- Return type:
Gets the result from the asynchronous function.
New in version 0.1.12.
- import_profile_sync(file, cancellable)[source]¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
A
Colord.Profile
object, orNone
for error- Return type:
Imports a color profile into the users home directory.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
New in version 0.1.12.
- do_changed() virtual¶
- do_device_added(device) virtual¶
- Parameters:
device (
Colord.Device
) –
- do_device_changed(device) virtual¶
- Parameters:
device (
Colord.Device
) –
- do_device_removed(device) virtual¶
- Parameters:
device (
Colord.Device
) –
- do_profile_added(profile) virtual¶
- Parameters:
profile (
Colord.Profile
) –
- do_profile_changed(profile) virtual¶
- Parameters:
profile (
Colord.Profile
) –
- do_profile_removed(profile) virtual¶
- Parameters:
profile (
Colord.Profile
) –
- do_sensor_added(sensor) virtual¶
- Parameters:
sensor (
Colord.Sensor
) –
- do_sensor_changed(sensor) virtual¶
- Parameters:
sensor (
Colord.Sensor
) –
- do_sensor_removed(sensor) virtual¶
- Parameters:
sensor (
Colord.Sensor
) –
Signal Details¶
- Colord.Client.signals.changed(client)¶
- Signal Name:
changed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signal
The
::changed
signal is emitted when properties may have changed.New in version 0.1.0.
- Colord.Client.signals.device_added(client, device)¶
- Signal Name:
device-added
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signaldevice (
Colord.Device
) – theColord.Device
that was added.
The
::device-added
signal is emitted when a device is added.New in version 0.1.0.
- Colord.Client.signals.device_changed(client, device)¶
- Signal Name:
device-changed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signaldevice (
Colord.Device
) – theColord.Device
that was changed.
The
::device-changed
signal is emitted when a device is changed.New in version 0.1.2.
- Colord.Client.signals.device_removed(client, device)¶
- Signal Name:
device-removed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signaldevice (
Colord.Device
) – theColord.Device
that was removed.
The
::device-removed
signal is emitted when a device is removed.New in version 0.1.0.
- Colord.Client.signals.profile_added(client, profile)¶
- Signal Name:
profile-added
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signalprofile (
Colord.Profile
) – theColord.Profile
that was added.
The
::profile-added
signal is emitted when a profile is added.New in version 0.1.2.
- Colord.Client.signals.profile_changed(client, profile)¶
- Signal Name:
profile-changed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signalprofile (
Colord.Profile
) – theColord.Profile
that was removed.
The
::profile-changed
signal is emitted when a profile is changed.New in version 0.1.2.
- Colord.Client.signals.profile_removed(client, profile)¶
- Signal Name:
profile-removed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signalprofile (
Colord.Profile
) – theColord.Profile
that was removed.
The
::profile-added
signal is emitted when a profile is removed.New in version 0.1.2.
- Colord.Client.signals.sensor_added(client, sensor)¶
- Signal Name:
sensor-added
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signalsensor (
Colord.Sensor
) – theColord.Sensor
that was added.
The
::sensor-added
signal is emitted when a sensor is added.New in version 0.1.6.
- Colord.Client.signals.sensor_changed(client, sensor)¶
- Signal Name:
sensor-changed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signalsensor (
Colord.Sensor
) – theColord.Sensor
that was removed.
The
::sensor-changed
signal is emitted when a sensor is changed.New in version 0.1.6.
- Colord.Client.signals.sensor_removed(client, sensor)¶
- Signal Name:
sensor-removed
- Flags:
- Parameters:
client (
Colord.Client
) – The object which received the signalsensor (
Colord.Sensor
) – theColord.Sensor
that was removed.
The
::sensor-added
signal is emitted when a sensor is removed.New in version 0.1.6.
Property Details¶
- Colord.Client.props.connected¶
-
The if the object path has been connected as is valid for use.
New in version 0.1.9.
- Colord.Client.props.daemon_version¶
-
The daemon version.
New in version 0.1.0.
- Colord.Client.props.system_model¶
-
The system model.
New in version 1.0.2.