1
/* LIBGIMP - The GIMP Library
2
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
5
* Copyright (C) 2002-2004 Sven Neumann <sven@gimp.org>
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library 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 GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the
19
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
23
#ifndef __GIMP_ENUM_WIDGETS_H__
24
#define __GIMP_ENUM_WIDGETS_H__
27
GtkWidget * gimp_enum_radio_box_new (GType enum_type,
29
gpointer callback_data,
30
GtkWidget **first_button);
31
GtkWidget * gimp_enum_radio_box_new_with_range (GType enum_type,
35
gpointer callback_data,
36
GtkWidget **first_button);
38
GtkWidget * gimp_enum_radio_frame_new (GType enum_type,
39
GtkWidget *label_widget,
41
gpointer callback_data,
42
GtkWidget **first_button);
43
GtkWidget * gimp_enum_radio_frame_new_with_range (GType enum_type,
46
GtkWidget *label_widget,
48
gpointer callback_data,
49
GtkWidget **first_button);
51
GtkWidget * gimp_enum_stock_box_new (GType enum_type,
52
const gchar *stock_prefix,
53
GtkIconSize icon_size,
55
gpointer callback_data,
56
GtkWidget **first_button);
57
GtkWidget * gimp_enum_stock_box_new_with_range (GType enum_type,
60
const gchar *stock_prefix,
61
GtkIconSize icon_size,
63
gpointer callback_data,
64
GtkWidget **first_button);
66
void gimp_enum_stock_box_set_child_padding (GtkWidget *stock_box,
71
#endif /* __GIMP_ENUM_WIDGETS_H__ */