[wx-dev] wxTaskBarIcon and GTK 2.10

Robert Roebling robert at roebling.de
Tue Sep 4 05:13:38 PDT 2007


Paul Cornett wrote:
> Robert Roebling wrote:
> > could someone convert the wxTaskBarIcon code in wxGTK
> > to use the GtkStatsuIcon widget in presence of 
> > GTK 2.10 and just fallback to our code othewise?
> > This should be just ten lines of code, but I cannot
> > currently test the result,
> 
> GtkStatusIcon is not a widget. It looks to me like using it would
> require major rework of the existing unix/X11/gtk mess.

Didn't look to closely, but wxTaskBarIcon is not a window
either. Apparently, the GtkStatusIcon doesn't support
most of the mouse clicks which wxTaskBarIcon pretends
to support, but I'm not sure what MSW and OS X really
do there. GtkStatusIcon just has "activate", "click"
and "resize" and you can set icon, tooltip and visibility.
Does anyone need more?
Then again, if the current code works, we need not
change it...

  Robert







More information about the wx-dev mailing list