Class
AstalNotifdNotification
Instance methods
astal_notifd_notification_dismiss
Resolve this notification with ASTAL_NOTIFD_CLOSED_REASON_DISMISSED_BY_USER
.
astal_notifd_notification_invoke
Invoke an AstalNotifdAction
of this notification.
Note that this method just notifies the client that this action was invoked by the user. If for example this notification persists through the
lifetime of the sending program this action will have no effect.
Properties
AstalNotifd.Notification:body
Multi-line body of text, where each line is a paragraph. May contain markup.
AstalNotifd.Notification:actions
List of AstalNotifdAction
of the notification.
Can be invoked by calling astal_notifd_notification_invoke()
with the action’s id.
AstalNotifd.Notification:action-icons
Indicates whether AstalNotifdAction
identifier should be interpreted as a named icon.
AstalNotifd.Notification:desktop-entry
Specifies the name of the desktop filename representing the calling program.
AstalNotifd.Notification:sound-name
A themeable named sound from to play when the notification pops up.
AstalNotifd.Notification:transient
Indicates that the notification should be excluded from persistency.
AstalNotifd.Notification:x
Specifies the X location on the screen that the notification should point to. The “y” hint must also be specified.
AstalNotifd.Notification:y
Specifies the Y location on the screen that the notification should point to. The “x” hint must also be specified.
Signals
AstalNotifd.Notification::invoked
Emitted when an AstalNotifdAction
of this notification is invoked.
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.