set_label_sync


Description:

public bool set_label_sync (string label, Cancellable? cancellable = null) throws Error

Set the label of this item.

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

Parameters:

this

an item

label

a new label

cancellable

optional cancellation object

Returns:

whether the change was successful or not