Class
AstalNotifdNotification
Instance methods
astal_notifd_notification_dismiss
Resolve this notification with ASTAL_NOTIFD_CLOSED_REASON_DISMISSED_BY_USER.
astal_notifd_notification_expire
Resolve this notification with ASTAL_NOTIFD_CLOSED_REASON_EXPIRED. Note that there should be no reason to use this method because
expiration should be left to the daemon.
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:hints
Hints of the notification. Hints are a way to provide extra data to servers. To set hints on a DRAFT Notification use [method@
AstalNotifd.Notification.set_hint] or the property setters for standard hints.
AstalNotifd.Notification:action-icons
Standard action-icons hint. Indicates whether AstalNotifdAction identifier should be interpreted as a named icon.
AstalNotifd.Notification:desktop-entry
Standard desktop-entry hint. Specifies the name of the desktop filename representing the calling program.
AstalNotifd.Notification:resident
Standard resident hint. Indicates whether notification is kept after action invocation.
AstalNotifd.Notification:sound-file
Standard sound-file hint. The path to a sound file to play when the notification pops up.
AstalNotifd.Notification:sound-name
Standard sound-name hint. A themeable named sound from to play when the notification pops up.
AstalNotifd.Notification:suppress-sound
Standard suppress-sound hint. Indicates to suppress playing any sounds.
AstalNotifd.Notification:transient
Standard transient hint. Indicates that the notification should be excluded from persistency.
AstalNotifd.Notification:x
Standard x hint. Specifies the X location on the screen that the notification should point to. The “y” hint must also be specified.
AstalNotifd.Notification:y
Standard y hint. Specifies the Y location on the screen that the notification should point to. The “x” hint must also be specified.
AstalNotifd.Notification:urgency
Standard urgency hint. AstalNotifdUrgency level of the notification.
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.