Adding icon to the system tray (notification area)
- by Moma Antero
Hello,
I have a small audio recording application programmed with GTK/GDK. (see picture). And I would like to add a tray-icon for it so users can control the application window and recording from it.
Adding a tray icon:
I have planned to use the GtkStatusIcon class for this task.
Ref: http://library.gnome.org/devel/gtk/2.11/GtkStatusIcon.html
Is GtkStatusIcon the recommended solution that also works in Ubuntu's Unity and in the GNOME 3.0 desktop? I already googled a bit and found a good example on GtkStatusIcon.
Could I also use Libindicator for this task?
Ref: https://launchpad.net/libindicator