A cross platform systray icon

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nick Craig-Wood

    #1

    A cross platform systray icon

    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 <nick@craig-wood.com-- http://www.craig-wood.com/nick
  • TheSeeker

    #2
    Re: A cross platform systray icon


    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

    Comment

    • Larry Bates

      #3
      Re: A cross platform systray icon

      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.



      Hope it helps.

      -Larry

      Comment

      • Nick Craig-Wood

        #4
        Re: A cross platform systray icon

        Larry Bates <larry.bates@we bsafe.comwrote:I couldn't get that to work - wxwindows bitrot maybe?

        I did find an example which worked under windows & linux



        Thanks anyway

        --
        Nick Craig-Wood <nick@craig-wood.com-- http://www.craig-wood.com/nick

        Comment

        • Nick Craig-Wood

          #5
          Re: A cross platform systray icon

          TheSeeker <duane.kaufman@ gmail.comwrote:
          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 <nick@craig-wood.com-- http://www.craig-wood.com/nick

          Comment

          Working...