Class

AstalNotifdNotification

Description

class AstalNotifd.Notification : GObject.Object
{
  /* No available fields */
}

Class representing a notification.

Ancestors

Instance methods

astal_notifd_notification_get_hint
No description available.

astal_notifd_notification_get_str_hint
No description available.

astal_notifd_notification_get_bool_hint
No description available.

astal_notifd_notification_get_int_hint
No description available.

astal_notifd_notification_get_byte_hint
No description available.

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.

astal_notifd_notification_get_time
No description available.

astal_notifd_notification_get_app_name
No description available.

astal_notifd_notification_get_app_icon
No description available.

astal_notifd_notification_get_summary
No description available.

astal_notifd_notification_get_body
No description available.

astal_notifd_notification_get_id
No description available.

astal_notifd_notification_get_actions
No description available.

astal_notifd_notification_get_image
No description available.

astal_notifd_notification_get_action_icons
No description available.

astal_notifd_notification_get_category
No description available.

astal_notifd_notification_get_resident
No description available.

astal_notifd_notification_get_sound_file
No description available.

astal_notifd_notification_get_sound_name
No description available.

astal_notifd_notification_get_transient
No description available.

astal_notifd_notification_get_x
No description available.

astal_notifd_notification_get_y
No description available.

astal_notifd_notification_get_urgency
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalNotifd.Notification:time

Unix time of when the notification was sent.

AstalNotifd.Notification:app-name

Name of the sending application.

AstalNotifd.Notification:app-icon

Icon name of the sending application.

AstalNotifd.Notification:summary

Single line overview of the notification.

AstalNotifd.Notification:body

Multi-line body of text, where each line is a paragraph. May contain markup.

AstalNotifd.Notification:id

Id of the notification.

AstalNotifd.Notification:expire-timeout

Time in milliseconds after the notification expires.

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:image

Path of an image.

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:resident

Indicates whether notification is kept after action invocation.

AstalNotifd.Notification:sound-file

The path to a sound file to play when the notification pops up.

AstalNotifd.Notification:sound-name

A themeable named sound from to play when the notification pops up.

AstalNotifd.Notification:suppress-sound

Indicates to suppress playing any sounds.

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.

AstalNotifd.Notification:urgency

AstalNotifdUrgency level of the notification.

Signals

AstalNotifd.Notification::resolved

Emitted when this this notification is resolved.

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.

Class structure

struct AstalNotifdNotificationClass {
  /* no available fields */
}

No description available.