1
/* GIMP - The GNU Image Manipulation Program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
5
* Copyright (C) 2001-2005 Michael Natterer <mitch@gimp.org>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
#ifndef __GIMP_MENU_DOCK_H__
23
#define __GIMP_MENU_DOCK_H__
26
#include "gimpimagedock.h"
29
#define GIMP_TYPE_MENU_DOCK (gimp_menu_dock_get_type ())
30
#define GIMP_MENU_DOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_MENU_DOCK, GimpMenuDock))
31
#define GIMP_MENU_DOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_MENU_DOCK, GimpMenuDockClass))
32
#define GIMP_IS_MENU_DOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_MENU_DOCK))
33
#define GIMP_IS_MENU_DOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_MENU_DOCK))
34
#define GIMP_MENU_DOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_MENU_DOCK, GimpMenuDockClass))
37
typedef struct _GimpMenuDockClass GimpMenuDockClass;
41
GimpImageDock parent_instance;
43
GimpContainer *image_container;
44
GimpContainer *display_container;
46
gboolean show_image_menu;
47
gboolean auto_follow_active;
49
GtkWidget *image_combo;
50
GtkWidget *auto_button;
52
guint update_title_idle_id;
55
struct _GimpMenuDockClass
57
GimpImageDockClass parent_class;
61
GType gimp_menu_dock_get_type (void) G_GNUC_CONST;
63
GtkWidget * gimp_menu_dock_new (GimpDialogFactory *dialog_factory,
64
GimpContainer *image_container,
65
GimpContainer *display_container);
67
void gimp_menu_dock_set_auto_follow_active (GimpMenuDock *menu_dock,
69
void gimp_menu_dock_set_show_image_menu (GimpMenuDock *menu_dock,
73
#endif /* __GIMP_MENU_DOCK_H__ */