Simple System Tray Icon

3c273 nospam at
Thu Mar 2 22:06:53 CET 2006

This is untested, 'cos I'm on a Mac these days, but what you want
should look something like:

from SysTrayIcon import SysTrayIcon
icon = SysTrayIcon('parh/to/icon.ico', "Hover text", {})

How simple do you want?


I guess I still don't get it. The code you supplied creates an icon and then

from SysTrayIcon import SysTrayIcon
icon = SysTrayIcon('PathToMyIcon', "My Application",())
while 1:

DoStuff doesn't do happen until I choose 'QUIT' from the icon menu. Any
help? I feel like I'm missing something really fundamental here. Thanks


More information about the Python-list mailing list