~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to libgimpwidgets/gimppropwidgets.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* LIBGIMP - The GIMP Library
 
2
 * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
 
3
 *
 
4
 * gimppropwidgets.h
 
5
 * Copyright (C) 2002 Michael Natterer <mitch@gimp.org>
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 *
 
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.
 
21
 */
 
22
 
 
23
#ifndef __GIMP_PROP_WIDGETS_H__
 
24
#define __GIMP_PROP_WIDGETS_H__
 
25
 
 
26
 
 
27
/*  GParamBoolean  */
 
28
 
 
29
GtkWidget     * gimp_prop_check_button_new        (GObject      *config,
 
30
                                                   const gchar  *property_name,
 
31
                                                   const gchar  *label);
 
32
GtkWidget     * gimp_prop_boolean_combo_box_new   (GObject      *config,
 
33
                                                   const gchar  *property_name,
 
34
                                                   const gchar  *true_text,
 
35
                                                   const gchar  *false_text);
 
36
GtkWidget     * gimp_prop_boolean_radio_frame_new (GObject      *config,
 
37
                                                   const gchar  *property_name,
 
38
                                                   const gchar  *title,
 
39
                                                   const gchar  *true_text,
 
40
                                                   const gchar  *false_text);
 
41
 
 
42
GtkWidget     * gimp_prop_expander_new            (GObject      *config,
 
43
                                                   const gchar  *property_name,
 
44
                                                   const gchar  *label);
 
45
 
 
46
 
 
47
/*  GParamInt  */
 
48
 
 
49
GtkWidget     * gimp_prop_int_combo_box_new       (GObject      *config,
 
50
                                                   const gchar  *property_name,
 
51
                                                   GimpIntStore *store);
 
52
 
 
53
 
 
54
/*  GParamEnum  */
 
55
 
 
56
GtkWidget     * gimp_prop_enum_combo_box_new      (GObject      *config,
 
57
                                                   const gchar  *property_name,
 
58
                                                   gint          minimum,
 
59
                                                   gint          maximum);
 
60
 
 
61
GtkWidget     * gimp_prop_enum_check_button_new   (GObject      *config,
 
62
                                                   const gchar  *property_name,
 
63
                                                   const gchar  *label,
 
64
                                                   gint          false_value,
 
65
                                                   gint          true_value);
 
66
 
 
67
GtkWidget     * gimp_prop_enum_radio_frame_new    (GObject      *config,
 
68
                                                   const gchar  *property_name,
 
69
                                                   const gchar  *title,
 
70
                                                   gint          minimum,
 
71
                                                   gint          maximum);
 
72
GtkWidget     * gimp_prop_enum_radio_box_new      (GObject      *config,
 
73
                                                   const gchar  *property_name,
 
74
                                                   gint          minimum,
 
75
                                                   gint          maximum);
 
76
GtkWidget     * gimp_prop_enum_stock_box_new      (GObject      *config,
 
77
                                                   const gchar  *property_name,
 
78
                                                   const gchar  *stock_prefix,
 
79
                                                   gint          minimum,
 
80
                                                   gint          maximum);
 
81
 
 
82
GtkWidget     * gimp_prop_enum_label_new          (GObject      *config,
 
83
                                                   const gchar  *property_name);
 
84
 
 
85
 
 
86
/*  GParamInt, GParamUInt, GParamLong, GParamULong, GParamDouble  */
 
87
 
 
88
GtkWidget     * gimp_prop_spin_button_new         (GObject      *config,
 
89
                                                   const gchar  *property_name,
 
90
                                                   gdouble       step_increment,
 
91
                                                   gdouble       page_increment,
 
92
                                                   gint          digits);
 
93
 
 
94
GtkWidget     * gimp_prop_hscale_new              (GObject      *config,
 
95
                                                   const gchar  *property_name,
 
96
                                                   gdouble       step_increment,
 
97
                                                   gdouble       page_increment,
 
98
                                                   gint          digits);
 
99
 
 
100
GtkObject     * gimp_prop_scale_entry_new         (GObject      *config,
 
101
                                                   const gchar  *property_name,
 
102
                                                   GtkTable     *table,
 
103
                                                   gint          column,
 
104
                                                   gint          row,
 
105
                                                   const gchar  *label,
 
106
                                                   gdouble       step_increment,
 
107
                                                   gdouble       page_increment,
 
108
                                                   gint          digits,
 
109
                                                   gboolean      limit_scale,
 
110
                                                   gdouble       lower_limit,
 
111
                                                   gdouble       upper_limit);
 
112
 
 
113
/*  special form of gimp_prop_scale_entry_new() for GParamDouble  */
 
