set_property_sync


Description:

[ Version ( since = "0.1.8" ) ]
public bool set_property_sync (string key, string value, Cancellable? cancellable = null) throws Error

Sets an object property.

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

Parameters:

this

a Device instance.

key

The property key

value

The property value

cancellable

a Cancellable or null

Returns:

true for success, else false.