Class

PurpleAccountManager

Description [src]

final class Purple.AccountManager : GObject.Object {
  /* No available fields */
}

A manager that keeps track of all PurpleAccounts.

Available since:3.0.0

Ancestors

Implements

Functions

purple_account_manager_get_default

Gets the default account manager for libpurple.

Available since: 3.0.0

purple_account_manager_get_default_as_model

Gets the default account manager for libpurple as a list model.

Available since: 3.0.0

Instance methods

purple_account_manager_add

Adds account to manager.

Available since: 3.0.0

purple_account_manager_find

Attempts to find an account in manager with the matching username and protocol_id.

Available since: 3.0.0

purple_account_manager_find_by_id

Looks up an account based on its id property.

Available since: 3.0.0

purple_account_manager_find_custom

Attempts to find an account in manager with a custom matching function.

Available since: 3.0.0

purple_account_manager_foreach

Calls callback with data for each account that manager knows about.

Available since: 3.0.0

purple_account_manager_get_connected

Gets a list of all accounts that are currently connected.

Available since: 3.0.0

purple_account_manager_get_disabled

Gets the list of all disabled accounts.

Available since: 3.0.0

purple_account_manager_get_enabled

Gets the list of all enabled accounts.

Available since: 3.0.0

purple_account_manager_remove

Removes account from manager.

Available since: 3.0.0

purple_account_manager_reorder

Moves account to new_index in manager.

Available since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GListModel (5)
g_list_model_get_item

Get the item at position.

Available since: 2.44

g_list_model_get_item_type

Gets the type of the items in list.

Available since: 2.44

g_list_model_get_n_items

Gets the number of items in list.

Available since: 2.44

g_list_model_get_object

Get the item at position.

Available since: 2.44

g_list_model_items_changed

Emits the GListModel::items-changed signal on list.

Available since: 2.44

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.

Available since: 3.0.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.

Available since: 3.0.0

Purple.AccountManager::added

Emitted after account was added to manager.

Available since: 3.0.0

Purple.AccountManager::removed

Emitted after account was removed from manager.

Available since: 3.0.0

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Signals inherited from GListModel (1)
Gio.ListModel::items-changed

This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place.

Available since: 2.44

Class structure

struct PurpleAccountManagerClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.