Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GDBusInterfaceSkeleton ╰── PhoshNotifyDBusNotificationsSkeleton ╰── PhoshNotifyManager
PhoshNotifyManager implements GDBusInterface and PhoshNotifyDBusNotifications.
PhoshNotifyManager manages notifications sent from the shell iself and via the org.freedesktop.Notification DBus interface. See https://developer.gnome.org/notification-spec/
PhoshNotificationList *
phosh_notify_manager_get_list (PhoshNotifyManager *self
);
Get the PhoshNotificationList of current notifications
gboolean
phosh_notify_manager_get_show_banners (PhoshNotifyManager *self
);
Are notififcation banners enabled
guint
phosh_notify_manager_get_notification_id
(PhoshNotifyManager *self
);
Get a notification id
void phosh_notify_manager_add_notification (PhoshNotifyManager *self
,const gchar *source_id
,int expire_timeout
,PhoshNotification *notification
);
gboolean phosh_notify_manager_close_notification_by_id (PhoshNotifyManager *self
,int id
,PhoshNotificationReason reason
);
“new-notification”
signalvoid user_function (PhoshNotifyManager *self, PhoshNotification *notification, gpointer user_data)
Emitted when a new notification is received and a banner should (possibly) be shown
self |
||
notification |
the new PhoshNotification |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last