Tkinter: How to make an application in the system tray?

I have a small application. I want my target users (windows, linux) to start and exit the application from the taskbar. I intend to use Tkinter because of its low footprint, but I don’t know how to implement it.

Can tkinter do this or are there better alternatives. I need a GUI library that will not change my 1MB program to a 5MB program.

Please enter a code to be rated

thanks

+7
python user-interface tkinter system tray
source share
1 answer

I don't know any direct examples, but I found the TCL / Tk extension to use systray here http://wiki.tcl.tk/4090 and the wiki page that contains information on how to use the Tkinter TCL / Tk extensions.

In a more general case, you might consider using a more “advanced” toolkit (like wx) that provides things like using systray, etc. initially.

+11
source share

All Articles