Item.this

Get a new item proxy for a secret item in the secret service.

If @service is NULL, then secret_service_get_sync() will be called to get the default #SecretService proxy.

This method may block indefinitely and should not be used in user interface threads.

  1. this(SecretItem* secretItem, bool ownedRef)
  2. this(AsyncResultIF result)
  3. this(Service service, string itemPath, SecretItemFlags flags, Cancellable cancellable)
    class Item
    this
    (,
    string itemPath
    ,
    SecretItemFlags flags
    ,
    Cancellable cancellable
    )

Parameters

service Service

a secret service object

itemPath string

the D-Bus path of the item

flags SecretItemFlags

initialization flags for the new item

cancellable Cancellable

optional cancellation object

Return Value

the new item, which should be unreferenced with g_object_unref()

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta