Adding upstream version 0.8.0.
[debian/lxpanel.git] / plugins / netstat / statusicon.h
CommitLineData
514580cf
DB
1#ifndef HAVE_NS_STATUSICON_H
2#define HAVE_NS_STATUSICON_H
3
4#include "netstat.h"
5#include <gtk/gtk.h>
6
7struct statusicon {
8 GtkWidget *main;
9 GtkWidget *icon;
514580cf
DB
10};
11
f7ecd6ce
AG
12struct statusicon *create_statusicon(LXPanel *panel, GtkWidget *box,
13 const char *filename, const char *tooltips, const char* icon_name);
514580cf 14void statusicon_destroy(struct statusicon *icon);
f7ecd6ce
AG
15void 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);
514580cf
DB
18void set_statusicon_tooltips(struct statusicon *widget, const char *tooltips);
19void set_statusicon_visible(struct statusicon *widget, gboolean b);
20
21#endif