Accounts.AccountSettingIter¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
account |
r/w |
the |
|
idx1 |
r |
||
idx2 |
r |
||
iter1 |
r |
||
ptr1 |
r |
||
ptr2 |
r |
Methods¶
|
|
|
|
|
Details¶
- class Accounts.AccountSettingIter¶
Iterator for account settings.
- free()¶
Frees the memory associated with an
Accounts.AccountSettingIter
.
- get_next()¶
- Returns:
True
if key and value have been set,False
if we there are no more account settings to iterate over.- key:
a pointer to a string receiving the key name.
- value:
a pointer to a pointer to a
GLib.Variant
, to receive the key value.
- Return type:
(
bool
, key:str
, value:GLib.Variant
)
Iterates over the account keys. self must be an iterator previously initialized with
Accounts.Account.settings_iter_init
().New in version 1.4.
- next()¶
- Returns:
True
if key and value have been set,False
if we there are no more account settings to iterate over.- key:
a pointer to a string receiving the key name.
- value:
a pointer to a pointer to a
GObject.Value
, to receive the key value.
- Return type:
(
bool
, key:str
, value:GObject.Value
)
Iterates over the account keys. self must be an iterator previously initialized with
Accounts.Account.settings_iter_init
().Deprecated since version 1.4: Use
Accounts.AccountSettingIter.get_next
() instead.