source: trunk/third/gnome-core/panel/swallow.h @ 15821

Revision 15821, 737 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15820, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef SWALLOW_H
2#define SWALLOW_H
3
4#include <panel-widget.h>
5
6BEGIN_GNOME_DECLS
7
8typedef enum {
9        SWALLOW_VERTICAL,
10        SWALLOW_HORIZONTAL
11} SwallowOrient;
12
13typedef struct {
14        int ref_count;
15
16        GtkWidget *ebox;
17        GtkWidget *socket;
18        GtkWidget *handle_box;
19        GtkWidget *frame;
20        char *title;
21        char *path;
22        int width;
23        int height;
24        guint32 wid;
25        gboolean clean_remove;
26} Swallow;
27
28void load_swallow_applet(char *path, char *params, int width, int height,
29                         PanelWidget *panela, int pos, gboolean exactpos);
30void set_swallow_applet_orient(Swallow *swallow, SwallowOrient orient);
31
32/*I couldn't resist the naming of this function*/
33void ask_about_swallowing(PanelWidget *panel, int pos, gboolean exactpos);
34
35END_GNOME_DECLS
36
37#endif
Note: See TracBrowser for help on using the repository browser.