Item.setLabel

void setLabel(string label, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Set the label of this item.

This function returns immediately and completes asynchronously.

Parameters

labela new label
cancellableoptional cancellation object
callbackcalled when the operation completes