Class
PurpleNotification
Description [src]
final class Purple.Notification : GObject.Object {
/* No available fields */
}
An object that represents a notification.
Available since: | 3.0.0 |
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_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_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_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 notification
‘s interactive state to interactive
.
Available since: 3.0.0
Properties
Purple.Notification:account
Purple.Notification:created-timestamp
Purple.Notification:data
Purple.Notification:data-destroy-func
Purple.Notification:icon-name
Purple.Notification:id
Purple.Notification:interactive
Purple.Notification:read
Purple.Notification:title
Purple.Notification:type
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.