Item.setSecretSync

Set the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

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

class Item
bool
setSecretSync
(,
Cancellable cancellable
)

Parameters

value Value

a new secret value

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

whether the change was successful or not

Throws

GException on failure.

Meta