Simple tray icon application using pygtk
Asked Answered
L

2

5

I'm writing a webmail checker in python and I want it to just sit on the tray icon and warn me when there is a new email. Could anyone point me in the right direction as far as the gtk code?

I already coded the bits necessary to check for new email but it's CLI right now.

Lilla answered 16/7, 2009 at 0:2 Comment(0)
C
6

You'll want to use a gtk.StatusIcon to actually display the icon. Here are the docs. If you're just getting started with gui programming you might want to work though a bit of the pygtk tutorial.

Contradistinguish answered 16/7, 2009 at 0:11 Comment(0)
C
3

This http://www.pygtk.org/docs/pygtk/class-gtkstatusicon.html should get you going.

Cureton answered 16/7, 2009 at 0:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.