Class
PurpleAccountManager
unstable since: 3.0
Description [src]
final class Purple.AccountManager : GObject.Object
implements Gio.ListModel {
/* No available fields */
}
A manager that keeps track of all PurpleAccount
s.
Available since: 3.0
Functions
purple_account_manager_get_default
Gets the default account manager for libpurple.
unstable since: 3.0
purple_account_manager_get_default_as_model
Gets the default account manager for libpurple as a list model.
unstable since: 3.0
Instance methods
purple_account_manager_find
Attempts to find an account in manager
with the matching username
and
protocol_id
.
unstable since: 3.0
purple_account_manager_find_custom
Attempts to find an account in manager
with a custom matching function.
unstable since: 3.0
purple_account_manager_foreach
Calls callback
with data
for each account that manager
knows about.
unstable since: 3.0
purple_account_manager_get_connected
Gets a list of all accounts that are currently connected.
unstable since: 3.0
purple_account_manager_get_online
Gets whether or not new accounts should automatically have
purple_account_connect()
called for them.
unstable since: 3.0
purple_account_manager_set_online
Connects or disconnects all accounts in manager
.
unstable since: 3.0.0
Methods inherited from GListModel (5)
Properties
Purple.AccountManager:item-type
The type of items. See Gio.ListModelInterface.get_item_type
.
unstable since: 3.0
Purple.AccountManager:n-items
The number of items. See Gio.ListModelInterface.get_n_items
.
unstable since: 3.0
Purple.AccountManager:online
Controls whether or not accounts that the manager knows about should be online or offline.
unstable since: 3.0
Signals
Purple.AccountManager::account-changed
This is a propagation of the notify signal from account
. This means
that your callback will be called for any account that manager
knows about.
unstable since: 3.0
Purple.AccountManager::account-connected
This is a propagation of PurpleAccount::connected
signal. This
means that your callback will be called for any account that manager
knows about.
unstable since: 3.0
Purple.AccountManager::account-disconnected
This is a propagation of PurpleAccount::disconnected
signal.
This means that your callback will be called for any account that
manager
knows about.
unstable since: 3.0
Purple.AccountManager::account-setting-changed
This is a propagation of PurpleAccount::setting-changed
signal. This means that your callback will be called for any account
that manager
knows about.
unstable since: 3.0