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

Parameters

label string

a new label

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: bool

whether the change was successful or not