Adding icon to the system tray (notification area)

Posted by Moma Antero on Ask Ubuntu See other posts from Ask Ubuntu or by Moma Antero
Published on 2011-01-03T12:47:13Z Indexed on 2011/01/03 13:01 UTC
Read the original article Hit count: 176

Filed under:

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

© Ask Ubuntu or respective owner

Related posts about indicator