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:hints
Notification hints. 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 dedicated property setters for standard hints.
AstalNotifd.Notification:extra-hints
Extra hints that are merged with AstalNotifdNotification:hints.
AstalNotifd.Notification:action-icons
Standard action-icons hint. Indicates whether AstalNotifdAction identifiers should be interpreted as named icons.
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 the 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 to play when the notification pops up.
AstalNotifd.Notification:suppress-sound
Standard suppress-sound hint. Indicates to suppress playing any sound.
AstalNotifd.Notification:transient
Standard transient hint. Indicates that the notification should be excluded from persistence.
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.