source: trunk/third/gnome-panel/gnome-panel/drawer.h @ 18631

Revision 18631, 965 bytes checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18630, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef DRAWER_H
2#define DRAWER_H
3
4#include "panel.h"
5#include "panel-config.h"
6
7G_BEGIN_DECLS
8
9typedef struct {
10        char         *pixmap;
11        char         *tooltip;
12
13        GtkWidget    *button;
14        GtkWidget    *drawer;
15        GtkWidget    *properties;
16
17        gboolean      moving_focus;
18        gboolean      opened_for_drag;
19        guint         close_timeout_id;
20
21        AppletInfo   *info;
22} Drawer;
23
24Drawer *load_drawer_applet (gchar       *mypanel,
25                            const char  *pixmap,
26                            const char  *tooltip,
27                            PanelWidget *panel,
28                            int          pos,
29                            gboolean     exactpos,
30                            const char  *gconf_key);
31
32void    drawer_save_to_gconf   (Drawer     *drawer,
33                                const char *gconf_key);
34
35void    drawer_load_from_gconf (PanelWidget *panel_widget,
36                                gint         position,
37                                const char  *gconf_key);
38
39void set_drawer_applet_orient(Drawer *drawer, PanelOrient orient);
40
41void add_drawer_properties_page(PerPanelConfig *ppc, GtkNotebook *prop_nbook, Drawer *drawer);
42
43G_END_DECLS
44
45#endif
Note: See TracBrowser for help on using the repository browser.