Simple System Tray Icon
3c273
nospam at nospam.com
Thu Mar 2 16:06:53 EST 2006
----quoted----
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?
----/quoted----
I guess I still don't get it. The code you supplied creates an icon and then
hangs.
from SysTrayIcon import SysTrayIcon
icon = SysTrayIcon('PathToMyIcon', "My Application",())
while 1:
DoStuff()
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
again.
Louis
More information about the Python-list
mailing list