1
/* LIBGIMP - The GIMP Library
2
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
5
* Copyright (C) 2004 Sven Neumann <sven@gimp.org>
6
* Copyright (C) 2006 Simon Budig <simon@gimp.org>
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the
20
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
* Boston, MA 02111-1307, USA.
24
#ifndef __GIMP_ITEM_COMBO_BOX_H__
25
#define __GIMP_ITEM_COMBO_BOX_H__
30
/* For information look into the C source or the html documentation */
33
#define GIMP_TYPE_DRAWABLE_COMBO_BOX (gimp_drawable_combo_box_get_type ())
34
#define GIMP_DRAWABLE_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_DRAWABLE_COMBO_BOX, GimpDrawableComboBox))
35
#define GIMP_IS_DRAWABLE_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_DRAWABLE_COMBO_BOX)
37
#define GIMP_TYPE_CHANNEL_COMBO_BOX (gimp_channel_combo_box_get_type ())
38
#define GIMP_CHANNEL_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_CHANNEL_COMBO_BOX, GimpChannelComboBox))
39
#define GIMP_IS_CHANNEL_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_CHANNEL_COMBO_BOX)
41
#define GIMP_TYPE_LAYER_COMBO_BOX (gimp_layer_combo_box_get_type ())
42
#define GIMP_LAYER_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_LAYER_COMBO_BOX, GimpLayerComboBox))
43
#define GIMP_IS_LAYER_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_LAYER_COMBO_BOX)
45
#define GIMP_TYPE_VECTORS_COMBO_BOX (gimp_vectors_combo_box_get_type ())
46
#define GIMP_VECTORS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_VECTORS_COMBO_BOX, GimpVectorsComboBox))
47
#define GIMP_IS_VECTORS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_VECTORS_COMBO_BOX)
50
typedef gboolean (* GimpItemConstraintFunc) (gint32 image_id,
54
typedef GimpItemConstraintFunc GimpVectorsConstraintFunc;
55
typedef GimpItemConstraintFunc GimpDrawableConstraintFunc;
58
GType gimp_drawable_combo_box_get_type (void) G_GNUC_CONST;
59
GType gimp_channel_combo_box_get_type (void) G_GNUC_CONST;
60
GType gimp_layer_combo_box_get_type (void) G_GNUC_CONST;
61
GType gimp_vectors_combo_box_get_type (void) G_GNUC_CONST;
63
GtkWidget * gimp_drawable_combo_box_new (GimpDrawableConstraintFunc constraint,
65
GtkWidget * gimp_channel_combo_box_new (GimpDrawableConstraintFunc constraint,
67
GtkWidget * gimp_layer_combo_box_new (GimpDrawableConstraintFunc constraint,
69
GtkWidget * gimp_vectors_combo_box_new (GimpVectorsConstraintFunc constraint,
75
#endif /* __GIMP_ITEM_COMBO_BOX_H__ */