Keep the notification on top of all the others in the notifications panel.Make it so that the action buttons are next to the icon and text, not under.Make the notification so that it can't be closed.I know how to create actions using Notify.Notification, and I can make them have images, etc., but what I still haven't figured out is how to: Thanks to the help of BobMorane, I've now figured out that Rhythmbox uses libnotify for its player controls. I also searched, among other things, media control and media notification on Stack Overflow, but I didn't find anything there either. I searched in Gio, Gdk, and Gtk, but I didn't find anything. I know that there's a Gio.Notification, but it's not quite what I need (unless I'm very much mistaken). In the screenshot, you can see the actual notification, which I don't want to make, below the controls. Note that, while it is in the notifications panel, it's not technically a notification, because it never pops up on the screen, and you can't make it go away. This is what I want to make the media playback controls. The playback controls are bordered in orange they have a little music note icon: ![]() ![]() In Rhythmbox (GNOME's music player), when it's playing music, you can open the notifications panel and control the music playback from there.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |