Feature or enhancement
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).
Tk manual: https://www.tcl-lang.org/man/tcl9.0/TkCmd/systray.html
Linked PRs
Feature or enhancement
Tk 8.7/9.0 added the
tk systrayandtk sysnotifycommands, which display a system tray (or taskbar) icon and send desktop notifications. tkinter currently has no interface to them.I propose adding a
tkinter.systraymodule with:SysTrayIconclass wrappingtk systray(one icon per interpreter, with image, text, and button1/button3 click callbacks);notify()function and aSysTrayIcon.notify()method wrappingtk sysnotify.This complements the other native interfaces in tkinter (
tkinter.colorchooser,tkinter.filedialog,tkinter.fontchooser).Tk manual: https://www.tcl-lang.org/man/tcl9.0/TkCmd/systray.html
Linked PRs