1
#include "update-notifier.h"
3
// ensure indicator/icon exists
4
void tray_applet_ui_ensure(TrayApplet *ta);
7
void tray_applet_ui_set_icon(TrayApplet *ta, const char *icon_name);
10
gboolean tray_applet_ui_get_visible(TrayApplet *ta);
11
void tray_applet_ui_set_visible(TrayApplet *ta, gboolean visible);
13
// tooltips are only support for GtkStatusIcon, so with the indicator
14
// we need to simulate this with a menu
15
void tray_applet_ui_set_tooltip_text(TrayApplet *ta, const char *text);
17
// add a menu to the applet, on the indicators this is left-click,
18
// on the GtkStatusBar its right click
19
void tray_applet_ui_set_menu(TrayApplet *ta, GtkWidget *menu);
22
// this will result in a single menu item for the indicator or
23
// in a menu with a single action in the status icon
24
void tray_applet_ui_set_single_action(TrayApplet *ta,
30
void tray_applet_ui_set_data(TrayApplet *ta, const char *key, void *data);
31
void* tray_applet_ui_get_data(TrayApplet *ta, const char *key);
33
// destroy indicator/icon
34
void tray_applet_ui_destroy(TrayApplet *ta);