Class

PurpleHistoryManager

unstable since: 3.0

[]

Description [src]

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

PurpleHistoryManager keeps track of all adapters and emits signals when adapters are added and removed.

Available since: 3.0

[]

Ancestors

[]

Implements

[]

Functions

purple_history_manager_get_default

Gets the default PurpleHistoryManager instance.

unstable since: 3.0

purple_history_manager_get_default_as_model

Gets the default PurpleHistoryManager instance cast to a GListModel.

unstable since: 3.0

purple_history_manager_shutdown

Shuts down the history manager by destroying the default instance.

unstable since: 3.0

purple_history_manager_startup

Starts up the history manager by creating the default instance and setting adapter as active if adapter is non NULL.

unstable since: 3.0

[]

Instance methods

purple_history_manager_add

Adds adapter to manager.

unstable since: 3.0

purple_history_manager_get_active

Gets the active PurpleHistoryAdapter instance.

unstable since: 3.0

purple_history_manager_query

Sends a query to the PurpleHistoryAdapter manager instance.

unstable since: 3.0

purple_history_manager_remove

Removes adapter from manager.

unstable since: 3.0

purple_history_manager_remove_query

Removes messages from the active PurpleHistoryAdapter of manager that match query.

unstable since: 3.0

purple_history_manager_set_active

Sets the active PurpleHistoryAdapter instance.

unstable since: 3.0

purple_history_manager_write

Writes message to the active adapter of manager.

unstable since: 3.0

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

Properties

Purple.HistoryManager:item-type

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

unstable since: 3.0

Purple.HistoryManager:n-items

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

unstable since: 3.0

[]

Signals

Purple.HistoryManager::active-changed

Emitted after adapter has been changed for manager.

unstable since: 3.0

Purple.HistoryManager::added

Emitted after adapter has been added to manager.

unstable since: 3.0

Purple.HistoryManager::removed

Emitted after adapter has been removed from manager.

unstable since: 3.0

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

Class structure