Callbacks

AccountNotifyCb (account, key, *user_data)

AccountStoreCb (account, error, *user_data)

Details

Accounts.AccountNotifyCb(account, key, *user_data)
Parameters:

This callback is invoked when the value of an account configuration setting changes. If the callback was installed with Accounts.Account.watch_key() then key is the name of the configuration setting which changed; if it was installed with Accounts.Account.watch_dir() then key is the same key prefix that was used when installing this callback.

Accounts.AccountStoreCb(account, error, *user_data)
Parameters:

This callback is invoked when storing the account settings is completed. If error is not None, then some error occurred and the data has most likely not been written.