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

« back to all changes in this revision

Viewing changes to app/widgets/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
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * gimppropwidgets.h
19
19
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
20
 */
21
21
 
22
 
#ifndef __GIMP_PROP_WIDGETS_H__
23
 
#define __GIMP_PROP_WIDGETS_H__
 
22
#ifndef __GIMP_APP_PROP_WIDGETS_H__
 
23
#define __GIMP_APP_PROP_WIDGETS_H__
24
24
 
25
25
 
26
26
/*  GParamBoolean  */
27
27
 
28
 
GtkWidget     * gimp_prop_check_button_new        (GObject     *config,
29
 
                                                   const gchar *property_name,
30
 
                                                   const gchar *label);
31
 
GtkWidget     * gimp_prop_boolean_combo_box_new   (GObject     *config,
32
 
                                                   const gchar *property_name,
33
 
                                                   const gchar *true_text,
34
 
                                                   const gchar *false_text);
35
 
GtkWidget     * gimp_prop_boolean_radio_frame_new (GObject     *config,
36
 
                                                   const gchar *property_name,
37
 
                                                   const gchar *title,
38
 
                                                   const gchar *true_text,
39
 
                                                   const gchar *false_text);
40
 
 
41
 
 
42
 
/*  GParamInt  */
43
 
 
44
 
GtkWidget     * gimp_prop_int_combo_box_new       (GObject     *config,
45
 
                                                   const gchar *property_name,
46
 
                                                   GimpIntStore *int_store);
 
28
GtkWidget * gimp_prop_expanding_frame_new (GObject     *config,
 
29
                                           const gchar *property_name,
 
30
                                           const gchar *button_label,
 
31
                                           GtkWidget   *child,
 
32
                                           GtkWidget  **button);
47
33
 
48
34
 
49
35
/*  GParamEnum  */
50
36
 
51
 
GtkWidget     * gimp_prop_enum_combo_box_new      (GObject     *config,
52
 
                                                   const gchar *property_name,
53
 
                                                   gint         minimum,
54
 
                                                   gint         maximum);
55
 
 
56
 
GtkWidget     * gimp_prop_paint_mode_menu_new     (GObject     *config,
57
 
                                                   const gchar *property_name,
58
 
                                                   gboolean     with_behind_mode);
59
 
 
60
 
GtkWidget     * gimp_prop_enum_check_button_new   (GObject     *config,
61
 
                                                   const gchar *property_name,
62
 
                                                   const gchar *label,
63
 
                                                   gint         false_value,
64
 
                                                   gint         true_value);
65
 
 
66
 
GtkWidget     * gimp_prop_enum_radio_frame_new    (GObject     *config,
67
 
                                                   const gchar *property_name,
68
 
                                                   const gchar *title,
69
 
                                                   gint         minimum,
70
 
                                                   gint         maximum);
71
 
GtkWidget     * gimp_prop_enum_radio_box_new      (GObject     *config,
72
 
                                                   const gchar *property_name,
73
 
                                                   gint         minimum,
74
 
                                                   gint         maximum);
75
 
GtkWidget     * gimp_prop_enum_stock_box_new      (GObject     *config,
76
 
                                                   const gchar *property_name,
77
 
                                                   const gchar *stock_prefix,
78
 
                                                   gint         minimum,
79
 
                                                   gint         maximum);
80
 
 
81
 
 
82
 
/*  GParamInt, GParamUInt, GParamLong, GParamULong, GParamDouble  */
83
 
 
84
 
GtkWidget     * gimp_prop_spin_button_new         (GObject     *config,
85
 
                                                   const gchar *property_name,
86
 
                                                   gdouble      step_increment,
87
 
                                                   gdouble      page_increment,
88
 
                                                   gint         digits);
89
 
 
90
 
GtkObject     * gimp_prop_scale_entry_new         (GObject     *config,
91
 
                                                   const gchar *property_name,
92
 
                                                   GtkTable    *table,
93
 
                                                   gint         column,
94
 
                                                   gint         row,
95
 
                                                   const gchar *label,
96
 
                                                   gdouble      step_increment,
97
 
                                                   gdouble      page_increment,
98
 
                                                   gint         digits,
99
 
                                                   gboolean     restrict_scale,
100
 
                                                   gdouble      restricted_lower,
101
 
                                                   gdouble      restricted_upper);
102
 
 
103
 
/*  special form of gimp_prop_scale_entry_new() for GParamDouble  */
104
 
 
105
 
GtkObject     * gimp_prop_opacity_entry_new       (GObject     *config,
106
 
                                                   const gchar *property_name,
107
 
                                                   GtkTable    *table,
108
 
                                                   gint         column,
109
 
                                                   gint         row,
110
 
                                                   const gchar *label);
111
 
 
112
 
 
113
 
/*  GimpParamMemsize  */
114
 
 
115
 
GtkWidget     * gimp_prop_memsize_entry_new       (GObject     *config,
116
 
                                                   const gchar *property_name);
117
 
 
118
 
 
119
 
/*  GParamString  */
120
 
 
121
 
GtkWidget     * gimp_prop_label_new               (GObject     *config,
122
 
                                                   const gchar *property_name);
123
 
