README: Add reference to Portal Notification APIs

This commit is contained in:
Marco Trevisan (Treviño) 2022-06-07 02:46:08 +02:00
parent 532608248e
commit 5e6a52fa4f
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,9 @@ daemon, as defined in the [org.freedesktop.Notifications][fdo-spec] Desktop
Specification. These notifications can be used to inform the user about an event Specification. These notifications can be used to inform the user about an event
or display some form of information without getting in the user's way. or display some form of information without getting in the user's way.
It is also a simple wrapper to send cross-desktop Notifications for sandboxed
applications using the [XDG Portal Notification API][portal].
## Notice ## Notice
For GLib based applications the [GNotification][gnotif] API should be used For GLib based applications the [GNotification][gnotif] API should be used
@ -14,3 +17,4 @@ instead.
[fdo-spec]: https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html [fdo-spec]: https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html
[gnotif]: https://docs.gtk.org/gio/class.Notification.html [gnotif]: https://docs.gtk.org/gio/class.Notification.html
[portal]: https://github.com/flatpak/xdg-desktop-portal/blob/main/data/org.freedesktop.portal.Notification.xml