| View previous topic :: View next topic |
| Author |
Message |
leon_pegg
Joined: 12 Jun 2006 Posts: 113 Location: hemel / UK
|
Posted: Fri Jun 16, 2006 11:58 pm Post subject: gtk::statusicon |
|
|
i was wondering wether the gtk::statusicon widget is going to be implemented
as it would be very usefull in some applications.
regards leon pegg |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Sat Jun 17, 2006 9:49 am Post subject: |
|
|
gtk::statusicon is a gtkmm class, not available in the original Gtk2. That's why it isn't possible to include it.
However, I heard that Gtk2.10 will have libegg not as extension, but as native Gtk classes which means that a systray icon will be possible then. But that will take some time :) |
|
| Back to top |
|
 |
ron_t
Joined: 11 Dec 2005 Posts: 78 Location: Gatineau, Quebec
|
Posted: Sat Jun 17, 2006 2:44 pm Post subject: Re: gtk::statusicon |
|
|
| leon_pegg wrote: | i was wondering wether the gtk::statusicon widget is going to be implemented
as it would be very usefull in some applications.
regards leon pegg |
If you don't want to wait, you could always roll your own by making a PNG version of the icon (or whatever graphics format turns your crank) and load it as a pixbuf.
There's an example of how to use an image in a button that can be adapted to your purposes on the PHP-Gtk2 Blog:
http://www.writingup.com/phpgtk2/0012_a_dynamic_button
-Ron T. |
|
| Back to top |
|
 |
leon_pegg
Joined: 12 Jun 2006 Posts: 113 Location: hemel / UK
|
Posted: Sat Jun 17, 2006 4:55 pm Post subject: |
|
|
thanks for the answer guys.
just out of intrest is there and widget that acts simila to a spread sheet.
thanks agian |
|
| Back to top |
|
 |
ron_t
Joined: 11 Dec 2005 Posts: 78 Location: Gatineau, Quebec
|
Posted: Sun Jun 18, 2006 7:02 pm Post subject: |
|
|
| leon_pegg wrote: | thanks for the answer guys.
just out of intrest is there and widget that acts simila to a spread sheet.
thanks agian |
There is, but it hasn't been implemented yet. You can get the same effect using a GtkTable, however.
Hmmm... This sounds like a good topic for the PHP-Gtk2 Blog.
-Ron T. |
|
| Back to top |
|
 |
|