]> www.fi.muni.cz Git - evince.git/blob - cut-n-paste/toolbar-editor/egg-toolbar-editor.h
e29e5482bdb78440f4dc21c69bd2905620d0dcd1
[evince.git] / cut-n-paste / toolbar-editor / egg-toolbar-editor.h
1 /*
2  *  Copyright (C) 2003 Marco Pesenti Gritti
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2, or (at your option)
7  *  any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  */
18
19 #ifndef EGG_TOOLBAR_EDITOR_H
20 #define EGG_TOOLBAR_EDITOR_H
21
22 #include <gtk/gtkvbox.h>
23 #include <gtk/gtkuimanager.h>
24
25 #include "egg-toolbars-model.h"
26
27 G_BEGIN_DECLS
28
29 typedef struct EggToolbarEditorClass EggToolbarEditorClass;
30
31 #define EGG_TYPE_TOOLBAR_EDITOR             (egg_toolbar_editor_get_type ())
32 #define EGG_TOOLBAR_EDITOR(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TOOLBAR_EDITOR, EggToolbarEditor))
33 #define EGG_TOOLBAR_EDITOR_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TOOLBAR_EDITOR, EggToolbarEditorClass))
34 #define EGG_IS_TOOLBAR_EDITOR(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TOOLBAR_EDITOR))
35 #define EGG_IS_TOOLBAR_EDITOR_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TOOLBAR_EDITOR))
36 #define EGG_TOOLBAR_EDITOR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TOOLBAR_EDITOR, EggToolbarEditorClass))
37
38
39 typedef struct EggToolbarEditor EggToolbarEditor;
40 typedef struct EggToolbarEditorPrivate EggToolbarEditorPrivate;
41
42 struct EggToolbarEditor
43 {
44   GtkVBox parent_object;
45
46   /*< private >*/
47   EggToolbarEditorPrivate *priv;
48 };
49
50 struct EggToolbarEditorClass
51 {
52   GtkVBoxClass parent_class;
53 };
54
55
56 GType             egg_toolbar_editor_get_type     (void);
57 GtkWidget        *egg_toolbar_editor_new          (GtkUIManager *manager,
58                                                    EggToolbarsModel *model);
59
60 G_END_DECLS
61
62 #endif