Collection.setLabelSync

Set the label of this collection.

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

class Collection
bool
setLabelSync
(
string label
,
Cancellable cancellable
)

Parameters

label string

a new label

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

whether the change was successful or not

Throws

GException on failure.

Meta