source: trunk/third/gnome-core/panel/status.h @ 15328

Revision 15328, 1.2 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15327, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef STATUS_H
2#define STATUS_H
3
4#include <gnome.h>
5#include "panel.h"
6#include "panel-types.h"
7#include "panel-widget.h"
8#include "gnome-panel.h"
9
10#include <libgnorba/gnorba.h>
11
12BEGIN_GNOME_DECLS
13
14/*XXX we get some sore of conflict if we just use Status*/
15typedef struct _StatusApplet StatusApplet;
16struct _StatusApplet {
17        GtkWidget *frame;
18        GtkWidget *handle; /*a gtk handlebox but one that doesn't undock*/
19        PanelOrientation orient;
20        int size;
21        AppletInfo *info;
22};
23
24typedef struct _StatusSpot StatusSpot;
25struct _StatusSpot {
26        POA_GNOME_StatusSpot servant;
27        GNOME_StatusSpot sspot;
28       
29        GtkWidget *socket;
30
31        gulong wid;
32};
33
34void status_applet_create_offscreen(void);
35
36StatusSpot *new_status_spot(void);
37void status_spot_remove(StatusSpot *ss, gboolean destroy_socket);
38/*kill all status spots*/
39void status_spot_remove_all(void);
40
41/*returns TRUE if it could create an applet, FALSE if one already exists*/
42gboolean load_status_applet(PanelWidget *panel, int pos, gboolean exactpos);
43void status_applet_update(StatusApplet *s);
44void status_applet_put_offscreen(StatusApplet *s);
45
46StatusSpot * status_applet_get_ss(guint32 winid);
47
48/*inhibit adding and updating for the purpose of quitting*/
49extern gboolean status_inhibit;
50
51END_GNOME_DECLS
52
53#endif
Note: See TracBrowser for help on using the repository browser.