Class
PurpleNotification
unstable since: 3.0
Description [src]
class Purple.Notification : GObject.Object
{
/* No available fields */
}
An object that represents a notification.
Available since: 3.0
Functions
purple_notification_compare
A comparison function for PurpleNotification that is suitable as a GCompareFunc.
unstable since: 3.0
Instance methods
purple_notification_delete
Emits the PurpleNotification::deleted
signal. This is typically
called by a user interface when the user has deleted a notification.
unstable since: 3.0
purple_notification_get_created_timestamp
Gets the created time of notification
.
unstable since: 3.0
purple_notification_get_interactive
Gets whether or not notification
can be interacted with.
unstable since: 3.0
purple_notification_get_persistent
Gets whether or not notification
is able to be dismissed by a user.
unstable since: 3.0
purple_notification_set_created_timestamp
Sets the created timestamp of notification
to timestamp
.
unstable since: 3.0
purple_notification_set_created_timestamp_now
Sets the created timestamp of notification
to the current local time.
unstable since: 3.0
purple_notification_set_icon_name
Sets the named icon for notification
to icon_name
.
unstable since: 3.0
purple_notification_set_interactive
Sets notification
‘s interactive state to interactive
.
unstable since: 3.0
purple_notification_set_persistent
Sets whether or not notification
is persistent.
unstable since: 3.0
Properties
Purple.Notification:account
An optional PurpleAccount
that this notification is for.
unstable since: 3.0
Purple.Notification:created-timestamp
The creation time of this notification. This always represented as UTC internally, and will be set to UTC now by default.
unstable since: 3.0
Purple.Notification:icon-name
The icon-name in the icon theme to use for the notification. A user interface may or may not choose to use this when display the notification.
unstable since: 3.0
Purple.Notification:interactive
Whether or not the notification can be interacted with.
unstable since: 3.0
Purple.Notification:persistent
Whether or not the notification can be dismissed by users.
unstable since: 3.0
Purple.Notification:subtitle
An optional subtitle for this notification. A user interface may or may not choose to use this when displaying the notification. Regardless, this should be a translated string.
unstable since: 3.0
Purple.Notification:title
An optional title for this notification. A user interface may or may not choose to use this when displaying the notification. Regardless, this should be a translated string.
unstable since: 3.0
Signals
Purple.Notification::deleted
Emitted when the notification is deleted. This is typically done by a
user interface calling purple_notification_delete()
.
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.