GtkWidget     * gimp_prop_entry_new               (GObject     *config,
124
 
                                                   const gchar *property_name,
125
 
                                                   gint         max_len);
126
 
GtkTextBuffer * gimp_prop_text_buffer_new         (GObject     *config,
127
 
                                                   const gchar *property_name,
128
 
                                                   gint         max_len);
129
 
 
130
 
 
131
 
/*  GimpParamPath  */
132
 
 
133
 
GtkWidget     * gimp_prop_file_entry_new          (GObject     *config,
134
 
                                                   const gchar *property_name,
135
 
                                                   const gchar *filesel_title,
136
 
                                                   gboolean     dir_only,
137
 
                                                   gboolean     check_valid);
138
 
GtkWidget     * gimp_prop_path_editor_new         (GObject     *config,
139
 
                                                   const gchar *path_property_name,
140
 
                                                   const gchar *writable_property_name,
141
 
                                                   const gchar *filesel_title);
142
 
 
143
 
 
144
 
/*  GParamInt, GParamUInt, GParamDouble   unit: GimpParamUnit  */
145
 
 
146
 
GtkWidget     * gimp_prop_size_entry_new          (GObject     *config,
147
 
                                                   const gchar *property_name,
148
 
                                                   const gchar *unit_property_name,
149
 
                                                   const gchar *unit_format,
150
 
                                                   GimpSizeEntryUpdatePolicy  update_policy,
151
 
                                                   gdouble      resolution);
152
 
 
153
 
 
154
 
/*  x,y: GParamInt, GParamDouble   unit: GimpParamUnit  */
155
 
 
156
 
GtkWidget     * gimp_prop_coordinates_new         (GObject     *config,
157
 
                                                   const gchar *x_property_name,
158
 
                                                   const gchar *y_property_name,
159
 
                                                   const gchar *unit_property_name,
160
 
                                                   const gchar *unit_format,
161
 
                                                   GimpSizeEntryUpdatePolicy  update_policy,
162
 
                                                   gdouble      xresolution,
163
 
                                                   gdouble      yresolution,
164
 
                                                   gboolean     has_chainbutton);
165
 
gboolean        gimp_prop_coordinates_connect     (GObject     *config,
166
 
                                                   const gchar *x_property_name,
167
 
                                                   const gchar *y_property_name,
168
 
                                                   const gchar *unit_property_name,
169
 
                                                   GtkWidget   *sizeentry,
170
 
                                                   GtkWidget   *chainbutton,
171
 
                                                   gdouble      xresolution,
172
 
                                                   gdouble      yresolution);
 
37
GtkWidget * gimp_prop_paint_mode_menu_new (GObject     *config,
 
38
                                           const gchar *property_name,
 
39
                                           gboolean     with_behind_mode,
 
40
                                           gboolean     with_replace_modes);
173
41
 
174
42
 
175
43
/*  GimpParamColor  */
176
44
 
177
 
GtkWidget     * gimp_prop_color_area_new          (GObject     *config,
178
 
                                                   const gchar *property_name,
179
 
                                                   gint         width,
180
 
                                                   gint         height,
181
 
                                                   GimpColorAreaType  type);
182
 
GtkWidget     * gimp_prop_color_button_new        (GObject     *config,
183
 
                                                   const gchar *property_name,
184
 
                                                   const gchar *title,
185
 
                                                   gint         width,
186
 
                                                   gint         height,
187
 
                                                   GimpColorAreaType  type);
188
 
 
189
 
 
190
 
/*  GimpParamUnit  */
191
 
 
192
 
GtkWidget     * gimp_prop_unit_menu_new           (GObject     *config,
193
 
                                                   const gchar *property_name,
194
 
                                                   const gchar *unit_format);
 
45
GtkWidget * gimp_prop_color_button_new    (GObject     *config,
 
46
                                           const gchar *property_name,
 
47
                                           const gchar *title,
 
48
                                           gint         width,
 
49
                                           gint         height,
 
50
                                           GimpColorAreaType  type);
 
51
 
195
52
 
196
53
/*  GParamObject (GimpViewable)  */
197
54
 
198
 
GtkWidget     * gimp_prop_preview_new             (GObject     *config,
199
 
                                                   const gchar *property_name,
200
 
                                                   gint         size);
201
 
 
202
 
 
203
 
/*  GParamString (stock_id)  */
204
 
 
205
 
GtkWidget     * gimp_prop_stock_image_new         (GObject     *config,
206
 
                                                   const gchar *property_name,
207
 
                                                   GtkIconSize  icon_size);
208
 
 
209
 
 
210
 
#endif /* __GIMP_PROP_WIDGETS_H__ */
 
55
GtkWidget * gimp_prop_view_new            (GObject     *config,
 
56
                                           const gchar *property_name,
 
57
                                           GimpContext *context,
 
58
                                           gint         size);
 
59
 
 
60
 
 
61
/*  GParamDouble, GParamDouble, GParamBoolean  */
 
62
 
 
63
GtkWidget * gimp_prop_aspect_ratio_new    (GObject     *config,
 
64
                                           const gchar *numerator_property,
 
65
                                           const gchar *denominator_property,
 
66
                                           const gchar *fixed_aspect_property);
 
67
 
 
68
 
 
69
#endif /* __GIMP_APP_PROP_WIDGETS_H__ */