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 | |
---|
12 | BEGIN_GNOME_DECLS |
---|
13 | |
---|
14 | /*XXX we get some sore of conflict if we just use Status*/ |
---|
15 | typedef struct _StatusApplet StatusApplet; |
---|
16 | struct _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 | |
---|
24 | typedef struct _StatusSpot StatusSpot; |
---|
25 | struct _StatusSpot { |
---|
26 | POA_GNOME_StatusSpot servant; |
---|
27 | GNOME_StatusSpot sspot; |
---|
28 | |
---|
29 | GtkWidget *socket; |
---|
30 | |
---|
31 | gulong wid; |
---|
32 | }; |
---|
33 | |
---|
34 | void status_applet_create_offscreen(void); |
---|
35 | |
---|
36 | StatusSpot *new_status_spot(void); |
---|
37 | void status_spot_remove(StatusSpot *ss, gboolean destroy_socket); |
---|
38 | /*kill all status spots*/ |
---|
39 | void status_spot_remove_all(void); |
---|
40 | |
---|
41 | /*returns TRUE if it could create an applet, FALSE if one already exists*/ |
---|
42 | gboolean load_status_applet(PanelWidget *panel, int pos, gboolean exactpos); |
---|
43 | void status_applet_update(StatusApplet *s); |
---|
44 | void status_applet_put_offscreen(StatusApplet *s); |
---|
45 | |
---|
46 | StatusSpot * status_applet_get_ss(guint32 winid); |
---|
47 | |
---|
48 | /*inhibit adding and updating for the purpose of quitting*/ |
---|
49 | extern gboolean status_inhibit; |
---|
50 | |
---|
51 | END_GNOME_DECLS |
---|
52 | |
---|
53 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.