Tk 8.7/9.0 added the tk systray and tk sysnotify commands, which display a system tray (or taskbar) icon and send desktop notifications. tkinter currently has no interface to them.
I propose adding a tkinter.systray module with:
a SysTrayIcon class wrapping tk systray (one icon per interpreter, with image, text, and button1/button3 click callbacks);
a notify() function and a SysTrayIcon.notify() method wrapping tk sysnotify.
This complements the other native interfaces in tkinter (tkinter.colorchooser, tkinter.filedialog, tkinter.fontchooser).
Activity
gh-153259: Add tkinter.systray -- system tray icon and notifications (G…