trayiconΒΆ

Platform License Documentation Status

trayicon is a multi-GUI-toolkit system tray icon package. It is intended for use with a tkinter main GUI in Linux.

The system tray icon integration in desktop environments often depends on the GUI toolkit used by the desktop environment. So this package aims at providing standardized classes enabling switching between GUI toolkits depending which one gives the best system tray icon integration.

trayicon provides the TrayIcon and SubMenu classes using qt (qticon submodule), gtk (gtkicon submodule) and tktray (tkicon submodule) GUI toolkits. The classes possess the same methods in all three toolkits and can therefore be used in the same way regardless of the toolkit. However, tktray does not handle icon resizing so the icon rendering in the system tray is very toolkit dependent.

Project page: https://github.com/j4321/trayicon