Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Secret.Objects.Collection
Contents
Description
A proxy object representing a collection of secrets in the Secret Service.
Collection
represents a collection of secret items stored in the
Secret Service.
A collection can be in a locked or unlocked state. Use
[methodsecretService
.lock] or [methodsecretService
.unlock] to lock or
unlock the collection.
Use the [propertysecretCollection
:items] property or
[methodsecretCollection
.get_items] to lookup the items in the collection.
There may not be any items exposed when the collection is locked.
Synopsis
- newtype Collection = Collection (ManagedPtr Collection)
- class (GObject o, IsDescendantOf Collection o) => IsCollection o
- toCollection :: (MonadIO m, IsCollection o) => o -> m Collection
- type family ResolveCollectionMethod (t :: Symbol) o where ...
- collectionCreate :: (HasCallStack, MonadIO m, IsService a, IsCancellable b) => Maybe a -> Text -> Maybe Text -> [CollectionCreateFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- collectionCreateFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m Collection
- collectionCreateSync :: (HasCallStack, MonadIO m, IsService a, IsCancellable b) => Maybe a -> Text -> Maybe Text -> [CollectionCreateFlags] -> Maybe b -> m Collection
- data CollectionDeleteMethodInfo
- collectionDelete :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data CollectionDeleteFinishMethodInfo
- collectionDeleteFinish :: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) => a -> b -> m ()
- data CollectionDeleteSyncMethodInfo
- collectionDeleteSync :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Maybe b -> m ()
- collectionForAlias :: (HasCallStack, MonadIO m, IsService a, IsCancellable b) => Maybe a -> Text -> [CollectionFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- collectionForAliasFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m (Maybe Collection)
- collectionForAliasSync :: (HasCallStack, MonadIO m, IsService a, IsCancellable b) => Maybe a -> Text -> [CollectionFlags] -> Maybe b -> m (Maybe Collection)
- data CollectionGetCreatedMethodInfo
- collectionGetCreated :: (HasCallStack, MonadIO m, IsCollection a) => a -> m Word64
- data CollectionGetFlagsMethodInfo
- collectionGetFlags :: (HasCallStack, MonadIO m, IsCollection a) => a -> m [CollectionFlags]
- data CollectionGetItemsMethodInfo
- collectionGetItems :: (HasCallStack, MonadIO m, IsCollection a) => a -> m [Item]
- data CollectionGetLabelMethodInfo
- collectionGetLabel :: (HasCallStack, MonadIO m, IsCollection a) => a -> m Text
- data CollectionGetLockedMethodInfo
- collectionGetLocked :: (HasCallStack, MonadIO m, IsCollection a) => a -> m Bool
- data CollectionGetModifiedMethodInfo
- collectionGetModified :: (HasCallStack, MonadIO m, IsCollection a) => a -> m Word64
- data CollectionGetServiceMethodInfo
- collectionGetService :: (HasCallStack, MonadIO m, IsCollection a) => a -> m Service
- data CollectionLoadItemsMethodInfo
- collectionLoadItems :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data CollectionLoadItemsFinishMethodInfo
- collectionLoadItemsFinish :: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) => a -> b -> m ()
- data CollectionLoadItemsSyncMethodInfo
- collectionLoadItemsSync :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Maybe b -> m ()
- data CollectionRefreshMethodInfo
- collectionRefresh :: (HasCallStack, MonadIO m, IsCollection a) => a -> m ()
- data CollectionSearchMethodInfo
- collectionSearch :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Maybe Schema -> Map Text Text -> [SearchFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data CollectionSearchFinishMethodInfo
- collectionSearchFinish :: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) => a -> b -> m [Item]
- data CollectionSearchSyncMethodInfo
- collectionSearchSync :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Maybe Schema -> Map Text Text -> [SearchFlags] -> Maybe b -> m [Item]
- data CollectionSetLabelMethodInfo
- collectionSetLabel :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data CollectionSetLabelFinishMethodInfo
- collectionSetLabelFinish :: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) => a -> b -> m ()
- data CollectionSetLabelSyncMethodInfo
- collectionSetLabelSync :: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) => a -> Text -> Maybe b -> m ()
- data CollectionCreatedPropertyInfo
- collectionCreated :: AttrLabelProxy "created"
- constructCollectionCreated :: (IsCollection o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getCollectionCreated :: (MonadIO m, IsCollection o) => o -> m Word64
- setCollectionCreated :: (MonadIO m, IsCollection o) => o -> Word64 -> m ()
- data CollectionFlagsPropertyInfo
- collectionFlags :: AttrLabelProxy "flags"
- constructCollectionFlags :: (IsCollection o, MonadIO m) => [CollectionFlags] -> m (GValueConstruct o)
- getCollectionFlags :: (MonadIO m, IsCollection o) => o -> m [CollectionFlags]
- data CollectionLabelPropertyInfo
- clearCollectionLabel :: (MonadIO m, IsCollection o) => o -> m ()
- collectionLabel :: AttrLabelProxy "label"
- constructCollectionLabel :: (IsCollection o, MonadIO m) => Text -> m (GValueConstruct o)
- getCollectionLabel :: (MonadIO m, IsCollection o) => o -> m (Maybe Text)
- setCollectionLabel :: (MonadIO m, IsCollection o) => o -> Text -> m ()
- data CollectionLockedPropertyInfo
- collectionLocked :: AttrLabelProxy "locked"
- getCollectionLocked :: (MonadIO m, IsCollection o) => o -> m Bool
- data CollectionModifiedPropertyInfo
- collectionModified :: AttrLabelProxy "modified"
- constructCollectionModified :: (IsCollection o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getCollectionModified :: (MonadIO m, IsCollection o) => o -> m Word64
- setCollectionModified :: (MonadIO m, IsCollection o) => o -> Word64 -> m ()
- data CollectionServicePropertyInfo
- collectionService :: AttrLabelProxy "service"
- constructCollectionService :: (IsCollection o, MonadIO m, IsService a) => a -> m (GValueConstruct o)
- getCollectionService :: (MonadIO m, IsCollection o) => o -> m Service
Exported types
newtype Collection Source #
Memory-managed wrapper type.
Constructors
Collection (ManagedPtr Collection) |
Instances
class (GObject o, IsDescendantOf Collection o) => IsCollection o Source #
Type class for types which can be safely cast to Collection
, for instance with toCollection
.
Instances
(GObject o, IsDescendantOf Collection o) => IsCollection o Source # | |
Defined in GI.Secret.Objects.Collection |
toCollection :: (MonadIO m, IsCollection o) => o -> m Collection Source #
Cast to Collection
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, call, callFinish, callSync, callWithUnixFdList, callWithUnixFdListFinish, callWithUnixFdListSync, delete, deleteFinish, deleteSync, forceFloating, freezeNotify, getv, init, initAsync, initFinish, isFloating, loadItems, loadItemsFinish, loadItemsSync, notify, notifyByPspec, ref, refSink, refresh, runDispose, search, searchFinish, searchSync, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getCachedProperty, getCachedPropertyNames, getConnection, getCreated, getData, getDefaultTimeout, getFlags, getInfo, getInterfaceInfo, getInterfaceName, getItems, getLabel, getLocked, getModified, getName, getNameOwner, getObject, getObjectPath, getProperty, getQdata, getService.
Setters
setCachedProperty, setData, setDataFull, setDefaultTimeout, setInterfaceInfo, setLabel, setLabelFinish, setLabelSync, setObject, setProperty.
type family ResolveCollectionMethod (t :: Symbol) o where ... Source #
Equations
ResolveCollectionMethod "bindProperty" o = ObjectBindPropertyMethodInfo | |
ResolveCollectionMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo | |
ResolveCollectionMethod "call" o = DBusProxyCallMethodInfo | |
ResolveCollectionMethod "callFinish" o = DBusProxyCallFinishMethodInfo | |
ResolveCollectionMethod "callSync" o = DBusProxyCallSyncMethodInfo | |
ResolveCollectionMethod "callWithUnixFdList" o = DBusProxyCallWithUnixFdListMethodInfo | |
ResolveCollectionMethod "callWithUnixFdListFinish" o = DBusProxyCallWithUnixFdListFinishMethodInfo | |
ResolveCollectionMethod "callWithUnixFdListSync" o = DBusProxyCallWithUnixFdListSyncMethodInfo | |
ResolveCollectionMethod "delete" o = CollectionDeleteMethodInfo | |
ResolveCollectionMethod "deleteFinish" o = CollectionDeleteFinishMethodInfo | |
ResolveCollectionMethod "deleteSync" o = CollectionDeleteSyncMethodInfo | |
ResolveCollectionMethod "forceFloating" o = ObjectForceFloatingMethodInfo | |
ResolveCollectionMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo | |
ResolveCollectionMethod "getv" o = ObjectGetvMethodInfo | |
ResolveCollectionMethod "init" o = InitableInitMethodInfo | |
ResolveCollectionMethod "initAsync" o = AsyncInitableInitAsyncMethodInfo | |
ResolveCollectionMethod "initFinish" o = AsyncInitableInitFinishMethodInfo | |
ResolveCollectionMethod "isFloating" o = ObjectIsFloatingMethodInfo | |
ResolveCollectionMethod "loadItems" o = CollectionLoadItemsMethodInfo | |
ResolveCollectionMethod "loadItemsFinish" o = CollectionLoadItemsFinishMethodInfo | |
ResolveCollectionMethod "loadItemsSync" o = CollectionLoadItemsSyncMethodInfo | |
ResolveCollectionMethod "notify" o = ObjectNotifyMethodInfo | |
ResolveCollectionMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo | |
ResolveCollectionMethod "ref" o = ObjectRefMethodInfo | |
ResolveCollectionMethod "refSink" o = ObjectRefSinkMethodInfo | |
ResolveCollectionMethod "refresh" o = CollectionRefreshMethodInfo | |
ResolveCollectionMethod "runDispose" o = ObjectRunDisposeMethodInfo | |
ResolveCollectionMethod "search" o = CollectionSearchMethodInfo | |
ResolveCollectionMethod "searchFinish" o = CollectionSearchFinishMethodInfo | |
ResolveCollectionMethod "searchSync" o = CollectionSearchSyncMethodInfo | |
ResolveCollectionMethod "stealData" o = ObjectStealDataMethodInfo | |
ResolveCollectionMethod "stealQdata" o = ObjectStealQdataMethodInfo | |
ResolveCollectionMethod "thawNotify" o = ObjectThawNotifyMethodInfo | |
ResolveCollectionMethod "unref" o = ObjectUnrefMethodInfo | |
ResolveCollectionMethod "watchClosure" o = ObjectWatchClosureMethodInfo | |
ResolveCollectionMethod "getCachedProperty" o = DBusProxyGetCachedPropertyMethodInfo | |
ResolveCollectionMethod "getCachedPropertyNames" o = DBusProxyGetCachedPropertyNamesMethodInfo | |
ResolveCollectionMethod "getConnection" o = DBusProxyGetConnectionMethodInfo | |
ResolveCollectionMethod "getCreated" o = CollectionGetCreatedMethodInfo | |
ResolveCollectionMethod "getData" o = ObjectGetDataMethodInfo | |
ResolveCollectionMethod "getDefaultTimeout" o = DBusProxyGetDefaultTimeoutMethodInfo | |
ResolveCollectionMethod "getFlags" o = CollectionGetFlagsMethodInfo | |
ResolveCollectionMethod "getInfo" o = DBusInterfaceGetInfoMethodInfo | |
ResolveCollectionMethod "getInterfaceInfo" o = DBusProxyGetInterfaceInfoMethodInfo | |
ResolveCollectionMethod "getInterfaceName" o = DBusProxyGetInterfaceNameMethodInfo | |
ResolveCollectionMethod "getItems" o = CollectionGetItemsMethodInfo | |
ResolveCollectionMethod "getLabel" o = CollectionGetLabelMethodInfo | |
ResolveCollectionMethod "getLocked" o = CollectionGetLockedMethodInfo | |
ResolveCollectionMethod "getModified" o = CollectionGetModifiedMethodInfo | |
ResolveCollectionMethod "getName" o = DBusProxyGetNameMethodInfo | |
ResolveCollectionMethod "getNameOwner" o = DBusProxyGetNameOwnerMethodInfo | |
ResolveCollectionMethod "getObject" o = DBusInterfaceGetObjectMethodInfo | |
ResolveCollectionMethod "getObjectPath" o = DBusProxyGetObjectPathMethodInfo | |
ResolveCollectionMethod "getProperty" o = ObjectGetPropertyMethodInfo | |
ResolveCollectionMethod "getQdata" o = ObjectGetQdataMethodInfo | |
ResolveCollectionMethod "getService" o = CollectionGetServiceMethodInfo | |
ResolveCollectionMethod "setCachedProperty" o = DBusProxySetCachedPropertyMethodInfo | |
ResolveCollectionMethod "setData" o = ObjectSetDataMethodInfo | |
ResolveCollectionMethod "setDataFull" o = ObjectSetDataFullMethodInfo | |
ResolveCollectionMethod "setDefaultTimeout" o = DBusProxySetDefaultTimeoutMethodInfo | |
ResolveCollectionMethod "setInterfaceInfo" o = DBusProxySetInterfaceInfoMethodInfo | |
ResolveCollectionMethod "setLabel" o = CollectionSetLabelMethodInfo | |
ResolveCollectionMethod "setLabelFinish" o = CollectionSetLabelFinishMethodInfo | |
ResolveCollectionMethod "setLabelSync" o = CollectionSetLabelSyncMethodInfo | |
ResolveCollectionMethod "setObject" o = DBusInterfaceSetObjectMethodInfo | |
ResolveCollectionMethod "setProperty" o = ObjectSetPropertyMethodInfo | |
ResolveCollectionMethod l o = MethodResolutionFailed l o :: Type |
create
Arguments
:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) | |
=> Maybe a |
|
-> Text |
|
-> Maybe Text |
|
-> [CollectionCreateFlags] |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
Create a new collection in the secret service.
This method returns immediately and completes asynchronously. The secret
service may prompt the user. [methodservice
.prompt] will be used to handle
any prompts that are required.
An alias
is a well-known tag for a collection, such as 'default' (ie: the
default collection to store items in). This allows other applications to
easily identify and share a collection. If you specify an alias
, and a
collection with that alias already exists, then a new collection will not
be created. The previous one will be returned instead.
If service
is Nothing
, then Service.get
will be called to get the
default [classservice
] proxy.
createFinish
collectionCreateFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsAsyncResult a) | |
=> a |
|
-> m Collection | Returns: the new collection, which should be unreferenced
with |
Finish operation to create a new collection in the secret service.
createSync
Arguments
:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) | |
=> Maybe a |
|
-> Text |
|
-> Maybe Text |
|
-> [CollectionCreateFlags] |
|
-> Maybe b |
|
-> m Collection | Returns: the new collection, which should be unreferenced
with |
Create a new collection in the secret service.
This method may block indefinitely and should not be used in user interface
threads. The secret service may prompt the user. [methodservice
.prompt]
will be used to handle any prompts that are required.
An alias
is a well-known tag for a collection, such as default
(ie: the
default collection to store items in). This allows other applications to
easily identify and share a collection. If you specify an alias
, and a
collection with that alias already exists, then a new collection will not
be created. The previous one will be returned instead.
If service
is Nothing
, then Service.get_sync
will be called to get the
default [classservice
] proxy.
delete
data CollectionDeleteMethodInfo Source #
Instances
(signature ~ (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionDeleteMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionDeleteMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
Delete this collection.
This method returns immediately and completes asynchronously. The secret
service may prompt the user. [methodservice
.prompt] will be used to handle
any prompts that show up.
deleteFinish
data CollectionDeleteFinishMethodInfo Source #
Instances
(signature ~ (b -> m ()), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionDeleteFinishMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionDeleteFinishMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionDeleteFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) | |
=> a |
|
-> b |
|
-> m () | (Can throw |
Complete operation to delete this collection.
deleteSync
data CollectionDeleteSyncMethodInfo Source #
Instances
(signature ~ (Maybe b -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionDeleteSyncMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionDeleteSyncMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Delete this collection.
This method may block indefinitely and should not be used in user interface
threads. The secret service may prompt the user. [methodservice
.prompt] will
be used to handle any prompts that show up.
forAlias
Arguments
:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) | |
=> Maybe a |
|
-> Text |
|
-> [CollectionFlags] |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as 'default'.
If service
is Nothing
, then Service.get
will be called to get the
default [classservice
] proxy.
This method will return immediately and complete asynchronously.
forAliasFinish
collectionForAliasFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsAsyncResult a) | |
=> a |
|
-> m (Maybe Collection) | Returns: the collection, or |
Finish an asynchronous operation to lookup which collection is assigned to an alias.
forAliasSync
collectionForAliasSync Source #
Arguments
:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) | |
=> Maybe a |
|
-> Text |
|
-> [CollectionFlags] |
|
-> Maybe b |
|
-> m (Maybe Collection) | Returns: the collection, or |
Lookup which collection is assigned to this alias. Aliases help determine
well known collections, such as default
.
If service
is Nothing
, then Service.get_sync
will be called to get the
default [classservice
] proxy.
This method may block and should not be used in user interface threads.
getCreated
data CollectionGetCreatedMethodInfo Source #
Instances
(signature ~ m Word64, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetCreatedMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetCreatedMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m Word64 | Returns: the created date and time |
Get the created date and time of the collection.
The return value is the number of seconds since the unix epoch, January 1st 1970.
getFlags
data CollectionGetFlagsMethodInfo Source #
Instances
(signature ~ m [CollectionFlags], MonadIO m, IsCollection a) => OverloadedMethod CollectionGetFlagsMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetFlagsMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m [CollectionFlags] | Returns: the flags for features initialized |
Get the flags representing what features of the Collection
proxy
have been initialized.
Use [methodcollection
.load_items] to initialize further features and change
the flags.
getItems
data CollectionGetItemsMethodInfo Source #
Instances
(signature ~ m [Item], MonadIO m, IsCollection a) => OverloadedMethod CollectionGetItemsMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetItemsMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m [Item] | Returns: a list of items, when
done, the list should be freed with |
Get the list of items in this collection.
getLabel
data CollectionGetLabelMethodInfo Source #
Instances
(signature ~ m Text, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetLabelMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetLabelMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m Text | Returns: the label, which should be freed with
|
Get the label of this collection.
getLocked
data CollectionGetLockedMethodInfo Source #
Instances
(signature ~ m Bool, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetLockedMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetLockedMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m Bool | Returns: whether the collection is locked or not |
Get whether the collection is locked or not.
Use [methodservice
.lock] or [methodservice
.unlock] to lock or unlock the
collection.
getModified
data CollectionGetModifiedMethodInfo Source #
Instances
(signature ~ m Word64, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetModifiedMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetModifiedMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionGetModified Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m Word64 | Returns: the modified date and time |
Get the modified date and time of the collection.
The return value is the number of seconds since the unix epoch, January 1st 1970.
getService
data CollectionGetServiceMethodInfo Source #
Instances
(signature ~ m Service, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetServiceMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionGetServiceMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m Service | Returns: the Secret Service object |
Get the Secret Service object that this collection was created with.
loadItems
data CollectionLoadItemsMethodInfo Source #
Instances
(signature ~ (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionLoadItemsMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionLoadItemsMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
Ensure that the Collection
proxy has loaded all the items present
in the Secret Service.
This affects the result of [methodcollection
.get_items].
For collections returned from [methodservice
.get_collections] the items will
have already been loaded.
This method will return immediately and complete asynchronously.
loadItemsFinish
data CollectionLoadItemsFinishMethodInfo Source #
Instances
(signature ~ (b -> m ()), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionLoadItemsFinishMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionLoadItemsFinishMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionLoadItemsFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) | |
=> a |
|
-> b |
|
-> m () | (Can throw |
Complete an asynchronous operation to ensure that the Collection
proxy
has loaded all the items present in the Secret Service.
loadItemsSync
data CollectionLoadItemsSyncMethodInfo Source #
Instances
(signature ~ (Maybe b -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionLoadItemsSyncMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionLoadItemsSyncMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionLoadItemsSync Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Ensure that the Collection
proxy has loaded all the items present
in the Secret Service. This affects the result of
[methodcollection
.get_items].
For collections returned from [methodservice
.get_collections] the items
will have already been loaded.
This method may block indefinitely and should not be used in user interface threads.
refresh
data CollectionRefreshMethodInfo Source #
Instances
(signature ~ m (), MonadIO m, IsCollection a) => OverloadedMethod CollectionRefreshMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionRefreshMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a) | |
=> a |
|
-> m () |
Refresh the properties on this collection. This fires off a request to refresh, and the properties will be updated later.
Calling this method is not normally necessary, as the secret service will notify the client when properties change.
search
data CollectionSearchMethodInfo Source #
Instances
(signature ~ (Maybe Schema -> Map Text Text -> [SearchFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSearchMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionSearchMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Maybe Schema |
|
-> Map Text Text |
|
-> [SearchFlags] |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
Search for items matching the attributes
in the collection
.
The attributes
should be a table of string keys and string values.
If SearchFlagsAll
is set in flags
, then all the items matching the
search will be returned. Otherwise only the first item will be returned.
This is almost always the unlocked item that was most recently stored.
If SearchFlagsUnlock
is set in flags
, then items will be unlocked
if necessary. In either case, locked and unlocked items will match the
search and be returned. If the unlock fails, the search does not fail.
If SearchFlagsLoadSecrets
is set in flags
, then the items will have
their secret values loaded and available via [methoditem
.get_secret].
This function returns immediately and completes asynchronously.
searchFinish
data CollectionSearchFinishMethodInfo Source #
Instances
(signature ~ (b -> m [Item]), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionSearchFinishMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionSearchFinishMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionSearchFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) | |
=> a |
|
-> b |
|
-> m [Item] | Returns:
a list of items that matched the search (Can throw |
Complete asynchronous operation to search for items in a collection.
searchSync
data CollectionSearchSyncMethodInfo Source #
Instances
(signature ~ (Maybe Schema -> Map Text Text -> [SearchFlags] -> Maybe b -> m [Item]), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSearchSyncMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionSearchSyncMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Maybe Schema |
|
-> Map Text Text |
|
-> [SearchFlags] |
|
-> Maybe b |
|
-> m [Item] | Returns:
a list of items that matched the search (Can throw |
Search for items matching the attributes
in the collection
.
The attributes
should be a table of string keys and string values.
If SearchFlagsAll
is set in flags
, then all the items matching the
search will be returned. Otherwise only the first item will be returned.
This is almost always the unlocked item that was most recently stored.
If SearchFlagsUnlock
is set in flags
, then items will be unlocked
if necessary. In either case, locked and unlocked items will match the
search and be returned. If the unlock fails, the search does not fail.
If SearchFlagsLoadSecrets
is set in flags
, then the items will have
their secret values loaded and available via [methoditem
.get_secret].
This function may block indefinitely. Use the asynchronous version in user interface threads.
setLabel
data CollectionSetLabelMethodInfo Source #
Instances
(signature ~ (Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSetLabelMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionSetLabelMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Text |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
Set the label of this collection.
This function returns immediately and completes asynchronously.
setLabelFinish
data CollectionSetLabelFinishMethodInfo Source #
Instances
(signature ~ (b -> m ()), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionSetLabelFinishMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionSetLabelFinishMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionSetLabelFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) | |
=> a |
|
-> b |
|
-> m () | (Can throw |
Complete asynchronous operation to set the label of this collection.
setLabelSync
data CollectionSetLabelSyncMethodInfo Source #
Instances
(signature ~ (Text -> Maybe b -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSetLabelSyncMethodInfo a signature Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethod :: a -> signature | |
OverloadedMethodInfo CollectionSetLabelSyncMethodInfo (a :: Type) Source # | |
Defined in GI.Secret.Objects.Collection Methods overloadedMethodInfo :: Maybe ResolvedSymbolInfo |
collectionSetLabelSync Source #
Arguments
:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) | |
=> a |
|
-> Text |
|
-> Maybe b |
|
-> m () | (Can throw |
Set the label of this collection.
This function may block indefinitely. Use the asynchronous version in user interface threads.
Properties
created
The date and time (in seconds since the UNIX epoch) that this collection was created.
data CollectionCreatedPropertyInfo Source #
Instances
collectionCreated :: AttrLabelProxy "created" Source #
constructCollectionCreated :: (IsCollection o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “created
” property. This is rarely needed directly, but it is used by new
.
getCollectionCreated :: (MonadIO m, IsCollection o) => o -> m Word64 Source #
Get the value of the “created
” property.
When overloading is enabled, this is equivalent to
get
collection #created
setCollectionCreated :: (MonadIO m, IsCollection o) => o -> Word64 -> m () Source #
Set the value of the “created
” property.
When overloading is enabled, this is equivalent to
set
collection [ #created:=
value ]
flags
A set of flags describing which parts of the secret collection have been initialized.
data CollectionFlagsPropertyInfo Source #
Instances
AttrInfo CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection Associated Types
Methods attrGet :: AttrBaseTypeConstraint CollectionFlagsPropertyInfo o => o -> IO (AttrGetType CollectionFlagsPropertyInfo) attrSet :: (AttrBaseTypeConstraint CollectionFlagsPropertyInfo o, AttrSetTypeConstraint CollectionFlagsPropertyInfo b) => o -> b -> IO () attrClear :: AttrBaseTypeConstraint CollectionFlagsPropertyInfo o => o -> IO () attrConstruct :: (AttrBaseTypeConstraint CollectionFlagsPropertyInfo o, AttrSetTypeConstraint CollectionFlagsPropertyInfo b) => b -> IO (GValueConstruct o) attrTransfer :: (AttrBaseTypeConstraint CollectionFlagsPropertyInfo o, AttrTransferTypeConstraint CollectionFlagsPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionFlagsPropertyInfo) dbgAttrInfo :: Maybe ResolvedSymbolInfo | |||||||||||||||||||||||||||||||||
type AttrAllowedOps CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrAllowedOps CollectionFlagsPropertyInfo = '['AttrConstruct, 'AttrGet] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrGetType CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrLabel CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrLabel CollectionFlagsPropertyInfo = "flags" | |||||||||||||||||||||||||||||||||
type AttrOrigin CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferType CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint CollectionFlagsPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection |
collectionFlags :: AttrLabelProxy "flags" Source #
constructCollectionFlags :: (IsCollection o, MonadIO m) => [CollectionFlags] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “flags
” property. This is rarely needed directly, but it is used by new
.
getCollectionFlags :: (MonadIO m, IsCollection o) => o -> m [CollectionFlags] Source #
Get the value of the “flags
” property.
When overloading is enabled, this is equivalent to
get
collection #flags
label
The human readable label for the collection.
Setting this property will result in the label of the collection being
set asynchronously. To properly track the changing of the label use the
[methodcollection
.set_label] function.
data CollectionLabelPropertyInfo Source #
Instances
AttrInfo CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection Associated Types
Methods attrGet :: AttrBaseTypeConstraint CollectionLabelPropertyInfo o => o -> IO (AttrGetType CollectionLabelPropertyInfo) attrSet :: (AttrBaseTypeConstraint CollectionLabelPropertyInfo o, AttrSetTypeConstraint CollectionLabelPropertyInfo b) => o -> b -> IO () attrClear :: AttrBaseTypeConstraint CollectionLabelPropertyInfo o => o -> IO () attrConstruct :: (AttrBaseTypeConstraint CollectionLabelPropertyInfo o, AttrSetTypeConstraint CollectionLabelPropertyInfo b) => b -> IO (GValueConstruct o) attrTransfer :: (AttrBaseTypeConstraint CollectionLabelPropertyInfo o, AttrTransferTypeConstraint CollectionLabelPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionLabelPropertyInfo) dbgAttrInfo :: Maybe ResolvedSymbolInfo | |||||||||||||||||||||||||||||||||
type AttrAllowedOps CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrAllowedOps CollectionLabelPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrGetType CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrLabel CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrLabel CollectionLabelPropertyInfo = "label" | |||||||||||||||||||||||||||||||||
type AttrOrigin CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferType CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint CollectionLabelPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection |
clearCollectionLabel :: (MonadIO m, IsCollection o) => o -> m () Source #
Set the value of the “label
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#label
collectionLabel :: AttrLabelProxy "label" Source #
constructCollectionLabel :: (IsCollection o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “label
” property. This is rarely needed directly, but it is used by new
.
getCollectionLabel :: (MonadIO m, IsCollection o) => o -> m (Maybe Text) Source #
Get the value of the “label
” property.
When overloading is enabled, this is equivalent to
get
collection #label
setCollectionLabel :: (MonadIO m, IsCollection o) => o -> Text -> m () Source #
Set the value of the “label
” property.
When overloading is enabled, this is equivalent to
set
collection [ #label:=
value ]
locked
Whether the collection is locked or not.
To lock or unlock a collection use the [methodservice
.lock] or
[methodservice
.unlock] functions.
data CollectionLockedPropertyInfo Source #
Instances
AttrInfo CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection Associated Types
Methods attrGet :: AttrBaseTypeConstraint CollectionLockedPropertyInfo o => o -> IO (AttrGetType CollectionLockedPropertyInfo) attrSet :: (AttrBaseTypeConstraint CollectionLockedPropertyInfo o, AttrSetTypeConstraint CollectionLockedPropertyInfo b) => o -> b -> IO () attrClear :: AttrBaseTypeConstraint CollectionLockedPropertyInfo o => o -> IO () attrConstruct :: (AttrBaseTypeConstraint CollectionLockedPropertyInfo o, AttrSetTypeConstraint CollectionLockedPropertyInfo b) => b -> IO (GValueConstruct o) attrTransfer :: (AttrBaseTypeConstraint CollectionLockedPropertyInfo o, AttrTransferTypeConstraint CollectionLockedPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionLockedPropertyInfo) dbgAttrInfo :: Maybe ResolvedSymbolInfo | |||||||||||||||||||||||||||||||||
type AttrAllowedOps CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrAllowedOps CollectionLockedPropertyInfo = '['AttrGet] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrGetType CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrLabel CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrLabel CollectionLockedPropertyInfo = "locked" | |||||||||||||||||||||||||||||||||
type AttrOrigin CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferType CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrTransferType CollectionLockedPropertyInfo = () | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint CollectionLockedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection |
collectionLocked :: AttrLabelProxy "locked" Source #
getCollectionLocked :: (MonadIO m, IsCollection o) => o -> m Bool Source #
Get the value of the “locked
” property.
When overloading is enabled, this is equivalent to
get
collection #locked
modified
The date and time (in seconds since the UNIX epoch) that this collection was last modified.
data CollectionModifiedPropertyInfo Source #
Instances
AttrInfo CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection Associated Types
Methods attrGet :: AttrBaseTypeConstraint CollectionModifiedPropertyInfo o => o -> IO (AttrGetType CollectionModifiedPropertyInfo) attrSet :: (AttrBaseTypeConstraint CollectionModifiedPropertyInfo o, AttrSetTypeConstraint CollectionModifiedPropertyInfo b) => o -> b -> IO () attrClear :: AttrBaseTypeConstraint CollectionModifiedPropertyInfo o => o -> IO () attrConstruct :: (AttrBaseTypeConstraint CollectionModifiedPropertyInfo o, AttrSetTypeConstraint CollectionModifiedPropertyInfo b) => b -> IO (GValueConstruct o) attrTransfer :: (AttrBaseTypeConstraint CollectionModifiedPropertyInfo o, AttrTransferTypeConstraint CollectionModifiedPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionModifiedPropertyInfo) dbgAttrInfo :: Maybe ResolvedSymbolInfo | |||||||||||||||||||||||||||||||||
type AttrAllowedOps CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrAllowedOps CollectionModifiedPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrGetType CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrLabel CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrLabel CollectionModifiedPropertyInfo = "modified" | |||||||||||||||||||||||||||||||||
type AttrOrigin CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferType CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint CollectionModifiedPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection |
collectionModified :: AttrLabelProxy "modified" Source #
constructCollectionModified :: (IsCollection o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “modified
” property. This is rarely needed directly, but it is used by new
.
getCollectionModified :: (MonadIO m, IsCollection o) => o -> m Word64 Source #
Get the value of the “modified
” property.
When overloading is enabled, this is equivalent to
get
collection #modified
setCollectionModified :: (MonadIO m, IsCollection o) => o -> Word64 -> m () Source #
Set the value of the “modified
” property.
When overloading is enabled, this is equivalent to
set
collection [ #modified:=
value ]
service
The [classservice
] object that this collection is associated with and
uses to interact with the actual D-Bus Secret Service.
data CollectionServicePropertyInfo Source #
Instances
AttrInfo CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection Associated Types
Methods attrGet :: AttrBaseTypeConstraint CollectionServicePropertyInfo o => o -> IO (AttrGetType CollectionServicePropertyInfo) attrSet :: (AttrBaseTypeConstraint CollectionServicePropertyInfo o, AttrSetTypeConstraint CollectionServicePropertyInfo b) => o -> b -> IO () attrClear :: AttrBaseTypeConstraint CollectionServicePropertyInfo o => o -> IO () attrConstruct :: (AttrBaseTypeConstraint CollectionServicePropertyInfo o, AttrSetTypeConstraint CollectionServicePropertyInfo b) => b -> IO (GValueConstruct o) attrTransfer :: (AttrBaseTypeConstraint CollectionServicePropertyInfo o, AttrTransferTypeConstraint CollectionServicePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionServicePropertyInfo) dbgAttrInfo :: Maybe ResolvedSymbolInfo | |||||||||||||||||||||||||||||||||
type AttrAllowedOps CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrAllowedOps CollectionServicePropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrGetType CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrLabel CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection type AttrLabel CollectionServicePropertyInfo = "service" | |||||||||||||||||||||||||||||||||
type AttrOrigin CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferType CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint CollectionServicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Secret.Objects.Collection |
collectionService :: AttrLabelProxy "service" Source #
constructCollectionService :: (IsCollection o, MonadIO m, IsService a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “service
” property. This is rarely needed directly, but it is used by new
.
getCollectionService :: (MonadIO m, IsCollection o) => o -> m Service Source #
Get the value of the “service
” property.
When overloading is enabled, this is equivalent to
get
collection #service