PDA

View Full Version : Text in tray



Mr.Pytagoras
December 30th, 2011, 04:28 PM
Hi

Is it possible to display text in the tray? something like Gtk::statusicon but with text? I'm starting to write a calendar/clock/alarm/reminder app using c++ and gtkmm, and i would like to display the actuall date and time it the tray and when user click on it the calendar will pop up and the user would be abble to do some planning :)

It would look like gnome clock in the tray. (from there I'm assuming that it is possible to display text in the tray ;) )

Does anybody know how to do it?

Mr.Pytagoras
January 1st, 2012, 02:48 PM
I have figured it out using pango and cairo :)

However now I'm having problem with the statusicon itself. I want it to be a rectangle with dynamically changed width.

Does anybody know how to do that?