Class

PurpleMessages

unstable since: 3.0

[]

Description [src]

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

A read-only collection of PurpleMessage‘s and the PurpleConversation that they belong to.

This collection is meant to make it easy to pass around a number of related messages. For example getting messages from a server or displaying a few messages in a search result.

Available since: 3.0

[]

Ancestors

[]

Implements

[]

Constructors

purple_messages_new

Creates a new instance for conversation.

unstable since: 3.0

[]

Instance methods

purple_messages_add

Adds message to messages.

unstable since: 3.0

purple_messages_get_conversation

Gets the conversation from messages.

unstable since: 3.0

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

Properties

Purple.Messages:conversation

The PurpleConversation that these messages belong to.

unstable since: 3.0

Purple.Messages:item-type

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

unstable since: 3.0

Purple.Messages:n-items

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

unstable since: 3.0

[]

Signals

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

Class structure