7ead0507b1335f2793627646e0df9212b53f4b0b
[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(GtkWidget *box, const char *filename,
13 const char *tooltips, const char* icon_name);
14 void statusicon_destroy(struct statusicon *icon);
15 void set_statusicon_image_from_file(struct statusicon *widget, const char *filename);
16 void set_statusicon_tooltips(struct statusicon *widget, const char *tooltips);
17 void set_statusicon_visible(struct statusicon *widget, gboolean b);
18
19 #endif