Class

PurpleContactManager

Description [src]

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

A manager for PurpleContacts.

Available since:3.0.0

Ancestors

Functions

purple_contact_manager_get_default

Gets the default instance of PurpleContactManager.

Available since: 3.0.0

Instance methods

purple_contact_manager_add

Adds contact to manager. If a contact with a matching account and id already exists, no action will be taken.

Available since: 3.0.0

purple_contact_manager_add_buddy

Creates a new PurpleContact and binds its properties to buddy and then adds the new PurpleContact via purple_contact_manager_add().

Available since: 3.0.0

purple_contact_manager_find_with_id

Looks for a PurpleContact that belongs to account with a id of id.

Available since: 3.0.0

purple_contact_manager_find_with_username

Looks for a PurpleContact that belongs to account with a username of username.

Available since: 3.0.0

purple_contact_manager_get_all

Gets a GListModel of all contacts that belong to account.

Available since: 3.0.0

purple_contact_manager_remove

Attempts to remove contact from manager.

Available since: 3.0.0

purple_contact_manager_remove_all

Removes all of the contacts from manager that belong to account.

Available since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Purple.ContactManager::added

Emitted after contact has been added to manager.

Available since: 3.0.0

Purple.ContactManager::removed

Emitted after contact has been 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.

Class structure

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