Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysTray ¶
type SysTray interface { // SetTitle sets the title of the tray menu SetTitle(title string) SetTooltip(tooltip string) error Show() error Hide() error Run() error Close() SetMenu(menu *menu.Menu) error SetIcons(lightModeIcon, darkModeIcon *options.SystemTrayIcon) error Update() error OnLeftClick(func()) OnRightClick(func()) OnLeftDoubleClick(func()) OnRightDoubleClick(func()) OnMenuClose(func()) OnMenuOpen(func()) }
func NewSysTray ¶
func NewSysTray() SysTray
Click to show internal directories.
Click to hide internal directories.