Skip to main content

Module tray

Module tray 

Source
Expand description

System-tray construction, event polling, and embedded icon loading.

Structsยง

TrayState ๐Ÿ”’
Holds the system tray icon and its menu item IDs.

Enumsยง

TrayAction ๐Ÿ”’
User action received from the system tray.

Functionsยง

create_tray ๐Ÿ”’
Create a system tray icon with Show and Quit menu items.
load_icon ๐Ÿ”’
poll_tray_events ๐Ÿ”’
Poll for tray icon clicks and menu selections without blocking.