Class

PurpleNotificationManager

unstable since: 3.0

[]

Description [src]

final class Purple.NotificationManager : GObject.Object
  implements Gio.ListModel {
  /* 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

[]

Ancestors

[]

Implements

[]

Functions

purple_notification_manager_get_default

Gets the default PurpleNotificationManager instance.

unstable since: 3.0

purple_notification_manager_get_default_as_model

Gets the default manager instance type casted to GListModel.

unstable since: 3.0

[]

Instance methods

purple_notification_manager_add

Adds notification into manager.

unstable since: 3.0

purple_notification_manager_clear

Removes all notifications from manager.

unstable since: 3.0

purple_notification_manager_get_unread_count

Gets the number of currently unread notifications.

unstable since: 3.0

purple_notification_manager_remove

Removes notification from manager.

unstable since: 3.0

purple_notification_manager_remove_with_account

Removes all notifications with account from manager.

unstable since: 3.0

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

Properties

Purple.NotificationManager:item-type

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

unstable since: 3.0

Purple.NotificationManager:n-items

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

unstable since: 3.0

Purple.NotificationManager:unread-count

The number of unread notifications in the manager.

unstable since: 3.0

[]

Signals

Purple.NotificationManager::added

Emitted after notification has been added to manager.

unstable since: 3.0

Purple.NotificationManager::read

Emitted after notification has been marked as read.

unstable since: 3.0

Purple.NotificationManager::removed

Emitted after notification has been removed from manager.

unstable since: 3.0

Purple.NotificationManager::unread

Emitted after notification has been marked as unread.

unstable since: 3.0

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

Class structure