Class

PurpleHistory

unstable since: 3.0

Description [src]

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

The message history for PurpleConversation instances.

Available since: 3.0

Ancestors

Implements

Constructors

purple_history_new

Creates a new instance.

unstable since: 3.0

Instance methods

purple_history_add_message_async

Adds a message.

unstable since: 3.0

purple_history_add_message_finish

Gets the result of adding a message.

unstable since: 3.0

purple_history_lookup_message_async

Look for a message with the given id.

unstable since: 3.0

purple_history_lookup_message_finish

Gets the result of looking up a message.

unstable since: 3.0

purple_history_remove_message_async

Remove the message with the given id.

unstable since: 3.0

purple_history_remove_message_finish

Gets the result of removing a message.

unstable since: 3.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.

g_list_model_get_item_type

Gets the type of the items in list.

g_list_model_get_n_items

Gets the number of items in list.

g_list_model_get_object

Get the item at position.

g_list_model_items_changed

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

Properties

Purple.History:conversation

B The conversation that this history is for.

unstable since: 3.0

Purple.History:item-type

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

unstable since: 3.0

Purple.History:n-items

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

unstable since: 3.0

Signals

Signals inherited from GObject (1)
GObject::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)
GListModel::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.

Class structure

struct PurpleHistoryClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.