set_colorspace_sync


Description:

[ Version ( since = "0.1.1" ) ]
public bool set_colorspace_sync (Colorspace colorspace, Cancellable? cancellable = null) throws Error

Sets the device kind.

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

Parameters:

this

a Device instance.

colorspace

The device colorspace, e.g. RGB

cancellable

a Cancellable or null

Returns:

TRUE for success, else FALSE and throws is used