-->
import Quickshell.Services.Notifications
A notification emitted by a NotificationServer.
NOTE
This type is Retainable. It can be retained after destruction if necessary.
All hints sent by the client application as a javascript object. Many common hints are exposed via other properties.
Time in seconds the notification should be valid for
The image associated with this notification, or "" if none.
If true, the notification will not be destroyed after an action is invoked.
The placeholder text/button caption for the inline reply.
The sending application’s icon. If none was provided, then the icon from an associated desktop entry will be retrieved. If none was found then "".
If the notification is tracked by the notification server.
Setting this property to false is equivalent to calling dismiss().
An image associated with the notification.
This image is often something like a profile picture in instant messaging applications.
If this notification was carried over from the last generation when quickshell reloaded.
Notifications from the last generation will only be emitted if NotificationServer.keepOnReload is true.
The sending application’s name.
If true, the notification has an inline reply action.
A quick reply text field should be displayed and the reply can be sent using sendInlineReply().
The name of the sender’s desktop entry or "" if none was supplied.
Actions that can be taken for this notification.
If actions associated with this notification have icons available.
See NotificationAction.identifier for details.
If true, the notification should skip any kind of persistence function like a notification area.
Id of the notification as given to the client.
Destroy the notification and hint to the remote application that it was explicitly closed by the user.
Destroy the notification and hint to the remote application that it has timed out an expired.
Send an inline reply to the notification with an inline reply action.
WARNING
This method can only be called if hasInlineReply is true and the server has NotificationServer.inlineReplySupported set to true.
Sent when a notification has been closed.
The notification object will be destroyed as soon as all signal handlers exit.