Class

PurpleProtocolManager

Description [src]

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

PurpleProtocolManager keeps track of all protocols and emits signals when protocols are registered and unregistered.

Available since:3.0.0

Ancestors

Implements

Functions

purple_protocol_manager_get_default

Gets the default PurpleProtocolManager instance.

Available since: 3.0.0

Instance methods

purple_protocol_manager_find

Gets the PurpleProtocol identified by id if found, otherwise NULL.

Available since: 3.0.0

purple_protocol_manager_foreach

Calls func for each PurpleProtocol that manager knows about.

Available since: 3.0.0

purple_protocol_manager_get_all

Gets a sorted list of all PurpleProtocols that are currently registered in manager.

Available since: 3.0.0

purple_protocol_manager_register

Registers protocol with manager.

Available since: 3.0.0

purple_protocol_manager_unregister

Unregisters protocol from 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.ProtocolManager::registered

Emitted after protocol has been registered in manager.

Available since: 3.0.0

Purple.ProtocolManager::unregistered

Emitted after protocol has been unregistered 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 PurpleProtocolManagerClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.