We allow you to add to the system's tray (notification area)
What is the Tray
The Tray is the area where applications can put their icons to be easily accessed by users. On macOS this is the menubar and on Windows it's the system tray.
todesktop.tray.setTitle(title)
Works on macOS only. Will throw on Windows & Linux
1
todesktop.tray.setTitle('title')
Copied!
todesktop.tray.destroy()
This will destroy the tray item immediately
1
todesktop.tray.destroy()
Copied!
Example: Building a tray timer
Suppose we wanted to show users a 60 second timer in the tray