create_profile_sync


Description:

[ Version ( since = "0.1.2" ) ]
public Profile create_profile_sync (string id, ObjectScope scope, HashTable<string,string>? properties, Cancellable? cancellable = null) throws Error

Creates a color profile.

WARNING: This function is synchronous, and may block. Do not use it in GUI applications.

Parameters:

this

a Client instance.

id

identifier for the device

scope

the scope of the profile

properties

properties to set on the profile, or null

cancellable

a Cancellable, or null

Returns:

A Profile object, or null for error