Class

PurpleConversationManager

unstable since: 3.0

[]

Description [src]

final class Purple.ConversationManager : GObject.Object
  implements Gio.ListModel {
  /* No available fields */
}

PurpleConversationManager keeps track of all PurpleConversations inside of libpurple and allows searching of them.

Available since: 3.0

[]

Ancestors

[]

Implements

[]

Constructors

purple_conversation_manager_new

Creates a new conversation manager that will be backed by filename.

unstable since: 3.0

[]

Functions

purple_conversation_manager_get_default

Gets the default instance of PurpleConversationManager. This instance can be used for any of the API including connecting to signals.

unstable since: 3.0

purple_conversation_manager_get_default_as_model

Gets the default instance of PurpleConversationManager but cast to a GListModel.

unstable since: 3.0

[]

Instance methods

purple_conversation_manager_add

Adds conversation to manager.

unstable since: 3.0

purple_conversation_manager_find_dm

Looks for a direct message with contact and returns it if found.

unstable since: 3.0

purple_conversation_manager_find_with_id

Looks for a conversation belonging to account with an id of id.

unstable since: 3.0

purple_conversation_manager_get_all

Gets a list of all conversations that manager knows about.

unstable since: 3.0

purple_conversation_manager_get_filename

Gets the filename the manager should be serializing itself to.

unstable since: 3.0

purple_conversation_manager_remove

Removes conversation from manager.

unstable since: 3.0

Methods inherited from GObject (43)
Methods inherited from GListModel (5)
[]

Properties

Purple.ConversationManager:filename

The filename that the manager should save its contents to.

unstable since: 3.0

Purple.ConversationManager:item-type

The type of items. See Gio.ListModelInterface.get_item_type.

unstable since: 3.0

Purple.ConversationManager:n-items

The number of items. See Gio.ListModelInterface.get_n_items.

unstable since: 3.0

[]

Signals

Purple.ConversationManager::added

Emitted after conversation has been added to manager.

unstable since: 3.0

Purple.ConversationManager::conversation-changed

This is a propagation of the notify signal from conversation. This means that your callback will be called for any conversation that manager knows about.

unstable since: 3.0

Purple.ConversationManager::present-conversation

This is a propagation of PurpleConversation::present. This means that your callback will be called for any conversation that manager knows about.

unstable since: 3.0

Purple.ConversationManager::removed

Emitted after conversation has been removed from manager.

unstable since: 3.0

Signals inherited from GObject (1)
Signals inherited from GListModel (1)

Class structure