Saturday, June 26, 2010

gnocl::statusIcon

Another widget implemented! On the whole the implementation of this 'little beasty' has been more toilsome than I first anticipated. Whilst the item is listed as a Gtk Display widget it is, in fact, not a Gtk widget but a Gnome desktop item. As a result it has not been possible to use the core gnocl events handling routines but a custom set which have been added to the statusIcon.c module. Another change had been need too. Because Gtk+ and not Gnome is cross-platform, implementations of a similar widget to the statusIcon for both MSWindows and MacOSx would need bindings to a different set of libraries. So, to prevent compatibility issues I've moved all the code for this widget over to the GnoclGnome package. So far all works well, event, popups flashy icons, sounds and so on...

No comments: