tray latest
Cross-platform, super tiny C99 implementation of a system tray icon with a popup menu and notifications.
tray_menu Struct Reference

Tray menu item. More...

#include <src/tray.h>

Collaboration diagram for tray_menu:
[legend]

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_menusubmenu
 Submenu items.
 
const char * text
 Text to display.
 

Detailed Description

Tray menu item.


The documentation for this struct was generated from the following file: