Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > A cross platform systray icon

Reply
Thread Tools

A cross platform systray icon

 
 
Nick Craig-Wood
Guest
Posts: n/a
 
      09-11-2006
Does anyone have some hints / tips / experience with making a cross
platform systray icon? It should work on Windows, Gnome and KDE at
minimum.

I've seen the win32all code which is very similar to the C code I've
written before for Windows. It would be a small irritation to have to
integrate its event loop with whichever GUI framework I'm using for
the rest of it though.

I don't know how to make a systray under KDE/Gnome though, but I think
freedesktop has made it a lot easier now. I didn't manage to find a
python example - does anyone have one?

Ideally I'd like someone to tell me that PyQT, tkinter or PyGTK does
it all for me, but from my searching on the subject I doubt it is
going to be that easy!

Thanks
--
Nick Craig-Wood <> -- http://www.craig-wood.com/nick
 
Reply With Quote
 
 
 
 
TheSeeker
Guest
Posts: n/a
 
      09-11-2006

Nick Craig-Wood wrote:
> Does anyone have some hints / tips / experience with making a cross
> platform systray icon? It should work on Windows, Gnome and KDE at
> minimum.
>
> I've seen the win32all code which is very similar to the C code I've
> written before for Windows. It would be a small irritation to have to
> integrate its event loop with whichever GUI framework I'm using for
> the rest of it though.
>

You might do a search for TaskBarIcon in the wxPython toolkit.

Duane

 
Reply With Quote
 
 
 
 
Larry Bates
Guest
Posts: n/a
 
      09-11-2006
Nick Craig-Wood wrote:
> Does anyone have some hints / tips / experience with making a cross
> platform systray icon? It should work on Windows, Gnome and KDE at
> minimum.
>
> I've seen the win32all code which is very similar to the C code I've
> written before for Windows. It would be a small irritation to have to
> integrate its event loop with whichever GUI framework I'm using for
> the rest of it though.
>
> I don't know how to make a systray under KDE/Gnome though, but I think
> freedesktop has made it a lot easier now. I didn't manage to find a
> python example - does anyone have one?
>
> Ideally I'd like someone to tell me that PyQT, tkinter or PyGTK does
> it all for me, but from my searching on the subject I doubt it is
> going to be that easy!
>
> Thanks

Google turned this up.

http://radio.weblogs.com/0110159/gems/systray_py.txt

Hope it helps.

-Larry
 
Reply With Quote
 
Nick Craig-Wood
Guest
Posts: n/a
 
      09-11-2006
Larry Bates <> wrote:
> Google turned this up.
>
> http://radio.weblogs.com/0110159/gems/systray_py.txt


I couldn't get that to work - wxwindows bitrot maybe?

I did find an example which worked under windows & linux

http://aspn.activestate.com/ASPN/Coo.../Recipe/475155

Thanks anyway

--
Nick Craig-Wood <> -- http://www.craig-wood.com/nick
 
Reply With Quote
 
Nick Craig-Wood
Guest
Posts: n/a
 
      09-11-2006
TheSeeker <> wrote:
> Nick Craig-Wood wrote:
> > Does anyone have some hints / tips / experience with making a cross
> > platform systray icon? It should work on Windows, Gnome and KDE at
> > minimum.

> You might do a search for TaskBarIcon in the wxPython toolkit.


Yes thank you (and everyone else) who replied with that - that looks
like just the thing.

I was able to create a systray icon that worked under linux and
windows which is great!

Now to learn wxpython

Thanks

--
Nick Craig-Wood <> -- http://www.craig-wood.com/nick
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery status icon missing from systray (Win98SE) David Computer Support 3 07-12-2005 01:23 AM
SP2 causes SysTray icon context menus to persist Mike Computer Support 0 02-25-2005 06:50 AM
strange icon in systray rtpb123@hotmail.com Computer Information 2 01-13-2005 01:15 AM
Systray Icon skidaddy Computer Support 5 05-19-2004 02:52 AM
Systray Icon? Danny Rohr Firefox 0 11-27-2003 09:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57