summaryrefslogtreecommitdiff
path: root/vendor/github.com/getlantern/systray/systray.h
blob: 36bcf9893a71dc7c88f0be5c09b7982a22c2a584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern void systray_ready();
extern void systray_on_exit();
extern void systray_menu_item_selected(int menu_id);
int nativeLoop(void);

void setIcon(const char* iconBytes, int length);
void setMenuItemIcon(const char* iconBytes, int length, int menuId);
void setTitle(char* title);
void setTooltip(char* tooltip);
void add_or_update_menu_item(int menuId, char* title, char* tooltip, short disabled, short checked);
void add_separator(int menuId);
void hide_menu_item(int menuId);
void show_menu_item(int menuId);
void quit();