Class
PurpleConversationMembers
unstable since: 3.0
Description [src]
final class Purple.ConversationMembers : GObject.Object
implements Gio.ListModel {
/* No available fields */
}
A collection of PurpleConversationMember
s.
This collection will notify the properties of each
PurpleConversationMember
and emit the
GListModel::items-changed
signal when any of them changes.
Available since: 3.0
Instance methods
purple_conversation_members_add_member
Looks for an existing PurpleConversationMember
for info
in
members
and returns it if found. If not, a new PurpleConversationMember
is created.
unstable since: 3.0
purple_conversation_members_find_member
Finds the PurpleConversationMember
for info
if they are in members
.
unstable since: 3.0
purple_conversation_members_get_active_typers
Gets the list of PurpleConversationMember
s that are actively typing.
unstable since: 3.0
purple_conversation_members_remove_member
Attempts to remove info
from the members
.
unstable since: 3.0
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.ConversationMembers:active-typers
The list of PurpleConversationMember
s that are actively typing.
unstable since: 3.0
Purple.ConversationMembers:item-type
The type of items. See Gio.ListModelInterface.get_item_type
.
unstable since: 3.0
Purple.ConversationMembers:n-items
The number of items. See Gio.ListModelInterface.get_n_items
.
unstable since: 3.0
Signals
Purple.ConversationMembers::member-added
Emitted when a new member is added to this collection.
unstable since: 3.0
Purple.ConversationMembers::member-removed
Emitted when member is removed from this collection.
unstable since: 3.0
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.