114
 
 
115
GtkObject     * gimp_prop_opacity_entry_new       (GObject       *config,
 
116
                                                   const gchar   *property_name,
 
117
                                                   GtkTable      *table,
 
118
                                                   gint           column,
 
119
                                                   gint           row,
 
120
                                                   const gchar   *label);
 
121
 
 
122
 
 
123
/*  GimpParamMemsize  */
 
124
 
 
125
GtkWidget     * gimp_prop_memsize_entry_new       (GObject       *config,
 
126
                                                   const gchar   *property_name);
 
127
 
 
128
 
 
129
/*  GParamString  */
 
130
 
 
131
GtkWidget     * gimp_prop_label_new               (GObject       *config,
 
132
                                                   const gchar   *property_name);
 
133
GtkWidget     * gimp_prop_entry_new               (GObject       *config,
 
134
                                                   const gchar   *property_name,
 
135
                                                   gint           max_len);
 
136
GtkTextBuffer * gimp_prop_text_buffer_new         (GObject       *config,
 
137
                                                   const gchar   *property_name,
 
138
                                                   gint           max_len);
 
139
GtkWidget     * gimp_prop_string_combo_box_new    (GObject       *config,
 
140
                                                   const gchar   *property_name,
 
141
                                                   GtkTreeModel  *model,
 
142
                                                   gint           id_column,
 
143
                                                   gint           label_column);
 
144
 
 
145
 
 
146
/*  GimpParamPath  */
 
147
 
 
148
GtkWidget     * gimp_prop_file_chooser_button_new (GObject              *config,
 
149
                                                   const gchar          *property_name,
 
150
                                                   const gchar          *title,
 
151
                                                   GtkFileChooserAction  action);
 
152
GtkWidget     * gimp_prop_file_chooser_button_new_with_dialog (GObject     *config,
 
153
                                                               const gchar *property_name,
 
154
 
 
155
                                                               GtkWidget   *dialog);
 
156
GtkWidget     * gimp_prop_path_editor_new         (GObject       *config,
 
157
                                                   const gchar   *path_property_name,
 
158
                                                   const gchar   *writable_property_name,
 
159
                                                   const gchar   *filesel_title);
 
160
 
 
161
 
 
162
/*  GParamInt, GParamUInt, GParamDouble   unit: GimpParamUnit  */
 
163
 
 
164
GtkWidget     * gimp_prop_size_entry_new          (GObject       *config,
 
165
                                                   const gchar   *property_name,
 
166
                                                   const gchar   *unit_property_name,
 
167
                                                   const gchar   *unit_format,
 
168
                                                   GimpSizeEntryUpdatePolicy  update_policy,
 
169
                                                   gdouble        resolution);
 
170
 
 
171
 
 
172
/*  x,y: GParamInt, GParamDouble   unit: GimpParamUnit  */
 
173
 
 
174
GtkWidget     * gimp_prop_coordinates_new         (GObject       *config,
 
175
                                                   const gchar   *x_property_name,
 
176
                                                   const gchar   *y_property_name,
 
177
                                                   const gchar   *unit_property_name,
 
178
                                                   const gchar   *unit_format,
 
179
                                                   GimpSizeEntryUpdatePolicy  update_policy,
 
180
                                                   gdouble        xresolution,
 
181
                                                   gdouble        yresolution,
 
182
                                                   gboolean       has_chainbutton);
 
183
gboolean        gimp_prop_coordinates_connect     (GObject       *config,
 
184
                                                   const gchar   *x_property_name,
 
185
                                                   const gchar   *y_property_name,
 
186
                                                   const gchar   *unit_property_name,
 
187
                                                   GtkWidget     *sizeentry,
 
188
                                                   GtkWidget     *chainbutton,
 
189
                                                   gdouble        xresolution,
 
190
                                                   gdouble        yresolution);
 
191
 
 
192
 
 
193
/*  GimpParamColor  */
 
194
 
 
195
GtkWidget     * gimp_prop_color_area_new          (GObject       *config,
 
196
                                                   const gchar   *property_name,
 
197
                                                   gint           width,
 
198
                                                   gint           height,
 
199
                                                   GimpColorAreaType  type);
 
200
 
 
201
/*  GimpParamUnit  */
 
202
 
 
203
GtkWidget     * gimp_prop_unit_menu_new           (GObject       *config,
 
204
                                                   const gchar   *property_name,
 
205
                                                   const gchar   *unit_format);
 
206
 
 
207
 
 
208
/*  GParamString (stock_id)  */
 
209
 
 
210
GtkWidget     * gimp_prop_stock_image_new         (GObject       *config,
 
211
                                                   const gchar   *property_name,
 
212
                                                   GtkIconSize    icon_size);
 
213
 
 
214
 
 
215
#endif /* __GIMP_PROP_WIDGETS_H__ */