Accounts.AccountSettingIter

Fields

Name

Type

Access

Description

account

Accounts.Account

r/w

the Accounts.Account to iterate over

idx1

int

r

idx2

int

r

iter1

{object: object}

r

ptr1

object

r

ptr2

object

r

Methods

free ()

get_next ()

next ()

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.