Search code examples
pythontkinterpywin32system-tray

tkinter: How to make a system tray application not using winico?


Question Tkinter: How to make a system tray application? and other searching results show that this can be done using winico. But winico doesn't support x64. Since most people use x64 PC(including me) now, winico no longer works.

There must be some other ways to do this not using winico. I know that PyWin32 works, but I don't know how. Can someone just give me an example? Thank you.


Solution

  • I found this,which works fine(though need to change some code)

    http://www.brunningonline.net/simon/blog/archives/SysTrayIcon.py.html