Merging upstream version 0.8.0 (Closes: #639729, #761971).
[debian/lxpanel.git] / plugins / netstat / statusicon.h
1 #ifndef HAVE_NS_STATUSICON_H
2 #define HAVE_NS_STATUSICON_H
3
4 #include "netstat.h"
5 #include <gtk/gtk.h>
6
7 struct statusicon {
8 GtkWidget *main;
9 GtkWidget *icon;
10 };
11
12 struct statusicon *create_statusicon(LXPanel *panel, GtkWidget *box,
13 const char *filename, const char *tooltips, const char* icon_name);
14 void statusicon_destroy(struct statusicon *icon);
15 void update_statusicon(struct statusicon *widget, const char *filename,
16 const char *icon_name);
17 //void set_statusicon_image_from_file(struct statusicon *widget, const char *filename);
18 void set_statusicon_tooltips(struct statusicon *widget, const char *tooltips);
19 void set_statusicon_visible(struct statusicon *widget, gboolean b);
20
21 #endif