Profile
Object Hierarchy:
Description:
Namespace: Cd
Package: colord
Content:
Properties:
- public string colorspace { get; }
The profile colorspace.
- public string connected { get; }
The if the object path has been connected as is valid for use.
- public int64 created { get; }
When the profile was created.
- public string filename { get; }
The profile filename.
- public string format { get; }
The profile format.
- public string has_vcgt { get; }
If the profile has a VCGT table.
- public string id { get; }
The profile ID.
- public string is_system_wide { get; }
If the profile is installed system wide for all users.
- public string kind { get; }
The profile kind.
- public string object_path { get; set construct; }
The object path of the remote object
- public uint owner { get; }
The profile owner, e.
- public string qualifier { get; }
The profile qualifier.
- public uint scope { get; }
The profile scope, e.
- public string title { get; }
The profile title.
- public string[] warnings { get; }
The profile warnings, e.
Static methods:
- public static ProfileError error_from_string (string error_desc)
Converts a string to a ProfileError.
- public static Quark error_quark ()
- public static unowned string error_to_string (ProfileError error_enum)
Converts a ProfileError to a string.
- public static ProfileKind kind_from_string (string profile_kind)
- public static unowned string kind_to_string (ProfileKind profile_kind)
- public static ProfileQuality quality_from_string (string quality)
Converts a string to a ProfileQuality.
- public static unowned string quality_to_string (ProfileQuality quality_enum)
Converts a ProfileQuality to a string.
- public static ProfileWarning warning_from_string (string type)
Converts a string to a ProfileWarning.
- public static unowned string warning_to_string (ProfileWarning kind_enum)
Converts a ProfileWarning to a string.
Creation methods:
- public Profile ()
Creates a new Profile object.
- public Profile.with_object_path (string object_path)
Creates a new Profile object with a known object path.
Methods:
- public async bool connect (Cancellable? cancellable) throws Error
Connects to the object and fills up initial properties.
- public bool connect_sync (Cancellable? cancellable = null) throws Error
Connects to the object and fills up initial properties.
- public bool equal (Profile profile2)
Tests two profiles for equality.
- public int64 get_age ()
Gets the profile age in seconds relative to the current time.
- public Colorspace get_colorspace ()
Gets the profile colorspace.
- public bool get_connected ()
Gets if the profile has been connected.
- public int64 get_created ()
Gets the profile created date and time.
- public unowned string get_filename ()
Gets the profile filename.
- public unowned string get_format ()
Gets the profile format.
- public bool get_has_vcgt ()
Returns if the profile has a VCGT table.
- public unowned string get_id ()
Gets the profile ID.
- public bool get_is_system_wide ()
Returns if the profile is installed system wide and available for all users.
- public ProfileKind get_kind ()
Gets the profile kind.
- public HashTable<unowned string,unowned string> get_metadata ()
Returns the profile metadata.
- public unowned string get_metadata_item (string key)
Returns the profile metadata for a specific key.
- public unowned string get_object_path ()
Gets the object path for the profile.
- public uint get_owner ()
Gets the profile owner.
- public unowned string get_qualifier ()
Gets the profile qualifier.
- public ObjectScope get_scope ()
Gets the profile scope.
- public unowned string get_title ()
Gets the profile title.
- public unowned string[] get_warnings ()
Gets the profile warnings as a string array.
- public bool has_access ()
Gets if the current user has access permissions to the profile.
- public async bool install_system_wide (Cancellable? cancellable) throws Error
Sets the profile system wide.
- public bool install_system_wide_sync (Cancellable? cancellable = null) throws Error
Sets the profile system wide.
- public Icc load_icc (IccLoadFlags flags, Cancellable? cancellable = null) throws Error
Loads a local ICC object from the abstract profile.
- public void set_object_path (string object_path)
Sets the object path of the profile.
- public async bool set_property (string key, string value, Cancellable? cancellable) throws Error
Deletes a color device.
- public bool set_property_sync (string key, string value, Cancellable? cancellable = null) throws Error
Sets properties on an object
- public string to_string ()
Converts the profile to a string description.
Signals:
- public virtual signal void changed ()
The changed signal is emitted when the profile data has changed.
Inherited Members:
All known members inherited from class GLib.Object