Profile
Object Hierarchy:
Description:
[ CCode ( type_id = "cd_profile_get_type ()" ) ]
public class Profile : Object
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:
Creation methods:
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:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref