2 * Copyright (C) 2003 Marco Pesenti Gritti
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)
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.
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.
19 #ifndef EGG_TOOLBAR_EDITOR_H
20 #define EGG_TOOLBAR_EDITOR_H
22 #include <gtk/gtkvbox.h>
23 #include <gtk/gtkuimanager.h>
25 #include "egg-toolbars-model.h"
29 typedef struct EggToolbarEditorClass EggToolbarEditorClass;
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))
39 typedef struct EggToolbarEditor EggToolbarEditor;
40 typedef struct EggToolbarEditorPrivate EggToolbarEditorPrivate;
42 struct EggToolbarEditor
44 GtkVBox parent_object;
47 EggToolbarEditorPrivate *priv;
50 struct EggToolbarEditorClass
52 GtkVBoxClass parent_class;
56 GType egg_toolbar_editor_get_type (void);
57 GtkWidget *egg_toolbar_editor_new (GtkUIManager *manager,
58 EggToolbarsModel *model);