Class

PurpleNotification

Description [src]

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

An object that represents a notification.

Available since:3.0.0

Ancestors

Constructors

purple_notification_new

Creates a new notification with the given properties. account is optional.

Available since: 3.0.0

Functions

purple_notification_compare

A comparison function for PurpleNotification that is suitable as a GCompareFunc.

Available since: 3.0.0

Instance methods

purple_notification_get_account

Gets the PurpleAccount of notification.

Available since: 3.0.0

purple_notification_get_created_timestamp

Gets the created time of notification.

Available since: 3.0.0

purple_notification_get_data

Gets the data that notification was created with.

Available since: 3.0.0

purple_notification_get_icon_name

Gets the named icon for notification.

Available since: 3.0.0

purple_notification_get_id

Gets the identifier of notification.

Available since: 3.0.0

purple_notification_get_interactive

Gets whether or not notification can be interacted with.

Available since: 3.0.0

purple_notification_get_notification_type

Gets the PurpleNotificationType of notification.

Available since: 3.0.0

purple_notification_get_read

Gets whether or not notification has been read.

Available since: 3.0.0

purple_notification_get_title

Gets the title of notification.

Available since: 3.0.0

purple_notification_set_created_timestamp

Sets the created timestamp of notification to timestamp.

Available since: 3.0.0

purple_notification_set_icon_name

Sets the named icon for notification to icon_name.

Available since: 3.0.0

purple_notification_set_interactive

Sets notifications interactive state to interactive.

Available since: 3.0.0

purple_notification_set_read

Sets notifications read state to read.

Available since: 3.0.0

purple_notification_set_title

Sets the title of notification to title.

Available since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Notification:account
No description available.
Purple.Notification:created-timestamp
No description available.
Purple.Notification:data
No description available.
Purple.Notification:data-destroy-func
No description available.
Purple.Notification:icon-name
No description available.
Purple.Notification:id
No description available.
Purple.Notification:interactive
No description available.
Purple.Notification:read
No description available.
Purple.Notification:title
No description available.
Purple.Notification:type
No description available.

Signals

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.

Class structure

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