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

Tray icon. More...

#include <src/tray.h>

Collaboration diagram for tray:
[legend]

Public Attributes

const char * allIconPaths []
 Array of icon paths.
 
const char * icon
 Icon to display.
 
const int iconPathCount
 Number of icon paths.
 
struct tray_menumenu
 Menu items.
 
void(* notification_cb )()
 Callback to invoke when the notification is clicked.
 
const char * notification_icon
 Icon to display in the notification.
 
const char * notification_text
 Text to display in the notification.
 
const char * notification_title
 Title to display in the notification.
 
const char * tooltip
 Tooltip to display.
 

Detailed Description

Tray icon.


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