Merging upstream version 0.5.9.
[debian/lxpanel.git] / src / 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 GtkTooltips *tooltips;
11 };
12
13 struct statusicon *create_statusicon(GtkWidget *box, const char *filename,
14 const char *tooltips);
15 void statusicon_destroy(struct statusicon *icon);
16 void set_statusicon_image_from_file(struct statusicon *widget, const char *filename);
17 void set_statusicon_tooltips(struct statusicon *widget, const char *tooltips);
18 void set_statusicon_visible(struct statusicon *widget, gboolean b);
19
20 #endif