![]() |
tray latest
Cross-platform, super tiny C99 implementation of a system tray icon with a popup menu and notifications.
|
Tray menu item. More...
#include <src/tray.h>
Public Attributes | |
| void(* | cb )(struct tray_menu *) |
| Callback to invoke when the item is clicked. | |
| int | checkbox |
| Whether the item is a checkbox. | |
| int | checked |
| Whether the item is checked. | |
| void * | context |
| Context to pass to the callback. | |
| int | disabled |
| Whether the item is disabled. | |
| struct tray_menu * | submenu |
| Submenu items. | |
| const char * | text |
| Text to display. | |
Tray menu item.