Class

PurpleNotificationManager

Description [src]

final class Purple.NotificationManager : GObject.Object {
  /* No available fields */
}

Purple Notification Manager manages all notifications between protocols and plugins and how the user interface interacts with them.

Available since:3.0.0

Ancestors

Implements

Functions

purple_notification_manager_get_default

Gets the default PurpleNotificationManager instance.

Available since: 3.0.0

purple_notification_manager_get_default_as_model

Gets the default manager instance type casted to GListModel.

Available since: 3.0.0

Instance methods

purple_notification_manager_add

Adds notification into manager.

Available since: 3.0.0

purple_notification_manager_clear

Removes all notifications from manager.

Available since: 3.0.0

purple_notification_manager_get_unread_count

Gets the number of currently unread notifications.

Available since: 3.0.0

purple_notification_manager_remove

Removes notification from manager.

Available since: 3.0.0

purple_notification_manager_remove_with_account

Removes all notifications with account from manager.

Available since: 3.0.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.

Available since: 2.44

g_list_model_get_item_type

Gets the type of the items in list.

Available since: 2.44

g_list_model_get_n_items

Gets the number of items in list.

Available since: 2.44

g_list_model_get_object

Get the item at position.

Available since: 2.44

g_list_model_items_changed

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

Available since: 2.44

Properties

Purple.NotificationManager:unread-count

The number of unread notifications in the manager.

Available since: 3.0.0

Signals

Purple.NotificationManager::added

Emitted after notification has been added to manager.

Available since: 3.0.0

Purple.NotificationManager::read

Emitted after notification has been marked as read.

Available since: 3.0.0

Purple.NotificationManager::removed

Emitted after notification has been removed from manager.

Available since: 3.0.0

Purple.NotificationManager::unread

Emitted after notification has been marked as unread.

Available since: 3.0.0

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

Available since: 2.44

Class structure

struct PurpleNotificationManagerClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.