Collection.setLabelSync

bool setLabelSync(string label, gio.cancellable.Cancellable cancellable = null)

Set the label of this collection.

This function may block indefinitely. Use the asynchronous version in user interface threads.

Parameters

labela new label
cancellableoptional cancellation object

Returns

whether the change was successful or not

Throws

[ErrorWrap]