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

« back to all changes in this revision

Viewing changes to plug-ins/pygimp/gimpui.defs

  • 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
;; -*- scheme -*-
 
2
; object definitions ...
 
3
(define-object Browser
 
4
  (in-module "Gimp")
 
5
  (parent "GtkHPaned")
 
6
  (c-name "GimpBrowser")
 
7
  (gtype-id "GIMP_TYPE_BROWSER")
 
8
)
 
9
 
 
10
(define-object Button
 
11
  (in-module "Gimp")
 
12
  (parent "GtkButton")
 
13
  (c-name "GimpButton")
 
14
  (gtype-id "GIMP_TYPE_BUTTON")
 
15
)
 
16
 
 
17
(define-object CellRendererColor
 
18
  (in-module "Gimp")
 
19
  (parent "GtkCellRenderer")
 
20
  (c-name "GimpCellRendererColor")
 
21
  (gtype-id "GIMP_TYPE_CELL_RENDERER_COLOR")
 
22
)
 
23
 
 
24
(define-object CellRendererToggle
 
25
  (in-module "Gimp")
 
26
  (parent "GtkCellRendererToggle")
 
27
  (c-name "GimpCellRendererToggle")
 
28
  (gtype-id "GIMP_TYPE_CELL_RENDERER_TOGGLE")
 
29
)
 
30
 
 
31
(define-object ChainButton
 
32
  (in-module "Gimp")
 
33
  (parent "GtkTable")
 
34
  (c-name "GimpChainButton")
 
35
  (gtype-id "GIMP_TYPE_CHAIN_BUTTON")
 
36
)
 
37
 
 
38
(define-object ColorArea
 
39
  (in-module "Gimp")
 
40
  (parent "GtkDrawingArea")
 
41
  (c-name "GimpColorArea")
 
42
  (gtype-id "GIMP_TYPE_COLOR_AREA")
 
43
)
 
44
 
 
45
(define-object ColorButton
 
46
  (in-module "Gimp")
 
47
  (parent "GimpButton")
 
48
  (c-name "GimpColorButton")
 
49
  (gtype-id "GIMP_TYPE_COLOR_BUTTON")
 
50
)
 
51
 
 
52
(define-object ColorDisplay
 
53
  (in-module "Gimp")
 
54
  (parent "GObject")
 
55
  (c-name "GimpColorDisplay")
 
56
  (gtype-id "GIMP_TYPE_COLOR_DISPLAY")
 
57
)
 
58
 
 
59
(define-object ColorDisplayStack
 
60
  (in-module "Gimp")
 
61
  (parent "GObject")
 
62
  (c-name "GimpColorDisplayStack")
 
63
  (gtype-id "GIMP_TYPE_COLOR_DISPLAY_STACK")
 
64
)
 
65
 
 
66
(define-object ColorHexEntry
 
67
  (in-module "Gimp")
 
68
  (parent "GtkEntry")
 
69
  (c-name "GimpColorHexEntry")
 
70
  (gtype-id "GIMP_TYPE_COLOR_HEX_ENTRY")
 
71
)
 
72
 
 
73
(define-object ColorScale
 
74
  (in-module "Gimp")
 
75
  (parent "GtkScale")
 
76
  (c-name "GimpColorScale")
 
77
  (gtype-id "GIMP_TYPE_COLOR_SCALE")
 
78
)
 
79
 
 
80
(define-object ColorSelection
 
81
  (in-module "Gimp")
 
82
  (parent "GtkVBox")
 
83
  (c-name "GimpColorSelection")
 
84
  (gtype-id "GIMP_TYPE_COLOR_SELECTION")
 
85
)
 
86
 
 
87
(define-object ColorSelector
 
88
  (in-module "Gimp")
 
89
  (parent "GtkVBox")
 
90
  (c-name "GimpColorSelector")
 
91
  (gtype-id "GIMP_TYPE_COLOR_SELECTOR")
 
92
)
 
93
 
 
94
(define-object ColorNotebook
 
95
  (in-module "Gimp")
 
96
  (parent "GimpColorSelector")
 
97
  (c-name "GimpColorNotebook")
 
98
  (gtype-id "GIMP_TYPE_COLOR_NOTEBOOK")
 
99
)
 
100
 
 
101
(define-object Dialog
 
102
  (in-module "Gimp")
 
103
  (parent "GtkDialog")
 
104
  (c-name "GimpDialog")
 
105
  (gtype-id "GIMP_TYPE_DIALOG")
 
106
)
 
107
 
 
108
(define-object EnumLabel
 
109
  (in-module "Gimp")
 
110
  (parent "GtkLabel")
 
111
  (c-name "GimpEnumLabel")
 
112
  (gtype-id "GIMP_TYPE_ENUM_LABEL")
 
113
)
 
114
 
 
115
(define-object Frame
 
116
  (in-module "Gimp")
 
117
  (parent "GtkFrame")
 
118
  (c-name "GimpFrame")
 
119
  (gtype-id "GIMP_TYPE_FRAME")
 
120
)
 
121
 
 
122
(define-object HintBox
 
123
  (in-module "Gimp")
 
124
  (parent "GtkHBox")
 
125
  (c-name "GimpHintBox")
 
126
  (gtype-id "GIMP_TYPE_HINT_BOX")
 
127
)
 
128
 
 
129
(define-object IntComboBox
 
130
  (in-module "Gimp")
 
131
  (parent "GtkComboBox")
 
132
  (c-name "GimpIntComboBox")
 
133
  (gtype-id "GIMP_TYPE_INT_COMBO_BOX")
 
134
)
 
135
 
 
136
(define-object EnumComboBox
 
137
  (in-module "Gimp")
 
138
  (parent "GimpIntComboBox")
 
139
  (c-name "GimpEnumComboBox")
 
140
  (gtype-id "GIMP_TYPE_ENUM_COMBO_BOX")
 
141
)
 
142
 
 
143
(define-object IntStore
 
144
  (in-module "Gimp")
 
145
  (parent "GtkListStore")
 
146
  (c-name "GimpIntStore")
 
147
  (gtype-id "GIMP_TYPE_INT_STORE")
 
148
)
 
149
 
 
150
(define-object EnumStore
 
151
  (in-module "Gimp")
 
152
  (parent "GimpIntStore")
 
153
  (c-name "GimpEnumStore")
 
154
  (gtype-id "GIMP_TYPE_ENUM_STORE")
 
155
)
 
156
 
 
157
(define-object MemsizeEntry
 
158
  (in-module "Gimp")
 
159
  (parent "GtkHBox")
 
160
  (c-name "GimpMemsizeEntry")
 
161
  (gtype-id "GIMP_TYPE_MEMSIZE_ENTRY")
 
162
)
 
163
 
 
164
(define-object OffsetArea
 
165
  (in-module "Gimp")
 
166
  (parent "GtkDrawingArea")
 
167
  (c-name "GimpOffsetArea")
 
168
  (gtype-id "GIMP_TYPE_OFFSET_AREA")
 
169
)
 
170
 
 
171
(define-object PageSelector
 
172
  (in-module "Gimp")
 
173
  (parent "GtkVBox")
 
174
  (c-name "GimpPageSelector")
 
175
  (gtype-id "GIMP_TYPE_PAGE_SELECTOR")
 
176
)
 
177
 
 
178
(define-object PathEditor
 
179
  (in-module "Gimp")
 
180
  (parent "GtkVBox")
 
181
  (c-name "GimpPathEditor")
 
182
  (gtype-id "GIMP_TYPE_PATH_EDITOR")
 
183
)
 
184
 
 
185
(define-object PickButton
 
186
  (in-module "Gimp")
 
187
  (parent "GtkButton")
 
188
  (c-name "GimpPickButton")
 
189
  (gtype-id "GIMP_TYPE_PICK_BUTTON")
 
190
)
 
191
 
 
192
(define-object Preview
 
193
  (in-module "Gimp")
 
194
  (parent "GtkVBox")
 
195
  (c-name "GimpPreview")
 
196
  (gtype-id "GIMP_TYPE_PREVIEW")
 
197
)
 
198
 
 
199
(define-object AspectPreview
 
200
  (in-module "Gimp")
 
201
  (parent "GimpPreview")
 
202
  (c-name "GimpAspectPreview")
 
203
  (gtype-id "GIMP_TYPE_ASPECT_PREVIEW")
 
204
)
 
205
 
 
206
(define-object PreviewArea
 
207
  (in-module "Gimp")
 
208
  (parent "GtkDrawingArea")
 
209
  (c-name "GimpPreviewArea")
 
210
  (gtype-id "GIMP_TYPE_PREVIEW_AREA")
 
211
)
 
212
 
 
213
(define-object ProcBrowserDialog
 
214
  (in-module "Gimp")
 
215
  (parent "GimpDialog")
 
216
  (c-name "GimpProcBrowserDialog")
 
217
  (gtype-id "GIMP_TYPE_PROC_BROWSER_DIALOG")
 
218
)
 
219
 
 
220
(define-object ProgressBar
 
221
  (in-module "Gimp")
 
222
  (parent "GtkProgressBar")
 
223
  (c-name "GimpProgressBar")
 
224
  (gtype-id "GIMP_TYPE_PROGRESS_BAR")
 
225
)
 
226
 
 
227
(define-object ResolutionEntry
 
228
  (in-module "Gimp")
 
229
  (parent "GtkTable")
 
230
  (c-name "GimpResolutionEntry")
 
231
  (gtype-id "GIMP_TYPE_RESOLUTION_ENTRY")
 
232
)
 
233
 
 
234
(define-object ScrolledPreview
 
235
  (in-module "Gimp")
 
236
  (parent "GimpPreview")
 
237
  (c-name "GimpScrolledPreview")
 
238
  (gtype-id "GIMP_TYPE_SCROLLED_PREVIEW")
 
239
)
 
240
 
 
241
(define-object DrawablePreview
 
242
  (in-module "Gimp")
 
243
  (parent "GimpScrolledPreview")
 
244
  (c-name "GimpDrawablePreview")
 
245
  (gtype-id "GIMP_TYPE_DRAWABLE_PREVIEW")
 
246
)
 
247
 
 
248
(define-object SelectButton
 
249
  (in-module "Gimp")
 
250
  (parent "GtkHBox")
 
251
  (c-name "GimpSelectButton")
 
252
  (gtype-id "GIMP_TYPE_SELECT_BUTTON")
 
253
)
 
254
 
 
255
(define-object PatternSelectButton
 
256
  (in-module "Gimp")
 
257
  (parent "GimpSelectButton")
 
258
  (c-name "GimpPatternSelectButton")
 
259
  (gtype-id "GIMP_TYPE_PATTERN_SELECT_BUTTON")
 
260
)
 
261
 
 
262
(define-object PaletteSelectButton
 
263
  (in-module "Gimp")
 
264
  (parent "GimpSelectButton")
 
265
  (c-name "GimpPaletteSelectButton")
 
266
  (gtype-id "GIMP_TYPE_PALETTE_SELECT_BUTTON")
 
267
)
 
268
 
 
269
(define-object GradientSelectButton
 
270
  (in-module "Gimp")
 
271
  (parent "GimpSelectButton")
 
272
  (c-name "GimpGradientSelectButton")
 
273
  (gtype-id "GIMP_TYPE_GRADIENT_SELECT_BUTTON")
 
274
)
 
275
 
 
276
(define-object FontSelectButton
 
277
  (in-module "Gimp")
 
278
  (parent "GimpSelectButton")
 
279
  (c-name "GimpFontSelectButton")
 
280
  (gtype-id "GIMP_TYPE_FONT_SELECT_BUTTON")
 
281
)
 
282
 
 
283
(define-object BrushSelectButton
 
284
  (in-module "Gimp")
 
285
  (parent "GimpSelectButton")
 
286
  (c-name "GimpBrushSelectButton")
 
287
  (gtype-id "GIMP_TYPE_BRUSH_SELECT_BUTTON")
 
288
)
 
289
 
 
290
(define-object SizeEntry
 
291
  (in-module "Gimp")
 
292
  (parent "GtkTable")
 
293
  (c-name "GimpSizeEntry")
 
294
  (gtype-id "GIMP_TYPE_SIZE_ENTRY")
 
295
)
 
296
 
 
297
(define-object UnitMenu
 
298
  (in-module "Gimp")
 
299
  (parent "GtkOptionMenu")
 
300
  (c-name "GimpUnitMenu")
 
301
  (gtype-id "GIMP_TYPE_UNIT_MENU")
 
302
)
 
303
 
 
304
(define-object ZoomModel
 
305
  (in-module "Gimp")
 
306
  (parent "GObject")
 
307
  (c-name "GimpZoomModel")
 
308
  (gtype-id "GIMP_TYPE_ZOOM_MODEL")
 
309
)
 
310
 
 
311
(define-object ZoomPreview
 
312
  (in-module "Gimp")
 
313
  (parent "GimpScrolledPreview")
 
314
  (c-name "GimpZoomPreview")
 
315
  (gtype-id "GIMP_TYPE_ZOOM_PREVIEW")
 
316
)
 
317
 
 
318
(define-object DrawableComboBox
 
319
  (in-module "Gimp")
 
320
  (parent "GimpIntComboBox")
 
321
  (c-name "GimpDrawableComboBox")
 
322
  (gtype-id "GIMP_TYPE_DRAWABLE_COMBO_BOX")
 
323
)
 
324
 
 
325
(define-object ChannelComboBox
 
326
  (in-module "Gimp")
 
327
  (parent "GimpIntComboBox")
 
328
  (c-name "GimpChannelComboBox")
 
329
  (gtype-id "GIMP_TYPE_CHANNEL_COMBO_BOX")
 
330
)
 
331
 
 
332
(define-object LayerComboBox
 
333
  (in-module "Gimp")
 
334
  (parent "GimpIntComboBox")
 
335
  (c-name "GimpLayerComboBox")
 
336
  (gtype-id "GIMP_TYPE_LAYER_COMBO_BOX")
 
337
)
 
338
 
 
339
(define-object VectorsComboBox
 
340
  (in-module "Gimp")
 
341
  (parent "GimpIntComboBox")
 
342
  (c-name "GimpVectorsComboBox")
 
343
  (gtype-id "GIMP_TYPE_VECTORS_COMBO_BOX")
 
344
)
 
345
 
 
346
(define-object ImageComboBox
 
347
  (in-module "Gimp")
 
348
  (parent "GimpIntComboBox")
 
349
  (c-name "GimpImageComboBox")
 
350
  (gtype-id "GIMP_TYPE_IMAGE_COMBO_BOX")
 
351
)
 
352
 
 
353
;; Enumerations and flags ...
 
354
 
 
355
(define-enum ChainPosition
 
356
  (in-module "Gimp")
 
357
  (c-name "GimpChainPosition")
 
358
  (gtype-id "GIMP_TYPE_CHAIN_POSITION")
 
359
  (values
 
360
    '("top" "GIMP_CHAIN_TOP")
 
361
    '("left" "GIMP_CHAIN_LEFT")
 
362
    '("bottom" "GIMP_CHAIN_BOTTOM")
 
363
    '("right" "GIMP_CHAIN_RIGHT")
 
364
  )
 
365
)
 
366
 
 
367
(define-enum ColorAreaType
 
368
  (in-module "Gimp")
 
369
  (c-name "GimpColorAreaType")
 
370
  (gtype-id "GIMP_TYPE_COLOR_AREA_TYPE")
 
371
  (values
 
372
    '("flat" "GIMP_COLOR_AREA_FLAT")
 
373
    '("small-checks" "GIMP_COLOR_AREA_SMALL_CHECKS")
 
374
    '("large-checks" "GIMP_COLOR_AREA_LARGE_CHECKS")
 
375
  )
 
376
)
 
377
 
 
378
(define-enum ColorSelectorChannel
 
379
  (in-module "Gimp")
 
380
  (c-name "GimpColorSelectorChannel")
 
381
  (gtype-id "GIMP_TYPE_COLOR_SELECTOR_CHANNEL")
 
382
  (values
 
383
    '("hue" "GIMP_COLOR_SELECTOR_HUE")
 
384
    '("saturation" "GIMP_COLOR_SELECTOR_SATURATION")
 
385
    '("value" "GIMP_COLOR_SELECTOR_VALUE")
 
386
    '("red" "GIMP_COLOR_SELECTOR_RED")
 
387
    '("green" "GIMP_COLOR_SELECTOR_GREEN")
 
388
    '("blue" "GIMP_COLOR_SELECTOR_BLUE")
 
389
    '("alpha" "GIMP_COLOR_SELECTOR_ALPHA")
 
390
  )
 
391
)
 
392
 
 
393
(define-enum PageSelectorTarget
 
394
  (in-module "Gimp")
 
395
  (c-name "GimpPageSelectorTarget")
 
396
  (gtype-id "GIMP_TYPE_PAGE_SELECTOR_TARGET")
 
397
  (values
 
398
    '("layers" "GIMP_PAGE_SELECTOR_TARGET_LAYERS")
 
399
    '("images" "GIMP_PAGE_SELECTOR_TARGET_IMAGES")
 
400
  )
 
401
)
 
402
 
 
403
(define-enum SizeEntryUpdatePolicy
 
404
  (in-module "Gimp")
 
405
  (c-name "GimpSizeEntryUpdatePolicy")
 
406
  (gtype-id "GIMP_TYPE_SIZE_ENTRY_UPDATE_POLICY")
 
407
  (values
 
408
    '("none" "GIMP_SIZE_ENTRY_UPDATE_NONE")
 
409
    '("size" "GIMP_SIZE_ENTRY_UPDATE_SIZE")
 
410
    '("resolution" "GIMP_SIZE_ENTRY_UPDATE_RESOLUTION")
 
411
  )
 
412
)
 
413
 
 
414
(define-enum ZoomType
 
415
  (in-module "Gimp")
 
416
  (c-name "GimpZoomType")
 
417
  (gtype-id "GIMP_TYPE_ZOOM_TYPE")
 
418
  (values
 
419
    '("in" "GIMP_ZOOM_IN")
 
420
    '("out" "GIMP_ZOOM_OUT")
 
421
    '("in-more" "GIMP_ZOOM_IN_MORE")
 
422
    '("out-more" "GIMP_ZOOM_OUT_MORE")
 
423
    '("in-max" "GIMP_ZOOM_IN_MAX")
 
424
    '("out-max" "GIMP_ZOOM_OUT_MAX")
 
425
    '("to" "GIMP_ZOOM_TO")
 
426
  )
 
427
)
 
428
 
 
429
 
 
430
;; From ../../libgimpwidgets/gimpbrowser.h
 
431
 
 
432
(define-function gimp_browser_get_type
 
433
  (c-name "gimp_browser_get_type")
 
434
  (return-type "GType")
 
435
)
 
436
 
 
437
(define-function gimp_browser_new
 
438
  (c-name "gimp_browser_new")
 
439
  (is-constructor-of "GimpBrowser")
 
440
  (return-type "GtkWidget*")
 
441
)
 
442
 
 
443
(define-method add_search_types
 
444
  (of-object "GimpBrowser")
 
445
  (c-name "gimp_browser_add_search_types")
 
446
  (return-type "none")
 
447
  (parameters
 
448
    '("const-gchar*" "first_type_label")
 
449
    '("gint" "first_type_id")
 
450
  )
 
451
  (varargs #t)
 
452
)
 
453
 
 
454
(define-method set_widget
 
455
  (of-object "GimpBrowser")
 
456
  (c-name "gimp_browser_set_widget")
 
457
  (return-type "none")
 
458
  (parameters
 
459
    '("GtkWidget*" "widget")
 
460
  )
 
461
)
 
462
 
 
463
(define-method show_message
 
464
  (of-object "GimpBrowser")
 
465
  (c-name "gimp_browser_show_message")
 
466
  (return-type "none")
 
467
  (parameters
 
468
    '("const-gchar*" "message")
 
469
  )
 
470
)
 
471
 
 
472
 
 
473
 
 
474
;; From ../../libgimpwidgets/gimpbutton.h
 
475
 
 
476
(define-function gimp_button_get_type
 
477
  (c-name "gimp_button_get_type")
 
478
  (return-type "GType")
 
479
)
 
480
 
 
481
(define-function gimp_button_new
 
482
  (c-name "gimp_button_new")
 
483
  (is-constructor-of "GimpButton")
 
484
  (return-type "GtkWidget*")
 
485
)
 
486
 
 
487
(define-method extended_clicked
 
488
  (of-object "GimpButton")
 
489
  (c-name "gimp_button_extended_clicked")
 
490
  (return-type "none")
 
491
  (parameters
 
492
    '("GdkModifierType" "state")
 
493
  )
 
494
)
 
495
 
 
496
 
 
497
 
 
498
;; From ../../libgimpwidgets/gimpcellrenderercolor.h
 
499
 
 
500
(define-function gimp_cell_renderer_color_get_type
 
501
  (c-name "gimp_cell_renderer_color_get_type")
 
502
  (return-type "GType")
 
503
)
 
504
 
 
505
(define-function gimp_cell_renderer_color_new
 
506
  (c-name "gimp_cell_renderer_color_new")
 
507
  (is-constructor-of "GimpCellRendererColor")
 
508
  (return-type "GtkCellRenderer*")
 
509
)
 
510
 
 
511
 
 
512
 
 
513
;; From ../../libgimpwidgets/gimpcellrenderertoggle.h
 
514
 
 
515
(define-function gimp_cell_renderer_toggle_get_type
 
516
  (c-name "gimp_cell_renderer_toggle_get_type")
 
517
  (return-type "GType")
 
518
)
 
519
 
 
520
(define-function gimp_cell_renderer_toggle_new
 
521
  (c-name "gimp_cell_renderer_toggle_new")
 
522
  (is-constructor-of "GimpCellRendererToggle")
 
523
  (return-type "GtkCellRenderer*")
 
524
  (properties
 
525
    '("stock-id" (argname "stock_id") (optional))
 
526
  )
 
527
)
 
528
 
 
529
(define-method clicked
 
530
  (of-object "GimpCellRendererToggle")
 
531
  (c-name "gimp_cell_renderer_toggle_clicked")
 
532
  (return-type "none")
 
533
  (parameters
 
534
    '("const-gchar*" "path")
 
535
    '("GdkModifierType" "state")
 
536
  )
 
537
)
 
538
 
 
539
 
 
540
 
 
541
;; From ../../libgimpwidgets/gimpchainbutton.h
 
542
 
 
543
(define-function gimp_chain_button_get_type
 
544
  (c-name "gimp_chain_button_get_type")
 
545
  (return-type "GType")
 
546
)
 
547
 
 
548
(define-function gimp_chain_button_new
 
549
  (c-name "gimp_chain_button_new")
 
550
  (is-constructor-of "GimpChainButton")
 
551
  (return-type "GtkWidget*")
 
552
  (properties
 
553
    '("position")
 
554
  )
 
555
)
 
556
 
 
557
(define-method set_active
 
558
  (of-object "GimpChainButton")
 
559
  (c-name "gimp_chain_button_set_active")
 
560
  (return-type "none")
 
561
  (parameters
 
562
    '("gboolean" "active")
 
563
  )
 
564
)
 
565
 
 
566
(define-method get_active
 
567
  (of-object "GimpChainButton")
 
568
  (c-name "gimp_chain_button_get_active")
 
569
  (return-type "gboolean")
 
570
)
 
571
 
 
572
 
 
573
 
 
574
;; From ../../libgimpwidgets/gimpcolorarea.h
 
575
 
 
576
(define-function gimp_color_area_get_type
 
577
  (c-name "gimp_color_area_get_type")
 
578
  (return-type "GType")
 
579
)
 
580
 
 
581
(define-function gimp_color_area_new
 
582
  (c-name "gimp_color_area_new")
 
583
  (is-constructor-of "GimpColorArea")
 
584
  (return-type "GtkWidget*")
 
585
  (properties
 
586
    '("color" (argname "color") (optional))
 
587
    '("type" (argname "type") (optional))
 
588
    '("drag-mask" (argname "drag_mask") (optional))
 
589
  )
 
590
)
 
591
 
 
592
(define-method set_color
 
593
  (of-object "GimpColorArea")
 
594
  (c-name "gimp_color_area_set_color")
 
595
  (return-type "none")
 
596
  (parameters
 
597
    '("const-GimpRGB*" "color")
 
598
  )
 
599
)
 
600
 
 
601
(define-method get_color
 
602
  (of-object "GimpColorArea")
 
603
  (c-name "gimp_color_area_get_color")
 
604
  (return-type "none")
 
605
  (parameters
 
606
    '("GimpRGB*" "color")
 
607
  )
 
608
)
 
609
 
 
610
(define-method has_alpha
 
611
  (of-object "GimpColorArea")
 
612
  (c-name "gimp_color_area_has_alpha")
 
613
  (return-type "gboolean")
 
614
)
 
615
 
 
616
(define-method set_type
 
617
  (of-object "GimpColorArea")
 
618
  (c-name "gimp_color_area_set_type")
 
619
  (return-type "none")
 
620
  (parameters
 
621
    '("GimpColorAreaType" "type")
 
622
  )
 
623
)
 
624
 
 
625
(define-method set_draw_border
 
626
  (of-object "GimpColorArea")
 
627
  (c-name "gimp_color_area_set_draw_border")
 
628
  (return-type "none")
 
629
  (parameters
 
630
    '("gboolean" "draw_border")
 
631
  )
 
632
)
 
633
 
 
634
 
 
635
 
 
636
;; From ../../libgimpwidgets/gimpcolorbutton.h
 
637
 
 
638
(define-function gimp_color_button_get_type
 
639
  (c-name "gimp_color_button_get_type")
 
640
  (return-type "GType")
 
641
)
 
642
 
 
643
(define-function gimp_color_button_new
 
644
  (c-name "gimp_color_button_new")
 
645
  (is-constructor-of "GimpColorButton")
 
646
  (return-type "GtkWidget*")
 
647
  (properties
 
648
    '("title" (optional))
 
649
    '("width" (optional))
 
650
    '("height" (optional))
 
651
    '("color" (optional))
 
652
    '("type" (optional))
 
653
  )
 
654
)
 
655
 
 
656
(define-method set_color
 
657
  (of-object "GimpColorButton")
 
658
  (c-name "gimp_color_button_set_color")
 
659
  (return-type "none")
 
660
  (parameters
 
661
    '("const-GimpRGB*" "color")
 
662
  )
 
663
)
 
664
 
 
665
(define-method get_color
 
666
  (of-object "GimpColorButton")
 
667
  (c-name "gimp_color_button_get_color")
 
668
  (return-type "none")
 
669
  (parameters
 
670
    '("GimpRGB*" "color")
 
671
  )
 
672
)
 
673
 
 
674
(define-method has_alpha
 
675
  (of-object "GimpColorButton")
 
676
  (c-name "gimp_color_button_has_alpha")
 
677
  (return-type "gboolean")
 
678
)
 
679
 
 
680
(define-method set_type
 
681
  (of-object "GimpColorButton")
 
682
  (c-name "gimp_color_button_set_type")
 
683
  (return-type "none")
 
684
  (parameters
 
685
    '("GimpColorAreaType" "type")
 
686
  )
 
687
)
 
688
 
 
689
(define-method get_update
 
690
  (of-object "GimpColorButton")
 
691
  (c-name "gimp_color_button_get_update")
 
692
  (return-type "gboolean")
 
693
)
 
694
 
 
695
(define-method set_update
 
696
  (of-object "GimpColorButton")
 
697
  (c-name "gimp_color_button_set_update")
 
698
  (return-type "none")
 
699
  (parameters
 
700
    '("gboolean" "continuous")
 
701
  )
 
702
)
 
703
 
 
704
 
 
705
 
 
706
;; From ../../libgimpwidgets/gimpcolordisplay.h
 
707
 
 
708
(define-function gimp_color_display_get_type
 
709
  (c-name "gimp_color_display_get_type")
 
710
  (return-type "GType")
 
711
)
 
712
 
 
713
(define-function gimp_color_display_new
 
714
  (c-name "gimp_color_display_new")
 
715
  (is-constructor-of "GimpColorDisplay")
 
716
  (return-type "GimpColorDisplay*")
 
717
  (parameters
 
718
    '("GType" "display_type")
 
719
  )
 
720
)
 
721
 
 
722
(define-method clone
 
723
  (of-object "GimpColorDisplay")
 
724
  (c-name "gimp_color_display_clone")
 
725
  (return-type "GimpColorDisplay*")
 
726
)
 
727
 
 
728
(define-method convert
 
729
  (of-object "GimpColorDisplay")
 
730
  (c-name "gimp_color_display_convert")
 
731
  (return-type "none")
 
732
  (parameters
 
733
    '("guchar*" "buf")
 
734
    '("gint" "width")
 
735
    '("gint" "height")
 
736
    '("gint" "bpp")
 
737
    '("gint" "bpl")
 
738
  )
 
739
)
 
740
 
 
741
(define-method load_state
 
742
  (of-object "GimpColorDisplay")
 
743
  (c-name "gimp_color_display_load_state")
 
744
  (return-type "none")
 
745
  (parameters
 
746
    '("GimpParasite*" "state")
 
747
  )
 
748
)
 
749
 
 
750
(define-method save_state
 
751
  (of-object "GimpColorDisplay")
 
752
  (c-name "gimp_color_display_save_state")
 
753
  (return-type "GimpParasite*")
 
754
)
 
755
 
 
756
(define-method configure
 
757
  (of-object "GimpColorDisplay")
 
758
  (c-name "gimp_color_display_configure")
 
759
  (return-type "GtkWidget*")
 
760
)
 
761
 
 
762
(define-method configure_reset
 
763
  (of-object "GimpColorDisplay")
 
764
  (c-name "gimp_color_display_configure_reset")
 
765
  (return-type "none")
 
766
)
 
767
 
 
768
(define-method changed
 
769
  (of-object "GimpColorDisplay")
 
770
  (c-name "gimp_color_display_changed")
 
771
  (return-type "none")
 
772
)
 
773
 
 
774
(define-method set_enabled
 
775
  (of-object "GimpColorDisplay")
 
776
  (c-name "gimp_color_display_set_enabled")
 
777
  (return-type "none")
 
778
  (parameters
 
779
    '("gboolean" "enabled")
 
780
  )
 
781
)
 
782
 
 
783
(define-method get_enabled
 
784
  (of-object "GimpColorDisplay")
 
785
  (c-name "gimp_color_display_get_enabled")
 
786
  (return-type "gboolean")
 
787
)
 
788
 
 
789
 
 
790
 
 
791
;; From ../../libgimpwidgets/gimpcolordisplaystack.h
 
792
 
 
793
(define-function gimp_color_display_stack_get_type
 
794
  (c-name "gimp_color_display_stack_get_type")
 
795
  (return-type "GType")
 
796
)
 
797
 
 
798
(define-function gimp_color_display_stack_new
 
799
  (c-name "gimp_color_display_stack_new")
 
800
  (is-constructor-of "GimpColorDisplayStack")
 
801
  (return-type "GimpColorDisplayStack*")
 
802
)
 
803
 
 
804
(define-method clone
 
805
  (of-object "GimpColorDisplayStack")
 
806
  (c-name "gimp_color_display_stack_clone")
 
807
  (return-type "GimpColorDisplayStack*")
 
808
)
 
809
 
 
810
(define-method changed
 
811
  (of-object "GimpColorDisplayStack")
 
812
  (c-name "gimp_color_display_stack_changed")
 
813
  (return-type "none")
 
814
)
 
815
 
 
816
(define-method add
 
817
  (of-object "GimpColorDisplayStack")
 
818
  (c-name "gimp_color_display_stack_add")
 
819
  (return-type "none")
 
820
  (parameters
 
821
    '("GimpColorDisplay*" "display")
 
822
  )
 
823
)
 
824
 
 
825
(define-method remove
 
826
  (of-object "GimpColorDisplayStack")
 
827
  (c-name "gimp_color_display_stack_remove")
 
828
  (return-type "none")
 
829
  (parameters
 
830
    '("GimpColorDisplay*" "display")
 
831
  )
 
832
)
 
833
 
 
834
(define-method reorder_up
 
835
  (of-object "GimpColorDisplayStack")
 
836
  (c-name "gimp_color_display_stack_reorder_up")
 
837
  (return-type "none")
 
838
  (parameters
 
839
    '("GimpColorDisplay*" "display")
 
840
  )
 
841
)
 
842
 
 
843
(define-method reorder_down
 
844
  (of-object "GimpColorDisplayStack")
 
845
  (c-name "gimp_color_display_stack_reorder_down")
 
846
  (return-type "none")
 
847
  (parameters
 
848
    '("GimpColorDisplay*" "display")
 
849
  )
 
850
)
 
851
 
 
852
(define-method convert
 
853
  (of-object "GimpColorDisplayStack")
 
854
  (c-name "gimp_color_display_stack_convert")
 
855
  (return-type "none")
 
856
  (parameters
 
857
    '("guchar*" "buf")
 
858
    '("gint" "width")
 
859
    '("gint" "height")
 
860
    '("gint" "bpp")
 
861
    '("gint" "bpl")
 
862
  )
 
863
)
 
864
 
 
865
 
 
866
 
 
867
;; From ../../libgimpwidgets/gimpcolorhexentry.h
 
868
 
 
869
(define-function gimp_color_hex_entry_get_type
 
870
  (c-name "gimp_color_hex_entry_get_type")
 
871
  (return-type "GType")
 
872
)
 
873
 
 
874
(define-function gimp_color_hex_entry_new
 
875
  (c-name "gimp_color_hex_entry_new")
 
876
  (is-constructor-of "GimpColorHexEntry")
 
877
  (return-type "GtkWidget*")
 
878
)
 
879
 
 
880
(define-method set_color
 
881
  (of-object "GimpColorHexEntry")
 
882
  (c-name "gimp_color_hex_entry_set_color")
 
883
  (return-type "none")
 
884
  (parameters
 
885
    '("const-GimpRGB*" "color")
 
886
  )
 
887
)
 
888
 
 
889
(define-method get_color
 
890
  (of-object "GimpColorHexEntry")
 
891
  (c-name "gimp_color_hex_entry_get_color")
 
892
  (return-type "none")
 
893
  (parameters
 
894
    '("GimpRGB*" "color")
 
895
  )
 
896
)
 
897
 
 
898
 
 
899
 
 
900
;; From ../../libgimpwidgets/gimpcolornotebook.h
 
901
 
 
902
(define-function gimp_color_notebook_get_type
 
903
  (c-name "gimp_color_notebook_get_type")
 
904
  (return-type "GType")
 
905
)
 
906
 
 
907
(define-method set_has_page
 
908
  (of-object "GimpColorNotebook")
 
909
  (c-name "gimp_color_notebook_set_has_page")
 
910
  (return-type "GtkWidget*")
 
911
  (parameters
 
912
    '("GType" "page_type")
 
913
    '("gboolean" "has_page")
 
914
  )
 
915
)
 
916
 
 
917
 
 
918
 
 
919
;; From ../../libgimpwidgets/gimpcolorscale.h
 
920
 
 
921
(define-function gimp_color_scale_get_type
 
922
  (c-name "gimp_color_scale_get_type")
 
923
  (return-type "GType")
 
924
)
 
925
 
 
926
(define-function gimp_color_scale_new
 
927
  (c-name "gimp_color_scale_new")
 
928
  (is-constructor-of "GimpColorScale")
 
929
  (return-type "GtkWidget*")
 
930
  (properties
 
931
    '("orientation")
 
932
    '("channel")
 
933
  )
 
934
)
 
935
 
 
936
(define-method set_channel
 
937
  (of-object "GimpColorScale")
 
938
  (c-name "gimp_color_scale_set_channel")
 
939
  (return-type "none")
 
940
  (parameters
 
941
    '("GimpColorSelectorChannel" "channel")
 
942
  )
 
943
)
 
944
 
 
945
(define-method set_color
 
946
  (of-object "GimpColorScale")
 
947
  (c-name "gimp_color_scale_set_color")
 
948
  (return-type "none")
 
949
  (parameters
 
950
    '("const-GimpRGB*" "rgb")
 
951
    '("const-GimpHSV*" "hsv")
 
952
  )
 
953
)
 
954
 
 
955
 
 
956
 
 
957
;; From ../../libgimpwidgets/gimpcolorscales.h
 
958
 
 
959
(define-function gimp_color_scales_get_type
 
960
  (c-name "gimp_color_scales_get_type")
 
961
  (return-type "GType")
 
962
)
 
963
 
 
964
 
 
965
 
 
966
;; From ../../libgimpwidgets/gimpcolorselect.h
 
967
 
 
968
(define-function gimp_color_select_get_type
 
969
  (c-name "gimp_color_select_get_type")
 
970
  (return-type "GType")
 
971
)
 
972
 
 
973
 
 
974
 
 
975
;; From ../../libgimpwidgets/gimpcolorselection.h
 
976
 
 
977
(define-function gimp_color_selection_get_type
 
978
  (c-name "gimp_color_selection_get_type")
 
979
  (return-type "GType")
 
980
)
 
981
 
 
982
(define-function gimp_color_selection_new
 
983
  (c-name "gimp_color_selection_new")
 
984
  (is-constructor-of "GimpColorSelection")
 
985
  (return-type "GtkWidget*")
 
986
)
 
987
 
 
988
(define-method set_show_alpha
 
989
  (of-object "GimpColorSelection")
 
990
  (c-name "gimp_color_selection_set_show_alpha")
 
991
  (return-type "none")
 
992
  (parameters
 
993
    '("gboolean" "show_alpha")
 
994
  )
 
995
)
 
996
 
 
997
(define-method get_show_alpha
 
998
  (of-object "GimpColorSelection")
 
999
  (c-name "gimp_color_selection_get_show_alpha")
 
1000
  (return-type "gboolean")
 
1001
)
 
1002
 
 
1003
(define-method set_color
 
1004
  (of-object "GimpColorSelection")
 
1005
  (c-name "gimp_color_selection_set_color")
 
1006
  (return-type "none")
 
1007
  (parameters
 
1008
    '("const-GimpRGB*" "color")
 
1009
  )
 
1010
)
 
1011
 
 
1012
(define-method get_color
 
1013
  (of-object "GimpColorSelection")
 
1014
  (c-name "gimp_color_selection_get_color")
 
1015
  (return-type "none")
 
1016
  (parameters
 
1017
    '("GimpRGB*" "color")
 
1018
  )
 
1019
)
 
1020
 
 
1021
(define-method set_old_color
 
1022
  (of-object "GimpColorSelection")
 
1023
  (c-name "gimp_color_selection_set_old_color")
 
1024
  (return-type "none")
 
1025
  (parameters
 
1026
    '("const-GimpRGB*" "color")
 
1027
  )
 
1028
)
 
1029
 
 
1030
(define-method get_old_color
 
1031
  (of-object "GimpColorSelection")
 
1032
  (c-name "gimp_color_selection_get_old_color")
 
1033
  (return-type "none")
 
1034
  (parameters
 
1035
    '("GimpRGB*" "color")
 
1036
  )
 
1037
)
 
1038
 
 
1039
(define-method reset
 
1040
  (of-object "GimpColorSelection")
 
1041
  (c-name "gimp_color_selection_reset")
 
1042
  (return-type "none")
 
1043
)
 
1044
 
 
1045
(define-method color_changed
 
1046
  (of-object "GimpColorSelection")
 
1047
  (c-name "gimp_color_selection_color_changed")
 
1048
  (return-type "none")
 
1049
)
 
1050
 
 
1051
 
 
1052
 
 
1053
;; From ../../libgimpwidgets/gimpcolorselector.h
 
1054
 
 
1055
(define-function gimp_color_selector_get_type
 
1056
  (c-name "gimp_color_selector_get_type")
 
1057
  (return-type "GType")
 
1058
)
 
1059
 
 
1060
(define-function gimp_color_selector_new
 
1061
  (c-name "gimp_color_selector_new")
 
1062
  (is-constructor-of "GimpColorSelector")
 
1063
  (return-type "GtkWidget*")
 
1064
  (parameters
 
1065
    '("GType" "selector_type")
 
1066
    '("const-GimpRGB*" "rgb")
 
1067
    '("const-GimpHSV*" "hsv")
 
1068
    '("GimpColorSelectorChannel" "channel")
 
1069
  )
 
1070
)
 
1071
 
 
1072
(define-method set_toggles_visible
 
1073
  (of-object "GimpColorSelector")
 
1074
  (c-name "gimp_color_selector_set_toggles_visible")
 
1075
  (return-type "none")
 
1076
  (parameters
 
1077
    '("gboolean" "visible")
 
1078
  )
 
1079
)
 
1080
 
 
1081
(define-method set_toggles_sensitive
 
1082
  (of-object "GimpColorSelector")
 
1083
  (c-name "gimp_color_selector_set_toggles_sensitive")
 
1084
  (return-type "none")
 
1085
  (parameters
 
1086
    '("gboolean" "sensitive")
 
1087
  )
 
1088
)
 
1089
 
 
1090
(define-method set_show_alpha
 
1091
  (of-object "GimpColorSelector")
 
1092
  (c-name "gimp_color_selector_set_show_alpha")
 
1093
  (return-type "none")
 
1094
  (parameters
 
1095
    '("gboolean" "show_alpha")
 
1096
  )
 
1097
)
 
1098
 
 
1099
(define-method set_color
 
1100
  (of-object "GimpColorSelector")
 
1101
  (c-name "gimp_color_selector_set_color")
 
1102
  (return-type "none")
 
1103
  (parameters
 
1104
    '("const-GimpRGB*" "rgb")
 
1105
    '("const-GimpHSV*" "hsv")
 
1106
  )
 
1107
)
 
1108
 
 
1109
(define-method set_channel
 
1110
  (of-object "GimpColorSelector")
 
1111
  (c-name "gimp_color_selector_set_channel")
 
1112
  (return-type "none")
 
1113
  (parameters
 
1114
    '("GimpColorSelectorChannel" "channel")
 
1115
  )
 
1116
)
 
1117
 
 
1118
(define-method color_changed
 
1119
  (of-object "GimpColorSelector")
 
1120
  (c-name "gimp_color_selector_color_changed")
 
1121
  (return-type "none")
 
1122
)
 
1123
 
 
1124
(define-method channel_changed
 
1125
  (of-object "GimpColorSelector")
 
1126
  (c-name "gimp_color_selector_channel_changed")
 
1127
  (return-type "none")
 
1128
)
 
1129
 
 
1130
 
 
1131
 
 
1132
;; From ../../libgimpwidgets/gimpdialog.h
 
1133
 
 
1134
(define-function gimp_dialog_get_type
 
1135
  (c-name "gimp_dialog_get_type")
 
1136
  (return-type "GType")
 
1137
)
 
1138
 
 
1139
(define-function gimp_dialog_new
 
1140
  (c-name "gimp_dialog_new")
 
1141
  (is-constructor-of "GimpDialog")
 
1142
  (return-type "GtkWidget*")
 
1143
  (parameters
 
1144
    '("const-gchar*" "title")
 
1145
    '("const-gchar*" "role")
 
1146
    '("GtkWidget*" "parent")
 
1147
    '("GtkDialogFlags" "flags")
 
1148
    '("GimpHelpFunc" "help_func")
 
1149
    '("const-gchar*" "help_id")
 
1150
  )
 
1151
  (varargs #t)
 
1152
)
 
1153
 
 
1154
(define-function gimp_dialog_new_valist
 
1155
  (c-name "gimp_dialog_new_valist")
 
1156
  (is-constructor-of "GimpDialog")
 
1157
  (return-type "GtkWidget*")
 
1158
  (parameters
 
1159
    '("const-gchar*" "title")
 
1160
    '("const-gchar*" "role")
 
1161
    '("GtkWidget*" "parent")
 
1162
    '("GtkDialogFlags" "flags")
 
1163
    '("GimpHelpFunc" "help_func")
 
1164
    '("const-gchar*" "help_id")
 
1165
    '("va_list" "args")
 
1166
  )
 
1167
)
 
1168
 
 
1169
(define-method add_button
 
1170
  (of-object "GimpDialog")
 
1171
  (c-name "gimp_dialog_add_button")
 
1172
  (return-type "GtkWidget*")
 
1173
  (parameters
 
1174
    '("const-gchar*" "button_text")
 
1175
    '("gint" "response_id")
 
1176
  )
 
1177
)
 
1178
 
 
1179
(define-method add_buttons
 
1180
  (of-object "GimpDialog")
 
1181
  (c-name "gimp_dialog_add_buttons")
 
1182
  (return-type "none")
 
1183
  (varargs #t)
 
1184
)
 
1185
 
 
1186
(define-method add_buttons_valist
 
1187
  (of-object "GimpDialog")
 
1188
  (c-name "gimp_dialog_add_buttons_valist")
 
1189
  (return-type "none")
 
1190
  (parameters
 
1191
    '("va_list" "args")
 
1192
  )
 
1193
)
 
1194
 
 
1195
(define-method run
 
1196
  (of-object "GimpDialog")
 
1197
  (c-name "gimp_dialog_run")
 
1198
  (return-type "gint")
 
1199
)
 
1200
 
 
1201
(define-function gimp_dialogs_show_help_button
 
1202
  (c-name "gimp_dialogs_show_help_button")
 
1203
  (return-type "none")
 
1204
  (parameters
 
1205
    '("gboolean" "show")
 
1206
  )
 
1207
)
 
1208
 
 
1209
 
 
1210
 
 
1211
;; From ../../libgimpwidgets/gimpenumcombobox.h
 
1212
 
 
1213
(define-function gimp_enum_combo_box_get_type
 
1214
  (c-name "gimp_enum_combo_box_get_type")
 
1215
  (return-type "GType")
 
1216
)
 
1217
 
 
1218
(define-function gimp_enum_combo_box_new
 
1219
  (c-name "gimp_enum_combo_box_new")
 
1220
  (is-constructor-of "GimpEnumComboBox")
 
1221
  (return-type "GtkWidget*")
 
1222
  (parameters
 
1223
    '("GType" "enum_type")
 
1224
  )
 
1225
)
 
1226
 
 
1227
(define-function gimp_enum_combo_box_new_with_model
 
1228
  (c-name "gimp_enum_combo_box_new_with_model")
 
1229
  (is-constructor-of "GimpEnumComboBox")
 
1230
  (return-type "GtkWidget*")
 
1231
  (parameters
 
1232
    '("GimpEnumStore*" "enum_store")
 
1233
  )
 
1234
)
 
1235
 
 
1236
(define-method set_stock_prefix
 
1237
  (of-object "GimpEnumComboBox")
 
1238
  (c-name "gimp_enum_combo_box_set_stock_prefix")
 
1239
  (return-type "none")
 
1240
  (parameters
 
1241
    '("const-gchar*" "stock_prefix")
 
1242
  )
 
1243
)
 
1244
 
 
1245
 
 
1246
 
 
1247
;; From ../../libgimpwidgets/gimpenumlabel.h
 
1248
 
 
1249
(define-function gimp_enum_label_get_type
 
1250
  (c-name "gimp_enum_label_get_type")
 
1251
  (return-type "GType")
 
1252
)
 
1253
 
 
1254
(define-function gimp_enum_label_new
 
1255
  (c-name "gimp_enum_label_new")
 
1256
  (is-constructor-of "GimpEnumLabel")
 
1257
  (return-type "GtkWidget*")
 
1258
  (parameters
 
1259
    '("GType" "enum_type")
 
1260
    '("gint" "value")
 
1261
  )
 
1262
)
 
1263
 
 
1264
(define-method set_value
 
1265
  (of-object "GimpEnumLabel")
 
1266
  (c-name "gimp_enum_label_set_value")
 
1267
  (return-type "none")
 
1268
  (parameters
 
1269
    '("gint" "value")
 
1270
  )
 
1271
)
 
1272
 
 
1273
 
 
1274
 
 
1275
;; From ../../libgimpwidgets/gimpenumstore.h
 
1276
 
 
1277
(define-function gimp_enum_store_get_type
 
1278
  (c-name "gimp_enum_store_get_type")
 
1279
  (return-type "GType")
 
1280
)
 
1281
 
 
1282
(define-function gimp_enum_store_new
 
1283
  (c-name "gimp_enum_store_new")
 
1284
  (is-constructor-of "GimpEnumStore")
 
1285
  (return-type "GtkListStore*")
 
1286
  (parameters
 
1287
    '("GType" "enum_type")
 
1288
  )
 
1289
)
 
1290
 
 
1291
(define-function gimp_enum_store_new_with_range
 
1292
  (c-name "gimp_enum_store_new_with_range")
 
1293
  (is-constructor-of "GimpEnumStore")
 
1294
  (return-type "GtkListStore*")
 
1295
  (parameters
 
1296
    '("GType" "enum_type")
 
1297
    '("gint" "minimum")
 
1298
    '("gint" "maximum")
 
1299
  )
 
1300
)
 
1301
 
 
1302
(define-function gimp_enum_store_new_with_values
 
1303
  (c-name "gimp_enum_store_new_with_values")
 
1304
  (is-constructor-of "GimpEnumStore")
 
1305
  (return-type "GtkListStore*")
 
1306
  (parameters
 
1307
    '("GType" "enum_type")
 
1308
    '("gint" "n_values")
 
1309
  )
 
1310
  (varargs #t)
 
1311
)
 
1312
 
 
1313
(define-function gimp_enum_store_new_with_values_valist
 
1314
  (c-name "gimp_enum_store_new_with_values_valist")
 
1315
  (is-constructor-of "GimpEnumStore")
 
1316
  (return-type "GtkListStore*")
 
1317
  (parameters
 
1318
    '("GType" "enum_type")
 
1319
    '("gint" "n_values")
 
1320
    '("va_list" "args")
 
1321
  )
 
1322
)
 
1323
 
 
1324
(define-method set_stock_prefix
 
1325
  (of-object "GimpEnumStore")
 
1326
  (c-name "gimp_enum_store_set_stock_prefix")
 
1327
  (return-type "none")
 
1328
  (parameters
 
1329
    '("const-gchar*" "stock_prefix")
 
1330
  )
 
1331
)
 
1332
 
 
1333
 
 
1334
 
 
1335
;; From ../../libgimpwidgets/gimpenumwidgets.h
 
1336
 
 
1337
(define-function gimp_enum_radio_box_new
 
1338
  (c-name "gimp_enum_radio_box_new")
 
1339
  (is-constructor-of "GimpEnumRadioBox")
 
1340
  (return-type "GtkWidget*")
 
1341
  (parameters
 
1342
    '("GType" "enum_type")
 
1343
    '("GCallback" "callback")
 
1344
    '("gpointer" "callback_data")
 
1345
    '("GtkWidget**" "first_button")
 
1346
  )
 
1347
)
 
1348
 
 
1349
(define-function gimp_enum_radio_box_new_with_range
 
1350
  (c-name "gimp_enum_radio_box_new_with_range")
 
1351
  (return-type "GtkWidget*")
 
1352
  (parameters
 
1353
    '("GType" "enum_type")
 
1354
    '("gint" "minimum")
 
1355
    '("gint" "maximum")
 
1356
    '("GCallback" "callback")
 
1357
    '("gpointer" "callback_data")
 
1358
    '("GtkWidget**" "first_button")
 
1359
  )
 
1360
)
 
1361
 
 
1362
(define-function gimp_enum_radio_frame_new
 
1363
  (c-name "gimp_enum_radio_frame_new")
 
1364
  (is-constructor-of "GimpEnumRadioFrame")
 
1365
  (return-type "GtkWidget*")
 
1366
  (parameters
 
1367
    '("GType" "enum_type")
 
1368
    '("GtkWidget*" "label_widget")
 
1369
    '("GCallback" "callback")
 
1370
    '("gpointer" "callback_data")
 
1371
    '("GtkWidget**" "first_button")
 
1372
  )
 
1373
)
 
1374
 
 
1375
(define-function gimp_enum_radio_frame_new_with_range
 
1376
  (c-name "gimp_enum_radio_frame_new_with_range")
 
1377
  (return-type "GtkWidget*")
 
1378
  (parameters
 
1379
    '("GType" "enum_type")
 
1380
    '("gint" "minimum")
 
1381
    '("gint" "maximum")
 
1382
    '("GtkWidget*" "label_widget")
 
1383
    '("GCallback" "callback")
 
1384
    '("gpointer" "callback_data")
 
1385
    '("GtkWidget**" "first_button")
 
1386
  )
 
1387
)
 
1388
 
 
1389
(define-function gimp_enum_stock_box_new
 
1390
  (c-name "gimp_enum_stock_box_new")
 
1391
  (is-constructor-of "GimpEnumStockBox")
 
1392
  (return-type "GtkWidget*")
 
1393
  (parameters
 
1394
    '("GType" "enum_type")
 
1395
    '("const-gchar*" "stock_prefix")
 
1396
    '("GtkIconSize" "icon_size")
 
1397
    '("GCallback" "callback")
 
1398
    '("gpointer" "callback_data")
 
1399
    '("GtkWidget**" "first_button")
 
1400
  )
 
1401
)
 
1402
 
 
1403
(define-function gimp_enum_stock_box_new_with_range
 
1404
  (c-name "gimp_enum_stock_box_new_with_range")
 
1405
  (return-type "GtkWidget*")
 
1406
  (parameters
 
1407
    '("GType" "enum_type")
 
1408
    '("gint" "minimum")
 
1409
    '("gint" "maximum")
 
1410
    '("const-gchar*" "stock_prefix")
 
1411
    '("GtkIconSize" "icon_size")
 
1412
    '("GCallback" "callback")
 
1413
    '("gpointer" "callback_data")
 
1414
    '("GtkWidget**" "first_button")
 
1415
  )
 
1416
)
 
1417
 
 
1418
(define-function gimp_enum_stock_box_set_child_padding
 
1419
  (c-name "gimp_enum_stock_box_set_child_padding")
 
1420
  (return-type "none")
 
1421
  (parameters
 
1422
    '("GtkWidget*" "stock_box")
 
1423
    '("gint" "xpad")
 
1424
    '("gint" "ypad")
 
1425
  )
 
1426
)
 
1427
 
 
1428
 
 
1429
 
 
1430
;; From ../../libgimpwidgets/gimpframe.h
 
1431
 
 
1432
(define-function gimp_frame_get_type
 
1433
  (c-name "gimp_frame_get_type")
 
1434
  (return-type "GType")
 
1435
)
 
1436
 
 
1437
(define-function gimp_frame_new
 
1438
  (c-name "gimp_frame_new")
 
1439
  (is-constructor-of "GimpFrame")
 
1440
  (return-type "GtkWidget*")
 
1441
  (parameters
 
1442
    '("const-gchar*" "label")
 
1443
  )
 
1444
)
 
1445
 
 
1446
 
 
1447
 
 
1448
;; From ../../libgimpwidgets/gimpintcombobox.h
 
1449
 
 
1450
(define-function gimp_int_combo_box_get_type
 
1451
  (c-name "gimp_int_combo_box_get_type")
 
1452
  (return-type "GType")
 
1453
)
 
1454
 
 
1455
(define-function gimp_int_combo_box_new
 
1456
  (c-name "gimp_int_combo_box_new")
 
1457
  (is-constructor-of "GimpIntComboBox")
 
1458
  (return-type "GtkWidget*")
 
1459
  (parameters
 
1460
    '("const-gchar*" "first_label")
 
1461
    '("gint" "first_value")
 
1462
  )
 
1463
  (varargs #t)
 
1464
)
 
1465
 
 
1466
(define-function gimp_int_combo_box_new_valist
 
1467
  (c-name "gimp_int_combo_box_new_valist")
 
1468
  (return-type "GtkWidget*")
 
1469
  (parameters
 
1470
    '("const-gchar*" "first_label")
 
1471
    '("gint" "first_value")
 
1472
    '("va_list" "values")
 
1473
  )
 
1474
)
 
1475
 
 
1476
(define-function gimp_int_combo_box_new_array
 
1477
  (c-name "gimp_int_combo_box_new_array")
 
1478
  (return-type "GtkWidget*")
 
1479
  (parameters
 
1480
    '("gint" "n_values")
 
1481
    '("const-gchar*[]" "labels")
 
1482
  )
 
1483
)
 
1484
 
 
1485
(define-method prepend
 
1486
  (of-object "GimpIntComboBox")
 
1487
  (c-name "gimp_int_combo_box_prepend")
 
1488
  (return-type "none")
 
1489
  (parameters
 
1490
  )
 
1491
  (varargs #t)
 
1492
)
 
1493
 
 
1494
(define-method append
 
1495
  (of-object "GimpIntComboBox")
 
1496
  (c-name "gimp_int_combo_box_append")
 
1497
  (return-type "none")
 
1498
  (parameters
 
1499
  )
 
1500
  (varargs #t)
 
1501
)
 
1502
 
 
1503
(define-method set_active
 
1504
  (of-object "GimpIntComboBox")
 
1505
  (c-name "gimp_int_combo_box_set_active")
 
1506
  (return-type "gboolean")
 
1507
  (parameters
 
1508
    '("gint" "value")
 
1509
  )
 
1510
)
 
1511
 
 
1512
(define-method get_active
 
1513
  (of-object "GimpIntComboBox")
 
1514
  (c-name "gimp_int_combo_box_get_active")
 
1515
  (return-type "gboolean")
 
1516
  (parameters
 
1517
    '("gint*" "value")
 
1518
  )
 
1519
)
 
1520
 
 
1521
(define-method connect
 
1522
  (of-object "GimpIntComboBox")
 
1523
  (c-name "gimp_int_combo_box_connect")
 
1524
  (return-type "gulong")
 
1525
  (parameters
 
1526
    '("gint" "value")
 
1527
    '("GCallback" "callback")
 
1528
    '("gpointer" "data")
 
1529
  )
 
1530
)
 
1531
 
 
1532
(define-method set_sensitivity
 
1533
  (of-object "GimpIntComboBox")
 
1534
  (c-name "gimp_int_combo_box_set_sensitivity")
 
1535
  (return-type "none")
 
1536
  (parameters
 
1537
    '("GimpIntSensitivityFunc" "func")
 
1538
    '("gpointer" "data")
 
1539
    '("GDestroyNotify" "destroy")
 
1540
  )
 
1541
)
 
1542
 
 
1543
 
 
1544
 
 
1545
;; From ../../libgimpwidgets/gimphintbox.h
 
1546
 
 
1547
(define-function gimp_hint_box_get_type
 
1548
  (c-name "gimp_hint_box_get_type")
 
1549
  (return-type "GType")
 
1550
)
 
1551
 
 
1552
(define-function gimp_hint_box_new
 
1553
  (c-name "gimp_hint_box_new")
 
1554
  (is-constructor-of "GimpHintBox")
 
1555
  (return-type "GtkWidget*")
 
1556
  (properties
 
1557
    '("hint") ("stock-id" (optional))
 
1558
  )
 
1559
)
 
1560
 
 
1561
 
 
1562
 
 
1563
;; From ../../libgimpwidgets/gimpintstore.h
 
1564
 
 
1565
(define-function gimp_int_store_get_type
 
1566
  (c-name "gimp_int_store_get_type")
 
1567
  (return-type "GType")
 
1568
)
 
1569
 
 
1570
(define-function gimp_int_store_new
 
1571
  (c-name "gimp_int_store_new")
 
1572
  (is-constructor-of "GimpIntStore")
 
1573
  (return-type "GtkListStore*")
 
1574
)
 
1575
 
 
1576
(define-function gimp_int_store_lookup_by_value
 
1577
  (c-name "gimp_int_store_lookup_by_value")
 
1578
  (return-type "gboolean")
 
1579
  (parameters
 
1580
    '("GtkTreeModel*" "model")
 
1581
    '("gint" "value")
 
1582
    '("GtkTreeIter*" "iter")
 
1583
  )
 
1584
)
 
1585
 
 
1586
 
 
1587
 
 
1588
;; From ../../libgimpwidgets/gimpmemsizeentry.h
 
1589
 
 
1590
(define-function gimp_memsize_entry_get_type
 
1591
  (c-name "gimp_memsize_entry_get_type")
 
1592
  (return-type "GType")
 
1593
)
 
1594
 
 
1595
(define-function gimp_memsize_entry_new
 
1596
  (c-name "gimp_memsize_entry_new")
 
1597
  (is-constructor-of "GimpMemsizeEntry")
 
1598
  (return-type "GtkWidget*")
 
1599
  (parameters
 
1600
    '("guint64" "value")
 
1601
    '("guint64" "lower")
 
1602
    '("guint64" "upper")
 
1603
  )
 
1604
)
 
1605
 
 
1606
(define-method set_value
 
1607
  (of-object "GimpMemsizeEntry")
 
1608
  (c-name "gimp_memsize_entry_set_value")
 
1609
  (return-type "none")
 
1610
  (parameters
 
1611
    '("guint64" "value")
 
1612
  )
 
1613
)
 
1614
 
 
1615
(define-method get_value
 
1616
  (of-object "GimpMemsizeEntry")
 
1617
  (c-name "gimp_memsize_entry_get_value")
 
1618
  (return-type "guint64")
 
1619
)
 
1620
 
 
1621
 
 
1622
 
 
1623
;; From ../../libgimpwidgets/gimpoffsetarea.h
 
1624
 
 
1625
(define-function gimp_offset_area_get_type
 
1626
  (c-name "gimp_offset_area_get_type")
 
1627
  (return-type "GType")
 
1628
)
 
1629
 
 
1630
(define-function gimp_offset_area_new
 
1631
  (c-name "gimp_offset_area_new")
 
1632
  (is-constructor-of "GimpOffsetArea")
 
1633
  (return-type "GtkWidget*")
 
1634
  (parameters
 
1635
    '("gint" "orig_width")
 
1636
    '("gint" "orig_height")
 
1637
  )
 
1638
)
 
1639
 
 
1640
(define-method set_pixbuf
 
1641
  (of-object "GimpOffsetArea")
 
1642
  (c-name "gimp_offset_area_set_pixbuf")
 
1643
  (return-type "none")
 
1644
  (parameters
 
1645
    '("GdkPixbuf*" "pixbuf")
 
1646
  )
 
1647
)
 
1648
 
 
1649
(define-method set_size
 
1650
  (of-object "GimpOffsetArea")
 
1651
  (c-name "gimp_offset_area_set_size")
 
1652
  (return-type "none")
 
1653
  (parameters
 
1654
    '("gint" "width")
 
1655
    '("gint" "height")
 
1656
  )
 
1657
)
 
1658
 
 
1659
(define-method set_offsets
 
1660
  (of-object "GimpOffsetArea")
 
1661
  (c-name "gimp_offset_area_set_offsets")
 
1662
  (return-type "none")
 
1663
  (parameters
 
1664
    '("gint" "offset_x")
 
1665
    '("gint" "offset_y")
 
1666
  )
 
1667
)
 
1668
 
 
1669
 
 
1670
 
 
1671
;; From ../../libgimpwidgets/gimppageselector.h
 
1672
 
 
1673
(define-function gimp_page_selector_get_type
 
1674
  (c-name "gimp_page_selector_get_type")
 
1675
  (return-type "GType")
 
1676
)
 
1677
 
 
1678
(define-function gimp_page_selector_new
 
1679
  (c-name "gimp_page_selector_new")
 
1680
  (is-constructor-of "GimpPageSelector")
 
1681
  (return-type "GtkWidget*")
 
1682
)
 
1683
 
 
1684
(define-method set_n_pages
 
1685
  (of-object "GimpPageSelector")
 
1686
  (c-name "gimp_page_selector_set_n_pages")
 
1687
  (return-type "none")
 
1688
  (parameters
 
1689
    '("gint" "n_pages")
 
1690
  )
 
1691
)
 
1692
 
 
1693
(define-method get_n_pages
 
1694
  (of-object "GimpPageSelector")
 
1695
  (c-name "gimp_page_selector_get_n_pages")
 
1696
  (return-type "gint")
 
1697
)
 
1698
 
 
1699
(define-method set_target
 
1700
  (of-object "GimpPageSelector")
 
1701
  (c-name "gimp_page_selector_set_target")
 
1702
  (return-type "none")
 
1703
  (parameters
 
1704
    '("GimpPageSelectorTarget" "target")
 
1705
  )
 
1706
)
 
1707
 
 
1708
(define-method get_target
 
1709
  (of-object "GimpPageSelector")
 
1710
  (c-name "gimp_page_selector_get_target")
 
1711
  (return-type "GimpPageSelectorTarget")
 
1712
)
 
1713
 
 
1714
(define-method set_page_thumbnail
 
1715
  (of-object "GimpPageSelector")
 
1716
  (c-name "gimp_page_selector_set_page_thumbnail")
 
1717
  (return-type "none")
 
1718
  (parameters
 
1719
    '("gint" "page_no")
 
1720
    '("GdkPixbuf*" "thumbnail")
 
1721
  )
 
1722
)
 
1723
 
 
1724
(define-method get_page_thumbnail
 
1725
  (of-object "GimpPageSelector")
 
1726
  (c-name "gimp_page_selector_get_page_thumbnail")
 
1727
  (return-type "GdkPixbuf*")
 
1728
  (parameters
 
1729
    '("gint" "page_no")
 
1730
  )
 
1731
)
 
1732
 
 
1733
(define-method set_page_label
 
1734
  (of-object "GimpPageSelector")
 
1735
  (c-name "gimp_page_selector_set_page_label")
 
1736
  (return-type "none")
 
1737
  (parameters
 
1738
    '("gint" "page_no")
 
1739
    '("const-gchar*" "label")
 
1740
  )
 
1741
)
 
1742
 
 
1743
(define-method get_page_label
 
1744
  (of-object "GimpPageSelector")
 
1745
  (c-name "gimp_page_selector_get_page_label")
 
1746
  (return-type "gchar*")
 
1747
  (parameters
 
1748
    '("gint" "page_no")
 
1749
  )
 
1750
)
 
1751
 
 
1752
(define-method select_all
 
1753
  (of-object "GimpPageSelector")
 
1754
  (c-name "gimp_page_selector_select_all")
 
1755
  (return-type "none")
 
1756
)
 
1757
 
 
1758
(define-method unselect_all
 
1759
  (of-object "GimpPageSelector")
 
1760
  (c-name "gimp_page_selector_unselect_all")
 
1761
  (return-type "none")
 
1762
)
 
1763
 
 
1764
(define-method select_page
 
1765
  (of-object "GimpPageSelector")
 
1766
  (c-name "gimp_page_selector_select_page")
 
1767
  (return-type "none")
 
1768
  (parameters
 
1769
    '("gint" "page_no")
 
1770
  )
 
1771
)
 
1772
 
 
1773
(define-method unselect_page
 
1774
  (of-object "GimpPageSelector")
 
1775
  (c-name "gimp_page_selector_unselect_page")
 
1776
  (return-type "none")
 
1777
  (parameters
 
1778
    '("gint" "page_no")
 
1779
  )
 
1780
)
 
1781
 
 
1782
(define-method page_is_selected
 
1783
  (of-object "GimpPageSelector")
 
1784
  (c-name "gimp_page_selector_page_is_selected")
 
1785
  (return-type "gboolean")
 
1786
  (parameters
 
1787
    '("gint" "page_no")
 
1788
  )
 
1789
)
 
1790
 
 
1791
(define-method get_selected_pages
 
1792
  (of-object "GimpPageSelector")
 
1793
  (c-name "gimp_page_selector_get_selected_pages")
 
1794
  (return-type "gint*")
 
1795
  (parameters
 
1796
    '("gint*" "n_selected_pages")
 
1797
  )
 
1798
)
 
1799
 
 
1800
(define-method select_range
 
1801
  (of-object "GimpPageSelector")
 
1802
  (c-name "gimp_page_selector_select_range")
 
1803
  (return-type "none")
 
1804
  (parameters
 
1805
    '("const-gchar*" "range")
 
1806
  )
 
1807
)
 
1808
 
 
1809
(define-method get_selected_range
 
1810
  (of-object "GimpPageSelector")
 
1811
  (c-name "gimp_page_selector_get_selected_range")
 
1812
  (return-type "gchar*")
 
1813
)
 
1814
 
 
1815
 
 
1816
 
 
1817
;; From ../../libgimpwidgets/gimppatheditor.h
 
1818
 
 
1819
(define-function gimp_path_editor_get_type
 
1820
  (c-name "gimp_path_editor_get_type")
 
1821
  (return-type "GType")
 
1822
)
 
1823
 
 
1824
(define-function gimp_path_editor_new
 
1825
  (c-name "gimp_path_editor_new")
 
1826
  (is-constructor-of "GimpPathEditor")
 
1827
  (return-type "GtkWidget*")
 
1828
  (parameters
 
1829
    '("const-gchar*" "title")
 
1830
    '("const-gchar*" "path")
 
1831
  )
 
1832
)
 
1833
 
 
1834
(define-method get_path
 
1835
  (of-object "GimpPathEditor")
 
1836
  (c-name "gimp_path_editor_get_path")
 
1837
  (return-type "gchar*")
 
1838
)
 
1839
 
 
1840
(define-method set_path
 
1841
  (of-object "GimpPathEditor")
 
1842
  (c-name "gimp_path_editor_set_path")
 
1843
  (return-type "none")
 
1844
  (parameters
 
1845
    '("const-gchar*" "path")
 
1846
  )
 
1847
)
 
1848
 
 
1849
(define-method get_writable_path
 
1850
  (of-object "GimpPathEditor")
 
1851
  (c-name "gimp_path_editor_get_writable_path")
 
1852
  (return-type "gchar*")
 
1853
)
 
1854
 
 
1855
(define-method set_writable_path
 
1856
  (of-object "GimpPathEditor")
 
1857
  (c-name "gimp_path_editor_set_writable_path")
 
1858
  (return-type "none")
 
1859
  (parameters
 
1860
    '("const-gchar*" "path")
 
1861
  )
 
1862
)
 
1863
 
 
1864
(define-method get_dir_writable
 
1865
  (of-object "GimpPathEditor")
 
1866
  (c-name "gimp_path_editor_get_dir_writable")
 
1867
  (return-type "gboolean")
 
1868
  (parameters
 
1869
    '("const-gchar*" "directory")
 
1870
  )
 
1871
)
 
1872
 
 
1873
(define-method set_dir_writable
 
1874
  (of-object "GimpPathEditor")
 
1875
  (c-name "gimp_path_editor_set_dir_writable")
 
1876
  (return-type "none")
 
1877
  (parameters
 
1878
    '("const-gchar*" "directory")
 
1879
    '("gboolean" "writable")
 
1880
  )
 
1881
)
 
1882
 
 
1883
 
 
1884
 
 
1885
;; From ../../libgimpwidgets/gimppickbutton.h
 
1886
 
 
1887
(define-function gimp_pick_button_get_type
 
1888
  (c-name "gimp_pick_button_get_type")
 
1889
  (return-type "GType")
 
1890
)
 
1891
 
 
1892
(define-function gimp_pick_button_new
 
1893
  (c-name "gimp_pick_button_new")
 
1894
  (is-constructor-of "GimpPickButton")
 
1895
  (return-type "GtkWidget*")
 
1896
)
 
1897
 
 
1898
 
 
1899
 
 
1900
;; From ../../libgimpwidgets/gimppreview.h
 
1901
 
 
1902
(define-function gimp_preview_get_type
 
1903
  (c-name "gimp_preview_get_type")
 
1904
  (return-type "GType")
 
1905
)
 
1906
 
 
1907
(define-method set_update
 
1908
  (of-object "GimpPreview")
 
1909
  (c-name "gimp_preview_set_update")
 
1910
  (return-type "none")
 
1911
  (parameters
 
1912
    '("gboolean" "update")
 
1913
  )
 
1914
)
 
1915
 
 
1916
(define-method get_update
 
1917
  (of-object "GimpPreview")
 
1918
  (c-name "gimp_preview_get_update")
 
1919
  (return-type "gboolean")
 
1920
)
 
1921
 
 
1922
(define-method set_bounds
 
1923
  (of-object "GimpPreview")
 
1924
  (c-name "gimp_preview_set_bounds")
 
1925
  (return-type "none")
 
1926
  (parameters
 
1927
    '("gint" "xmin")
 
1928
    '("gint" "ymin")
 
1929
    '("gint" "xmax")
 
1930
    '("gint" "ymax")
 
1931
  )
 
1932
)
 
1933
 
 
1934
(define-method get_position
 
1935
  (of-object "GimpPreview")
 
1936
  (c-name "gimp_preview_get_position")
 
1937
  (return-type "none")
 
1938
  (parameters
 
1939
    '("gint*" "x")
 
1940
    '("gint*" "y")
 
1941
  )
 
1942
)
 
1943
 
 
1944
(define-method get_size
 
1945
  (of-object "GimpPreview")
 
1946
  (c-name "gimp_preview_get_size")
 
1947
  (return-type "none")
 
1948
  (parameters
 
1949
    '("gint*" "width")
 
1950
    '("gint*" "height")
 
1951
  )
 
1952
)
 
1953
 
 
1954
(define-method get_area
 
1955
  (of-object "GimpPreview")
 
1956
  (c-name "gimp_preview_get_area")
 
1957
  (return-type "GtkWidget*")
 
1958
)
 
1959
 
 
1960
(define-method draw
 
1961
  (of-object "GimpPreview")
 
1962
  (c-name "gimp_preview_draw")
 
1963
  (return-type "none")
 
1964
)
 
1965
 
 
1966
(define-method draw_buffer
 
1967
  (of-object "GimpPreview")
 
1968
  (c-name "gimp_preview_draw_buffer")
 
1969
  (return-type "none")
 
1970
  (parameters
 
1971
    '("const-guchar*" "buffer")
 
1972
    '("gint" "rowstride")
 
1973
  )
 
1974
)
 
1975
 
 
1976
(define-method invalidate
 
1977
  (of-object "GimpPreview")
 
1978
  (c-name "gimp_preview_invalidate")
 
1979
  (return-type "none")
 
1980
)
 
1981
 
 
1982
(define-method set_default_cursor
 
1983
  (of-object "GimpPreview")
 
1984
  (c-name "gimp_preview_set_default_cursor")
 
1985
  (return-type "none")
 
1986
  (parameters
 
1987
    '("GdkCursor*" "cursor")
 
1988
  )
 
1989
)
 
1990
 
 
1991
(define-method get_controls
 
1992
  (of-object "GimpPreview")
 
1993
  (c-name "gimp_preview_get_controls")
 
1994
  (return-type "GtkWidget*")
 
1995
)
 
1996
 
 
1997
 
 
1998
 
 
1999
;; From ../../libgimpwidgets/gimppreviewarea.h
 
2000
 
 
2001
(define-function gimp_preview_area_get_type
 
2002
  (c-name "gimp_preview_area_get_type")
 
2003
  (return-type "GType")
 
2004
)
 
2005
 
 
2006
(define-function gimp_preview_area_new
 
2007
  (c-name "gimp_preview_area_new")
 
2008
  (is-constructor-of "GimpPreviewArea")
 
2009
  (return-type "GtkWidget*")
 
2010
)
 
2011
 
 
2012
(define-method draw
 
2013
  (of-object "GimpPreviewArea")
 
2014
  (c-name "gimp_preview_area_draw")
 
2015
  (return-type "none")
 
2016
  (parameters
 
2017
    '("gint" "x")
 
2018
    '("gint" "y")
 
2019
    '("gint" "width")
 
2020
    '("gint" "height")
 
2021
    '("GimpImageType" "type")
 
2022
    '("const-guchar*" "buf")
 
2023
    '("gint" "rowstride")
 
2024
  )
 
2025
)
 
2026
 
 
2027
(define-method blend
 
2028
  (of-object "GimpPreviewArea")
 
2029
  (c-name "gimp_preview_area_blend")
 
2030
  (return-type "none")
 
2031
  (parameters
 
2032
    '("gint" "x")
 
2033
    '("gint" "y")
 
2034
    '("gint" "width")
 
2035
    '("gint" "height")
 
2036
    '("GimpImageType" "type")
 
2037
    '("const-guchar*" "buf1")
 
2038
    '("gint" "rowstride1")
 
2039
    '("const-guchar*" "buf2")
 
2040
    '("gint" "rowstride2")
 
2041
    '("guchar" "opacity")
 
2042
  )
 
2043
)
 
2044
 
 
2045
(define-method mask
 
2046
  (of-object "GimpPreviewArea")
 
2047
  (c-name "gimp_preview_area_mask")
 
2048
  (return-type "none")
 
2049
  (parameters
 
2050
    '("gint" "x")
 
2051
    '("gint" "y")
 
2052
    '("gint" "width")
 
2053
    '("gint" "height")
 
2054
    '("GimpImageType" "type")
 
2055
    '("const-guchar*" "buf1")
 
2056
    '("gint" "rowstride1")
 
2057
    '("const-guchar*" "buf2")
 
2058
    '("gint" "rowstride2")
 
2059
    '("const-guchar*" "mask")
 
2060
    '("gint" "rowstride_mask")
 
2061
  )
 
2062
)
 
2063
 
 
2064
(define-method fill
 
2065
  (of-object "GimpPreviewArea")
 
2066
  (c-name "gimp_preview_area_fill")
 
2067
  (return-type "none")
 
2068
  (parameters
 
2069
    '("gint" "x")
 
2070
    '("gint" "y")
 
2071
    '("gint" "width")
 
2072
    '("gint" "height")
 
2073
    '("guchar" "red")
 
2074
    '("guchar" "green")
 
2075
    '("guchar" "blue")
 
2076
  )
 
2077
)
 
2078
 
 
2079
(define-method set_offsets
 
2080
  (of-object "GimpPreviewArea")
 
2081
  (c-name "gimp_preview_area_set_offsets")
 
2082
  (return-type "none")
 
2083
  (parameters
 
2084
    '("gint" "x")
 
2085
    '("gint" "y")
 
2086
  )
 
2087
)
 
2088
 
 
2089
(define-method set_colormap
 
2090
  (of-object "GimpPreviewArea")
 
2091
  (c-name "gimp_preview_area_set_colormap")
 
2092
  (return-type "none")
 
2093
  (parameters
 
2094
    '("const-guchar*" "colormap")
 
2095
    '("gint" "num_colors")
 
2096
  )
 
2097
)
 
2098
 
 
2099
(define-method set_max_size
 
2100
  (of-object "GimpPreviewArea")
 
2101
  (c-name "gimp_preview_area_set_max_size")
 
2102
  (return-type "none")
 
2103
  (parameters
 
2104
    '("gint" "width")
 
2105
    '("gint" "height")
 
2106
  )
 
2107
)
 
2108
 
 
2109
(define-method menu_popup
 
2110
  (of-object "GimpPreviewArea")
 
2111
  (c-name "gimp_preview_area_menu_popup")
 
2112
  (return-type "none")
 
2113
  (parameters
 
2114
    '("GdkEventButton*" "event")
 
2115
  )
 
2116
)
 
2117
 
 
2118
 
 
2119
 
 
2120
;; From ../../libgimpwidgets/gimppropwidgets.h
 
2121
 
 
2122
(define-function gimp_prop_check_button_new
 
2123
  (c-name "gimp_prop_check_button_new")
 
2124
  (is-constructor-of "GimpPropCheckButton")
 
2125
  (return-type "GtkWidget*")
 
2126
  (parameters
 
2127
    '("GObject*" "config")
 
2128
    '("const-gchar*" "property_name")
 
2129
    '("const-gchar*" "label")
 
2130
  )
 
2131
)
 
2132
 
 
2133
(define-function gimp_prop_boolean_combo_box_new
 
2134
  (c-name "gimp_prop_boolean_combo_box_new")
 
2135
  (is-constructor-of "GimpPropBooleanComboBox")
 
2136
  (return-type "GtkWidget*")
 
2137
  (parameters
 
2138
    '("GObject*" "config")
 
2139
    '("const-gchar*" "property_name")
 
2140
    '("const-gchar*" "true_text")
 
2141
    '("const-gchar*" "false_text")
 
2142
  )
 
2143
)
 
2144
 
 
2145
(define-function gimp_prop_boolean_radio_frame_new
 
2146
  (c-name "gimp_prop_boolean_radio_frame_new")
 
2147
  (is-constructor-of "GimpPropBooleanRadioFrame")
 
2148
  (return-type "GtkWidget*")
 
2149
  (parameters
 
2150
    '("GObject*" "config")
 
2151
    '("const-gchar*" "property_name")
 
2152
    '("const-gchar*" "title")
 
2153
    '("const-gchar*" "true_text")
 
2154
    '("const-gchar*" "false_text")
 
2155
  )
 
2156
)
 
2157
 
 
2158
(define-function gimp_prop_expander_new
 
2159
  (c-name "gimp_prop_expander_new")
 
2160
  (is-constructor-of "GimpPropExpander")
 
2161
  (return-type "GtkWidget*")
 
2162
  (parameters
 
2163
    '("GObject*" "config")
 
2164
    '("const-gchar*" "property_name")
 
2165
    '("const-gchar*" "label")
 
2166
  )
 
2167
)
 
2168
 
 
2169
(define-function gimp_prop_int_combo_box_new
 
2170
  (c-name "gimp_prop_int_combo_box_new")
 
2171
  (is-constructor-of "GimpPropIntComboBox")
 
2172
  (return-type "GtkWidget*")
 
2173
  (parameters
 
2174
    '("GObject*" "config")
 
2175
    '("const-gchar*" "property_name")
 
2176
    '("GimpIntStore*" "store")
 
2177
  )
 
2178
)
 
2179
 
 
2180
(define-function gimp_prop_enum_combo_box_new
 
2181
  (c-name "gimp_prop_enum_combo_box_new")
 
2182
  (is-constructor-of "GimpPropEnumComboBox")
 
2183
  (return-type "GtkWidget*")
 
2184
  (parameters
 
2185
    '("GObject*" "config")
 
2186
    '("const-gchar*" "property_name")
 
2187
    '("gint" "minimum")
 
2188
    '("gint" "maximum")
 
2189
  )
 
2190
)
 
2191
 
 
2192
(define-function gimp_prop_enum_check_button_new
 
2193
  (c-name "gimp_prop_enum_check_button_new")
 
2194
  (is-constructor-of "GimpPropEnumCheckButton")
 
2195
  (return-type "GtkWidget*")
 
2196
  (parameters
 
2197
    '("GObject*" "config")
 
2198
    '("const-gchar*" "property_name")
 
2199
    '("const-gchar*" "label")
 
2200
    '("gint" "false_value")
 
2201
    '("gint" "true_value")
 
2202
  )
 
2203
)
 
2204
 
 
2205
(define-function gimp_prop_enum_radio_frame_new
 
2206
  (c-name "gimp_prop_enum_radio_frame_new")
 
2207
  (is-constructor-of "GimpPropEnumRadioFrame")
 
2208
  (return-type "GtkWidget*")
 
2209
  (parameters
 
2210
    '("GObject*" "config")
 
2211
    '("const-gchar*" "property_name")
 
2212
    '("const-gchar*" "title")
 
2213
    '("gint" "minimum")
 
2214
    '("gint" "maximum")
 
2215
  )
 
2216
)
 
2217
 
 
2218
(define-function gimp_prop_enum_radio_box_new
 
2219
  (c-name "gimp_prop_enum_radio_box_new")
 
2220
  (is-constructor-of "GimpPropEnumRadioBox")
 
2221
  (return-type "GtkWidget*")
 
2222
  (parameters
 
2223
    '("GObject*" "config")
 
2224
    '("const-gchar*" "property_name")
 
2225
    '("gint" "minimum")
 
2226
    '("gint" "maximum")
 
2227
  )
 
2228
)
 
2229
 
 
2230
(define-function gimp_prop_enum_stock_box_new
 
2231
  (c-name "gimp_prop_enum_stock_box_new")
 
2232
  (is-constructor-of "GimpPropEnumStockBox")
 
2233
  (return-type "GtkWidget*")
 
2234
  (parameters
 
2235
    '("GObject*" "config")
 
2236
    '("const-gchar*" "property_name")
 
2237
    '("const-gchar*" "stock_prefix")
 
2238
    '("gint" "minimum")
 
2239
    '("gint" "maximum")
 
2240
  )
 
2241
)
 
2242
 
 
2243
(define-function gimp_prop_enum_label_new
 
2244
  (c-name "gimp_prop_enum_label_new")
 
2245
  (is-constructor-of "GimpPropEnumLabel")
 
2246
  (return-type "GtkWidget*")
 
2247
  (parameters
 
2248
    '("GObject*" "config")
 
2249
    '("const-gchar*" "property_name")
 
2250
  )
 
2251
)
 
2252
 
 
2253
(define-function gimp_prop_spin_button_new
 
2254
  (c-name "gimp_prop_spin_button_new")
 
2255
  (is-constructor-of "GimpPropSpinButton")
 
2256
  (return-type "GtkWidget*")
 
2257
  (parameters
 
2258
    '("GObject*" "config")
 
2259
    '("const-gchar*" "property_name")
 
2260
    '("gdouble" "step_increment")
 
2261
    '("gdouble" "page_increment")
 
2262
    '("gint" "digits")
 
2263
  )
 
2264
)
 
2265
 
 
2266
(define-function gimp_prop_hscale_new
 
2267
  (c-name "gimp_prop_hscale_new")
 
2268
  (is-constructor-of "GimpPropHscale")
 
2269
  (return-type "GtkWidget*")
 
2270
  (parameters
 
2271
    '("GObject*" "config")
 
2272
    '("const-gchar*" "property_name")
 
2273
    '("gdouble" "step_increment")
 
2274
    '("gdouble" "page_increment")
 
2275
    '("gint" "digits")
 
2276
  )
 
2277
)
 
2278
 
 
2279
(define-function gimp_prop_scale_entry_new
 
2280
  (c-name "gimp_prop_scale_entry_new")
 
2281
  (is-constructor-of "GimpPropScaleEntry")
 
2282
  (return-type "GtkObject*")
 
2283
  (parameters
 
2284
    '("GObject*" "config")
 
2285
    '("const-gchar*" "property_name")
 
2286
    '("GtkTable*" "table")
 
2287
    '("gint" "column")
 
2288
    '("gint" "row")
 
2289
    '("const-gchar*" "label")
 
2290
    '("gdouble" "step_increment")
 
2291
    '("gdouble" "page_increment")
 
2292
    '("gint" "digits")
 
2293
    '("gboolean" "limit_scale")
 
2294
    '("gdouble" "lower_limit")
 
2295
    '("gdouble" "upper_limit")
 
2296
  )
 
2297
)
 
2298
 
 
2299
(define-function gimp_prop_opacity_entry_new
 
2300
  (c-name "gimp_prop_opacity_entry_new")
 
2301
  (is-constructor-of "GimpPropOpacityEntry")
 
2302
  (return-type "GtkObject*")
 
2303
  (parameters
 
2304
    '("GObject*" "config")
 
2305
    '("const-gchar*" "property_name")
 
2306
    '("GtkTable*" "table")
 
2307
    '("gint" "column")
 
2308
    '("gint" "row")
 
2309
    '("const-gchar*" "label")
 
2310
  )
 
2311
)
 
2312
 
 
2313
(define-function gimp_prop_memsize_entry_new
 
2314
  (c-name "gimp_prop_memsize_entry_new")
 
2315
  (is-constructor-of "GimpPropMemsizeEntry")
 
2316
  (return-type "GtkWidget*")
 
2317
  (parameters
 
2318
    '("GObject*" "config")
 
2319
    '("const-gchar*" "property_name")
 
2320
  )
 
2321
)
 
2322
 
 
2323
(define-function gimp_prop_label_new
 
2324
  (c-name "gimp_prop_label_new")
 
2325
  (is-constructor-of "GimpPropLabel")
 
2326
  (return-type "GtkWidget*")
 
2327
  (parameters
 
2328
    '("GObject*" "config")
 
2329
    '("const-gchar*" "property_name")
 
2330
  )
 
2331
)
 
2332
 
 
2333
(define-function gimp_prop_entry_new
 
2334
  (c-name "gimp_prop_entry_new")
 
2335
  (is-constructor-of "GimpPropEntry")
 
2336
  (return-type "GtkWidget*")
 
2337
  (parameters
 
2338
    '("GObject*" "config")
 
2339
    '("const-gchar*" "property_name")
 
2340
    '("gint" "max_len")
 
2341
  )
 
2342
)
 
2343
 
 
2344
(define-function gimp_prop_text_buffer_new
 
2345
  (c-name "gimp_prop_text_buffer_new")
 
2346
  (is-constructor-of "GimpPropTextBuffer")
 
2347
  (return-type "GtkTextBuffer*")
 
2348
  (parameters
 
2349
    '("GObject*" "config")
 
2350
    '("const-gchar*" "property_name")
 
2351
    '("gint" "max_len")
 
2352
  )
 
2353
)
 
2354
 
 
2355
(define-function gimp_prop_file_entry_new
 
2356
  (c-name "gimp_prop_file_entry_new")
 
2357
  (is-constructor-of "GimpPropFileEntry")
 
2358
  (return-type "GtkWidget*")
 
2359
  (parameters
 
2360
    '("GObject*" "config")
 
2361
    '("const-gchar*" "property_name")
 
2362
    '("const-gchar*" "filesel_title")
 
2363
    '("gboolean" "dir_only")
 
2364
    '("gboolean" "check_valid")
 
2365
  )
 
2366
)
 
2367
 
 
2368
(define-function gimp_prop_path_editor_new
 
2369
  (c-name "gimp_prop_path_editor_new")
 
2370
  (is-constructor-of "GimpPropPathEditor")
 
2371
  (return-type "GtkWidget*")
 
2372
  (parameters
 
2373
    '("GObject*" "config")
 
2374
    '("const-gchar*" "path_property_name")
 
2375
    '("const-gchar*" "writable_property_name")
 
2376
    '("const-gchar*" "filesel_title")
 
2377
  )
 
2378
)
 
2379
 
 
2380
(define-function gimp_prop_file_chooser_button_new
 
2381
  (c-name "gimp_prop_file_chooser_button_new")
 
2382
  (is-constructor-of "GimpPropFileChooserButton")
 
2383
  (return-type "GtkWidget*")
 
2384
  (parameters
 
2385
    '("GObject*" "config")
 
2386
    '("const-gchar*" "property_name")
 
2387
    '("const-gchar*" "title")
 
2388
    '("GtkFileChooserAction" "action")
 
2389
  )
 
2390
)
 
2391
 
 
2392
(define-function gimp_prop_size_entry_new
 
2393
  (c-name "gimp_prop_size_entry_new")
 
2394
  (is-constructor-of "GimpPropSizeEntry")
 
2395
  (return-type "GtkWidget*")
 
2396
  (parameters
 
2397
    '("GObject*" "config")
 
2398
    '("const-gchar*" "property_name")
 
2399
    '("const-gchar*" "unit_property_name")
 
2400
    '("const-gchar*" "unit_format")
 
2401
    '("GimpSizeEntryUpdatePolicy" "update_policy")
 
2402
    '("gdouble" "resolution")
 
2403
  )
 
2404
)
 
2405
 
 
2406
(define-function gimp_prop_coordinates_new
 
2407
  (c-name "gimp_prop_coordinates_new")
 
2408
  (is-constructor-of "GimpPropCoordinates")
 
2409
  (return-type "GtkWidget*")
 
2410
  (parameters
 
2411
    '("GObject*" "config")
 
2412
    '("const-gchar*" "x_property_name")
 
2413
    '("const-gchar*" "y_property_name")
 
2414
    '("const-gchar*" "unit_property_name")
 
2415
    '("const-gchar*" "unit_format")
 
2416
    '("GimpSizeEntryUpdatePolicy" "update_policy")
 
2417
    '("gdouble" "xresolution")
 
2418
    '("gdouble" "yresolution")
 
2419
    '("gboolean" "has_chainbutton")
 
2420
  )
 
2421
)
 
2422
 
 
2423
(define-function gimp_prop_coordinates_connect
 
2424
  (c-name "gimp_prop_coordinates_connect")
 
2425
  (return-type "gboolean")
 
2426
  (parameters
 
2427
    '("GObject*" "config")
 
2428
    '("const-gchar*" "x_property_name")
 
2429
    '("const-gchar*" "y_property_name")
 
2430
    '("const-gchar*" "unit_property_name")
 
2431
    '("GtkWidget*" "sizeentry")
 
2432
    '("GtkWidget*" "chainbutton")
 
2433
    '("gdouble" "xresolution")
 
2434
    '("gdouble" "yresolution")
 
2435
  )
 
2436
)
 
2437
 
 
2438
(define-function gimp_prop_color_area_new
 
2439
  (c-name "gimp_prop_color_area_new")
 
2440
  (is-constructor-of "GimpPropColorArea")
 
2441
  (return-type "GtkWidget*")
 
2442
  (parameters
 
2443
    '("GObject*" "config")
 
2444
    '("const-gchar*" "property_name")
 
2445
    '("gint" "width")
 
2446
    '("gint" "height")
 
2447
    '("GimpColorAreaType" "type")
 
2448
  )
 
2449
)
 
2450
 
 
2451
(define-function gimp_prop_unit_menu_new
 
2452
  (c-name "gimp_prop_unit_menu_new")
 
2453
  (is-constructor-of "GimpPropUnitMenu")
 
2454
  (return-type "GtkWidget*")
 
2455
  (parameters
 
2456
    '("GObject*" "config")
 
2457
    '("const-gchar*" "property_name")
 
2458
    '("const-gchar*" "unit_format")
 
2459
  )
 
2460
)
 
2461
 
 
2462
(define-function gimp_prop_stock_image_new
 
2463
  (c-name "gimp_prop_stock_image_new")
 
2464
  (is-constructor-of "GimpPropStockImage")
 
2465
  (return-type "GtkWidget*")
 
2466
  (parameters
 
2467
    '("GObject*" "config")
 
2468
    '("const-gchar*" "property_name")
 
2469
    '("GtkIconSize" "icon_size")
 
2470
  )
 
2471
)
 
2472
 
 
2473
 
 
2474
 
 
2475
;; From ../../libgimpwidgets/gimpquerybox.h
 
2476
 
 
2477
(define-function gimp_query_string_box
 
2478
  (c-name "gimp_query_string_box")
 
2479
  (return-type "GtkWidget*")
 
2480
  (parameters
 
2481
    '("const-gchar*" "title")
 
2482
    '("GtkWidget*" "parent")
 
2483
    '("GimpHelpFunc" "help_func")
 
2484
    '("const-gchar*" "help_id")
 
2485
    '("const-gchar*" "message")
 
2486
    '("const-gchar*" "initial")
 
2487
    '("GObject*" "object")
 
2488
    '("const-gchar*" "signal")
 
2489
    '("GimpQueryStringCallback" "callback")
 
2490
    '("gpointer" "data")
 
2491
  )
 
2492
)
 
2493
 
 
2494
(define-function gimp_query_int_box
 
2495
  (c-name "gimp_query_int_box")
 
2496
  (return-type "GtkWidget*")
 
2497
  (parameters
 
2498
    '("const-gchar*" "title")
 
2499
    '("GtkWidget*" "parent")
 
2500
    '("GimpHelpFunc" "help_func")
 
2501
    '("const-gchar*" "help_id")
 
2502
    '("const-gchar*" "message")
 
2503
    '("gint" "initial")
 
2504
    '("gint" "lower")
 
2505
    '("gint" "upper")
 
2506
    '("GObject*" "object")
 
2507
    '("const-gchar*" "signal")
 
2508
    '("GimpQueryIntCallback" "callback")
 
2509
    '("gpointer" "data")
 
2510
  )
 
2511
)
 
2512
 
 
2513
(define-function gimp_query_double_box
 
2514
  (c-name "gimp_query_double_box")
 
2515
  (return-type "GtkWidget*")
 
2516
  (parameters
 
2517
    '("const-gchar*" "title")
 
2518
    '("GtkWidget*" "parent")
 
2519
    '("GimpHelpFunc" "help_func")
 
2520
    '("const-gchar*" "help_id")
 
2521
    '("const-gchar*" "message")
 
2522
    '("gdouble" "initial")
 
2523
    '("gdouble" "lower")
 
2524
    '("gdouble" "upper")
 
2525
    '("gint" "digits")
 
2526
    '("GObject*" "object")
 
2527
    '("const-gchar*" "signal")
 
2528
    '("GimpQueryDoubleCallback" "callback")
 
2529
    '("gpointer" "data")
 
2530
  )
 
2531
)
 
2532
 
 
2533
(define-function gimp_query_size_box
 
2534
  (c-name "gimp_query_size_box")
 
2535
  (return-type "GtkWidget*")
 
2536
  (parameters
 
2537
    '("const-gchar*" "title")
 
2538
    '("GtkWidget*" "parent")
 
2539
    '("GimpHelpFunc" "help_func")
 
2540
    '("const-gchar*" "help_id")
 
2541
    '("const-gchar*" "message")
 
2542
    '("gdouble" "initial")
 
2543
    '("gdouble" "lower")
 
2544
    '("gdouble" "upper")
 
2545
    '("gint" "digits")
 
2546
    '("GimpUnit" "unit")
 
2547
    '("gdouble" "resolution")
 
2548
    '("gboolean" "dot_for_dot")
 
2549
    '("GObject*" "object")
 
2550
    '("const-gchar*" "signal")
 
2551
    '("GimpQuerySizeCallback" "callback")
 
2552
    '("gpointer" "data")
 
2553
  )
 
2554
)
 
2555
 
 
2556
(define-function gimp_query_boolean_box
 
2557
  (c-name "gimp_query_boolean_box")
 
2558
  (return-type "GtkWidget*")
 
2559
  (parameters
 
2560
    '("const-gchar*" "title")
 
2561
    '("GtkWidget*" "parent")
 
2562
    '("GimpHelpFunc" "help_func")
 
2563
    '("const-gchar*" "help_id")
 
2564
    '("const-gchar*" "stock_id")
 
2565
    '("const-gchar*" "message")
 
2566
    '("const-gchar*" "true_button")
 
2567
    '("const-gchar*" "false_button")
 
2568
    '("GObject*" "object")
 
2569
    '("const-gchar*" "signal")
 
2570
    '("GimpQueryBooleanCallback" "callback")
 
2571
    '("gpointer" "data")
 
2572
  )
 
2573
)
 
2574
 
 
2575
 
 
2576
 
 
2577
;; From ../../libgimpwidgets/gimpresolutionentry.h
 
2578
 
 
2579
(define-function gimp_resolution_entry_get_type
 
2580
  (c-name "gimp_resolution_entry_get_type")
 
2581
  (return-type "GType")
 
2582
)
 
2583
 
 
2584
(define-function gimp_resolution_entry_new
 
2585
  (c-name "gimp_resolution_entry_new")
 
2586
  (is-constructor-of "GimpResolutionEntry")
 
2587
  (return-type "GtkWidget*")
 
2588
  (parameters
 
2589
    '("const-gchar*" "width_label")
 
2590
    '("gdouble" "width")
 
2591
    '("const-gchar*" "height_label")
 
2592
    '("gdouble" "height")
 
2593
    '("GimpUnit" "size_unit")
 
2594
    '("const-gchar*" "x_label")
 
2595
    '("gdouble" "initial_x")
 
2596
    '("const-gchar*" "y_label")
 
2597
    '("gdouble" "initial_y")
 
2598
    '("GimpUnit" "intial_unit")
 
2599
    '("gboolean" "independent")
 
2600
    '("gint" "spinbutton_width")
 
2601
  )
 
2602
)
 
2603
 
 
2604
(define-method attach_label
 
2605
  (of-object "GimpResolutionEntry")
 
2606
  (c-name "gimp_resolution_entry_attach_label")
 
2607
  (return-type "GtkWidget*")
 
2608
  (parameters
 
2609
    '("const-gchar*" "text")
 
2610
    '("gint" "row")
 
2611
    '("gint" "column")
 
2612
    '("gfloat" "alignment")
 
2613
  )
 
2614
)
 
2615
 
 
2616
(define-method set_width_boundaries
 
2617
  (of-object "GimpResolutionEntry")
 
2618
  (c-name "gimp_resolution_entry_set_width_boundaries")
 
2619
  (return-type "none")
 
2620
  (parameters
 
2621
    '("gdouble" "lower")
 
2622
    '("gdouble" "upper")
 
2623
  )
 
2624
)
 
2625
 
 
2626
(define-method set_height_boundaries
 
2627
  (of-object "GimpResolutionEntry")
 
2628
  (c-name "gimp_resolution_entry_set_height_boundaries")
 
2629
  (return-type "none")
 
2630
  (parameters
 
2631
    '("gdouble" "lower")
 
2632
    '("gdouble" "upper")
 
2633
  )
 
2634
)
 
2635
 
 
2636
(define-method set_x_boundaries
 
2637
  (of-object "GimpResolutionEntry")
 
2638
  (c-name "gimp_resolution_entry_set_x_boundaries")
 
2639
  (return-type "none")
 
2640
  (parameters
 
2641
    '("gdouble" "lower")
 
2642
    '("gdouble" "upper")
 
2643
  )
 
2644
)
 
2645
 
 
2646
(define-method set_y_boundaries
 
2647
  (of-object "GimpResolutionEntry")
 
2648
  (c-name "gimp_resolution_entry_set_y_boundaries")
 
2649
  (return-type "none")
 
2650
  (parameters
 
2651
    '("gdouble" "lower")
 
2652
    '("gdouble" "upper")
 
2653
  )
 
2654
)
 
2655
 
 
2656
(define-method get_width
 
2657
  (of-object "GimpResolutionEntry")
 
2658
  (c-name "gimp_resolution_entry_get_width")
 
2659
  (return-type "gdouble")
 
2660
)
 
2661
 
 
2662
(define-method get_height
 
2663
  (of-object "GimpResolutionEntry")
 
2664
  (c-name "gimp_resolution_entry_get_height")
 
2665
  (return-type "gdouble")
 
2666
)
 
2667
 
 
2668
(define-method get_x
 
2669
  (of-object "GimpResolutionEntry")
 
2670
  (c-name "gimp_resolution_entry_get_x")
 
2671
  (return-type "gdouble")
 
2672
)
 
2673
 
 
2674
(define-method get_x_in_dpi
 
2675
  (of-object "GimpResolutionEntry")
 
2676
  (c-name "gimp_resolution_entry_get_x_in_dpi")
 
2677
  (return-type "gdouble")
 
2678
)
 
2679
 
 
2680
(define-method get_y
 
2681
  (of-object "GimpResolutionEntry")
 
2682
  (c-name "gimp_resolution_entry_get_y")
 
2683
  (return-type "gdouble")
 
2684
)
 
2685
 
 
2686
(define-method get_y_in_dpi
 
2687
  (of-object "GimpResolutionEntry")
 
2688
  (c-name "gimp_resolution_entry_get_y_in_dpi")
 
2689
  (return-type "gdouble")
 
2690
)
 
2691
 
 
2692
(define-method set_width
 
2693
  (of-object "GimpResolutionEntry")
 
2694
  (c-name "gimp_resolution_entry_set_width")
 
2695
  (return-type "none")
 
2696
  (parameters
 
2697
    '("gdouble" "value")
 
2698
  )
 
2699
)
 
2700
 
 
2701
(define-method set_height
 
2702
  (of-object "GimpResolutionEntry")
 
2703
  (c-name "gimp_resolution_entry_set_height")
 
2704
  (return-type "none")
 
2705
  (parameters
 
2706
    '("gdouble" "value")
 
2707
  )
 
2708
)
 
2709
 
 
2710
(define-method set_x
 
2711
  (of-object "GimpResolutionEntry")
 
2712
  (c-name "gimp_resolution_entry_set_x")
 
2713
  (return-type "none")
 
2714
  (parameters
 
2715
    '("gdouble" "value")
 
2716
  )
 
2717
)
 
2718
 
 
2719
(define-method set_y
 
2720
  (of-object "GimpResolutionEntry")
 
2721
  (c-name "gimp_resolution_entry_set_y")
 
2722
  (return-type "none")
 
2723
  (parameters
 
2724
    '("gdouble" "value")
 
2725
  )
 
2726
)
 
2727
 
 
2728
(define-method get_unit
 
2729
  (of-object "GimpResolutionEntry")
 
2730
  (c-name "gimp_resolution_entry_get_unit")
 
2731
  (return-type "GimpUnit")
 
2732
)
 
2733
 
 
2734
(define-method set_unit
 
2735
  (of-object "GimpResolutionEntry")
 
2736
  (c-name "gimp_resolution_entry_set_unit")
 
2737
  (return-type "none")
 
2738
  (parameters
 
2739
    '("GimpUnit" "unit")
 
2740
  )
 
2741
)
 
2742
 
 
2743
(define-method show_unit_menu
 
2744
  (of-object "GimpResolutionEntry")
 
2745
  (c-name "gimp_resolution_entry_show_unit_menu")
 
2746
  (return-type "none")
 
2747
  (parameters
 
2748
    '("gboolean" "show")
 
2749
  )
 
2750
)
 
2751
 
 
2752
(define-method set_pixel_digits
 
2753
  (of-object "GimpResolutionEntry")
 
2754
  (c-name "gimp_resolution_entry_set_pixel_digits")
 
2755
  (return-type "none")
 
2756
  (parameters
 
2757
    '("gint" "digits")
 
2758
  )
 
2759
)
 
2760
 
 
2761
(define-method grab_focus
 
2762
  (of-object "GimpResolutionEntry")
 
2763
  (c-name "gimp_resolution_entry_grab_focus")
 
2764
  (return-type "none")
 
2765
)
 
2766
 
 
2767
(define-method set_activates_default
 
2768
  (of-object "GimpResolutionEntry")
 
2769
  (c-name "gimp_resolution_entry_set_activates_default")
 
2770
  (return-type "none")
 
2771
  (parameters
 
2772
    '("gboolean" "setting")
 
2773
  )
 
2774
)
 
2775
 
 
2776
(define-method get_width_help_widget
 
2777
  (of-object "GimpResolutionEntry")
 
2778
  (c-name "gimp_resolution_entry_get_width_help_widget")
 
2779
  (return-type "GtkWidget*")
 
2780
)
 
2781
 
 
2782
(define-method get_height_help_widget
 
2783
  (of-object "GimpResolutionEntry")
 
2784
  (c-name "gimp_resolution_entry_get_height_help_widget")
 
2785
  (return-type "GtkWidget*")
 
2786
)
 
2787
 
 
2788
(define-method get_x_help_widget
 
2789
  (of-object "GimpResolutionEntry")
 
2790
  (c-name "gimp_resolution_entry_get_x_help_widget")
 
2791
  (return-type "GtkWidget*")
 
2792
)
 
2793
 
 
2794
(define-method get_y_help_widget
 
2795
  (of-object "GimpResolutionEntry")
 
2796
  (c-name "gimp_resolution_entry_get_y_help_widget")
 
2797
  (return-type "GtkWidget*")
 
2798
)
 
2799
 
 
2800
(define-method update_width
 
2801
  (of-object "GimpResolutionEntry")
 
2802
  (c-name "gimp_resolution_entry_update_width")
 
2803
  (return-type "none")
 
2804
  (parameters
 
2805
    '("gpointer" "data")
 
2806
  )
 
2807
)
 
2808
 
 
2809
(define-method update_height
 
2810
  (of-object "GimpResolutionEntry")
 
2811
  (c-name "gimp_resolution_entry_update_height")
 
2812
  (return-type "none")
 
2813
  (parameters
 
2814
    '("gpointer" "data")
 
2815
  )
 
2816
)
 
2817
 
 
2818
(define-method update_x
 
2819
  (of-object "GimpResolutionEntry")
 
2820
  (c-name "gimp_resolution_entry_update_x")
 
2821
  (return-type "none")
 
2822
  (parameters
 
2823
    '("gpointer" "data")
 
2824
  )
 
2825
)
 
2826
 
 
2827
(define-method update_x_in_dpi
 
2828
  (of-object "GimpResolutionEntry")
 
2829
  (c-name "gimp_resolution_entry_update_x_in_dpi")
 
2830
  (return-type "none")
 
2831
  (parameters
 
2832
    '("gpointer" "data")
 
2833
  )
 
2834
)
 
2835
 
 
2836
(define-method update_y
 
2837
  (of-object "GimpResolutionEntry")
 
2838
  (c-name "gimp_resolution_entry_update_y")
 
2839
  (return-type "none")
 
2840
  (parameters
 
2841
    '("gpointer" "data")
 
2842
  )
 
2843
)
 
2844
 
 
2845
(define-method update_y_in_dpi
 
2846
  (of-object "GimpResolutionEntry")
 
2847
  (c-name "gimp_resolution_entry_update_y_in_dpi")
 
2848
  (return-type "none")
 
2849
  (parameters
 
2850
    '("gpointer" "data")
 
2851
  )
 
2852
)
 
2853
 
 
2854
 
 
2855
 
 
2856
;; From ../../libgimpwidgets/gimpscrolledpreview.h
 
2857
 
 
2858
(define-function gimp_scrolled_preview_get_type
 
2859
  (c-name "gimp_scrolled_preview_get_type")
 
2860
  (return-type "GType")
 
2861
)
 
2862
 
 
2863
(define-method set_position
 
2864
  (of-object "GimpScrolledPreview")
 
2865
  (c-name "gimp_scrolled_preview_set_position")
 
2866
  (return-type "none")
 
2867
  (parameters
 
2868
    '("gint" "x")
 
2869
    '("gint" "y")
 
2870
  )
 
2871
)
 
2872
 
 
2873
(define-method set_policy
 
2874
  (of-object "GimpScrolledPreview")
 
2875
  (c-name "gimp_scrolled_preview_set_policy")
 
2876
  (return-type "none")
 
2877
  (parameters
 
2878
    '("GtkPolicyType" "hscrollbar_policy")
 
2879
    '("GtkPolicyType" "vscrollbar_policy")
 
2880
  )
 
2881
)
 
2882
 
 
2883
(define-method freeze
 
2884
  (of-object "GimpScrolledPreview")
 
2885
  (c-name "gimp_scrolled_preview_freeze")
 
2886
  (return-type "none")
 
2887
)
 
2888
 
 
2889
(define-method thaw
 
2890
  (of-object "GimpScrolledPreview")
 
2891
  (c-name "gimp_scrolled_preview_thaw")
 
2892
  (return-type "none")
 
2893
)
 
2894
 
 
2895
 
 
2896
 
 
2897
;; From ../../libgimpwidgets/gimpsizeentry.h
 
2898
 
 
2899
(define-function gimp_size_entry_get_type
 
2900
  (c-name "gimp_size_entry_get_type")
 
2901
  (return-type "GType")
 
2902
)
 
2903
 
 
2904
(define-function gimp_size_entry_new
 
2905
  (c-name "gimp_size_entry_new")
 
2906
  (is-constructor-of "GimpSizeEntry")
 
2907
  (return-type "GtkWidget*")
 
2908
  (parameters
 
2909
    '("gint" "number_of_fields")
 
2910
    '("GimpUnit" "unit")
 
2911
    '("const-gchar*" "unit_format")
 
2912
    '("gboolean" "menu_show_pixels")
 
2913
    '("gboolean" "menu_show_percent")
 
2914
    '("gboolean" "show_refval")
 
2915
    '("gint" "spinbutton_width")
 
2916
    '("GimpSizeEntryUpdatePolicy" "update_policy")
 
2917
  )
 
2918
)
 
2919
 
 
2920
(define-method add_field
 
2921
  (of-object "GimpSizeEntry")
 
2922
  (c-name "gimp_size_entry_add_field")
 
2923
  (return-type "none")
 
2924
  (parameters
 
2925
    '("GtkSpinButton*" "value_spinbutton")
 
2926
    '("GtkSpinButton*" "refval_spinbutton")
 
2927
  )
 
2928
)
 
2929
 
 
2930
(define-method attach_label
 
2931
  (of-object "GimpSizeEntry")
 
2932
  (c-name "gimp_size_entry_attach_label")
 
2933
  (return-type "GtkWidget*")
 
2934
  (parameters
 
2935
    '("const-gchar*" "text")
 
2936
    '("gint" "row")
 
2937
    '("gint" "column")
 
2938
    '("gfloat" "alignment")
 
2939
  )
 
2940
)
 
2941
 
 
2942
(define-method set_resolution
 
2943
  (of-object "GimpSizeEntry")
 
2944
  (c-name "gimp_size_entry_set_resolution")
 
2945
  (return-type "none")
 
2946
  (parameters
 
2947
    '("gint" "field")
 
2948
    '("gdouble" "resolution")
 
2949
    '("gboolean" "keep_size")
 
2950
  )
 
2951
)
 
2952
 
 
2953
(define-method set_size
 
2954
  (of-object "GimpSizeEntry")
 
2955
  (c-name "gimp_size_entry_set_size")
 
2956
  (return-type "none")
 
2957
  (parameters
 
2958
    '("gint" "field")
 
2959
    '("gdouble" "lower")
 
2960
    '("gdouble" "upper")
 
2961
  )
 
2962
)
 
2963
 
 
2964
(define-method set_value_boundaries
 
2965
  (of-object "GimpSizeEntry")
 
2966
  (c-name "gimp_size_entry_set_value_boundaries")
 
2967
  (return-type "none")
 
2968
  (parameters
 
2969
    '("gint" "field")
 
2970
    '("gdouble" "lower")
 
2971
    '("gdouble" "upper")
 
2972
  )
 
2973
)
 
2974
 
 
2975
(define-method get_value
 
2976
  (of-object "GimpSizeEntry")
 
2977
  (c-name "gimp_size_entry_get_value")
 
2978
  (return-type "gdouble")
 
2979
  (parameters
 
2980
    '("gint" "field")
 
2981
  )
 
2982
)
 
2983
 
 
2984
(define-method set_value
 
2985
  (of-object "GimpSizeEntry")
 
2986
  (c-name "gimp_size_entry_set_value")
 
2987
  (return-type "none")
 
2988
  (parameters
 
2989
    '("gint" "field")
 
2990
    '("gdouble" "value")
 
2991
  )
 
2992
)
 
2993
 
 
2994
(define-method set_refval_boundaries
 
2995
  (of-object "GimpSizeEntry")
 
2996
  (c-name "gimp_size_entry_set_refval_boundaries")
 
2997
  (return-type "none")
 
2998
  (parameters
 
2999
    '("gint" "field")
 
3000
    '("gdouble" "lower")
 
3001
    '("gdouble" "upper")
 
3002
  )
 
3003
)
 
3004
 
 
3005
(define-method set_refval_digits
 
3006
  (of-object "GimpSizeEntry")
 
3007
  (c-name "gimp_size_entry_set_refval_digits")
 
3008
  (return-type "none")
 
3009
  (parameters
 
3010
    '("gint" "field")
 
3011
    '("gint" "digits")
 
3012
  )
 
3013
)
 
3014
 
 
3015
(define-method get_refval
 
3016
  (of-object "GimpSizeEntry")
 
3017
  (c-name "gimp_size_entry_get_refval")
 
3018
  (return-type "gdouble")
 
3019
  (parameters
 
3020
    '("gint" "field")
 
3021
  )
 
3022
)
 
3023
 
 
3024
(define-method set_refval
 
3025
  (of-object "GimpSizeEntry")
 
3026
  (c-name "gimp_size_entry_set_refval")
 
3027
  (return-type "none")
 
3028
  (parameters
 
3029
    '("gint" "field")
 
3030
    '("gdouble" "refval")
 
3031
  )
 
3032
)
 
3033
 
 
3034
(define-method get_unit
 
3035
  (of-object "GimpSizeEntry")
 
3036
  (c-name "gimp_size_entry_get_unit")
 
3037
  (return-type "GimpUnit")
 
3038
)
 
3039
 
 
3040
(define-method set_unit
 
3041
  (of-object "GimpSizeEntry")
 
3042
  (c-name "gimp_size_entry_set_unit")
 
3043
  (return-type "none")
 
3044
  (parameters
 
3045
    '("GimpUnit" "unit")
 
3046
  )
 
3047
)
 
3048
 
 
3049
(define-method show_unit_menu
 
3050
  (of-object "GimpSizeEntry")
 
3051
  (c-name "gimp_size_entry_show_unit_menu")
 
3052
  (return-type "none")
 
3053
  (parameters
 
3054
    '("gboolean" "show")
 
3055
  )
 
3056
)
 
3057
 
 
3058
(define-method set_pixel_digits
 
3059
  (of-object "GimpSizeEntry")
 
3060
  (c-name "gimp_size_entry_set_pixel_digits")
 
3061
  (return-type "none")
 
3062
  (parameters
 
3063
    '("gint" "digits")
 
3064
  )
 
3065
)
 
3066
 
 
3067
(define-method grab_focus
 
3068
  (of-object "GimpSizeEntry")
 
3069
  (c-name "gimp_size_entry_grab_focus")
 
3070
  (return-type "none")
 
3071
)
 
3072
 
 
3073
(define-method set_activates_default
 
3074
  (of-object "GimpSizeEntry")
 
3075
  (c-name "gimp_size_entry_set_activates_default")
 
3076
  (return-type "none")
 
3077
  (parameters
 
3078
    '("gboolean" "setting")
 
3079
  )
 
3080
)
 
3081
 
 
3082
(define-method get_help_widget
 
3083
  (of-object "GimpSizeEntry")
 
3084
  (c-name "gimp_size_entry_get_help_widget")
 
3085
  (return-type "GtkWidget*")
 
3086
  (parameters
 
3087
    '("gint" "field")
 
3088
  )
 
3089
)
 
3090
 
 
3091
 
 
3092
 
 
3093
;; From ../../libgimpwidgets/gimpunitmenu.h
 
3094
 
 
3095
(define-function gimp_unit_menu_get_type
 
3096
  (c-name "gimp_unit_menu_get_type")
 
3097
  (return-type "GType")
 
3098
)
 
3099
 
 
3100
(define-function gimp_unit_menu_new
 
3101
  (c-name "gimp_unit_menu_new")
 
3102
  (is-constructor-of "GimpUnitMenu")
 
3103
  (return-type "GtkWidget*")
 
3104
  (parameters
 
3105
    '("const-gchar*" "format")
 
3106
    '("GimpUnit" "unit")
 
3107
    '("gboolean" "show_pixels")
 
3108
    '("gboolean" "show_percent")
 
3109
    '("gboolean" "show_custom")
 
3110
  )
 
3111
)
 
3112
 
 
3113
(define-method set_unit
 
3114
  (of-object "GimpUnitMenu")
 
3115
  (c-name "gimp_unit_menu_set_unit")
 
3116
  (return-type "none")
 
3117
  (parameters
 
3118
    '("GimpUnit" "unit")
 
3119
  )
 
3120
)
 
3121
 
 
3122
(define-method get_unit
 
3123
  (of-object "GimpUnitMenu")
 
3124
  (c-name "gimp_unit_menu_get_unit")
 
3125
  (return-type "GimpUnit")
 
3126
)
 
3127
 
 
3128
(define-method set_pixel_digits
 
3129
  (of-object "GimpUnitMenu")
 
3130
  (c-name "gimp_unit_menu_set_pixel_digits")
 
3131
  (return-type "none")
 
3132
  (parameters
 
3133
    '("gint" "digits")
 
3134
  )
 
3135
)
 
3136
 
 
3137
(define-method get_pixel_digits
 
3138
  (of-object "GimpUnitMenu")
 
3139
  (c-name "gimp_unit_menu_get_pixel_digits")
 
3140
  (return-type "gint")
 
3141
)
 
3142
 
 
3143
 
 
3144
 
 
3145
;; From ../../libgimpwidgets/gimpwidgets.h
 
3146
 
 
3147
(define-function gimp_int_radio_group_new
 
3148
  (c-name "gimp_int_radio_group_new")
 
3149
  (is-constructor-of "GimpIntRadioGroup")
 
3150
  (return-type "GtkWidget*")
 
3151
  (parameters
 
3152
    '("gboolean" "in_frame")
 
3153
    '("const-gchar*" "frame_title")
 
3154
    '("GCallback" "radio_button_callback")
 
3155
    '("gpointer" "radio_button_callback_data")
 
3156
    '("gint" "initial")
 
3157
  )
 
3158
  (varargs #t)
 
3159
)
 
3160
 
 
3161
(define-function gimp_int_radio_group_set_active
 
3162
  (c-name "gimp_int_radio_group_set_active")
 
3163
  (return-type "none")
 
3164
  (parameters
 
3165
    '("GtkRadioButton*" "radio_button")
 
3166
    '("gint" "item_data")
 
3167
  )
 
3168
)
 
3169
 
 
3170
(define-function gimp_radio_group_new
 
3171
  (c-name "gimp_radio_group_new")
 
3172
  (is-constructor-of "GimpRadioGroup")
 
3173
  (return-type "GtkWidget*")
 
3174
  (parameters
 
3175
    '("gboolean" "in_frame")
 
3176
    '("const-gchar*" "frame_title")
 
3177
  )
 
3178
  (varargs #t)
 
3179
)
 
3180
 
 
3181
(define-function gimp_radio_group_new2
 
3182
  (c-name "gimp_radio_group_new2")
 
3183
  (return-type "GtkWidget*")
 
3184
  (parameters
 
3185
    '("gboolean" "in_frame")
 
3186
    '("const-gchar*" "frame_title")
 
3187
    '("GCallback" "radio_button_callback")
 
3188
    '("gpointer" "radio_button_callback_data")
 
3189
    '("gpointer" "initial")
 
3190
  )
 
3191
  (varargs #t)
 
3192
)
 
3193
 
 
3194
(define-function gimp_radio_group_set_active
 
3195
  (c-name "gimp_radio_group_set_active")
 
3196
  (return-type "none")
 
3197
  (parameters
 
3198
    '("GtkRadioButton*" "radio_button")
 
3199
    '("gpointer" "item_data")
 
3200
  )
 
3201
)
 
3202
 
 
3203
(define-function gimp_spin_button_new
 
3204
  (c-name "gimp_spin_button_new")
 
3205
  (is-constructor-of "GimpSpinButton")
 
3206
  (return-type "GtkWidget*")
 
3207
  (parameters
 
3208
    '("GtkObject**" "adjustment")
 
3209
    '("gdouble" "value")
 
3210
    '("gdouble" "lower")
 
3211
    '("gdouble" "upper")
 
3212
    '("gdouble" "step_increment")
 
3213
    '("gdouble" "page_increment")
 
3214
    '("gdouble" "page_size")
 
3215
    '("gdouble" "climb_rate")
 
3216
    '("guint" "digits")
 
3217
  )
 
3218
)
 
3219
 
 
3220
(define-function gimp_scale_entry_new
 
3221
  (c-name "gimp_scale_entry_new")
 
3222
  (is-constructor-of "GimpScaleEntry")
 
3223
  (return-type "GtkObject*")
 
3224
  (parameters
 
3225
    '("GtkTable*" "table")
 
3226
    '("gint" "column")
 
3227
    '("gint" "row")
 
3228
    '("const-gchar*" "text")
 
3229
    '("gint" "scale_width")
 
3230
    '("gint" "spinbutton_width")
 
3231
    '("gdouble" "value")
 
3232
    '("gdouble" "lower")
 
3233
    '("gdouble" "upper")
 
3234
    '("gdouble" "step_increment")
 
3235
    '("gdouble" "page_increment")
 
3236
    '("guint" "digits")
 
3237
    '("gboolean" "constrain")
 
3238
    '("gdouble" "unconstrained_lower")
 
3239
    '("gdouble" "unconstrained_upper")
 
3240
    '("const-gchar*" "tooltip")
 
3241
    '("const-gchar*" "help_id")
 
3242
  )
 
3243
)
 
3244
 
 
3245
(define-function gimp_color_scale_entry_new
 
3246
  (c-name "gimp_color_scale_entry_new")
 
3247
  (is-constructor-of "GimpColorScaleEntry")
 
3248
  (return-type "GtkObject*")
 
3249
  (parameters
 
3250
    '("GtkTable*" "table")
 
3251
    '("gint" "column")
 
3252
    '("gint" "row")
 
3253
    '("const-gchar*" "text")
 
3254
    '("gint" "scale_width")
 
3255
    '("gint" "spinbutton_width")
 
3256
    '("gdouble" "value")
 
3257
    '("gdouble" "lower")
 
3258
    '("gdouble" "upper")
 
3259
    '("gdouble" "step_increment")
 
3260
    '("gdouble" "page_increment")
 
3261
    '("guint" "digits")
 
3262
    '("const-gchar*" "tooltip")
 
3263
    '("const-gchar*" "help_id")
 
3264
  )
 
3265
)
 
3266
 
 
3267
(define-function gimp_scale_entry_set_sensitive
 
3268
  (c-name "gimp_scale_entry_set_sensitive")
 
3269
  (return-type "none")
 
3270
  (parameters
 
3271
    '("GtkObject*" "adjustment")
 
3272
    '("gboolean" "sensitive")
 
3273
  )
 
3274
)
 
3275
 
 
3276
(define-function gimp_scale_entry_set_logarithmic
 
3277
  (c-name "gimp_scale_entry_set_logarithmic")
 
3278
  (return-type "none")
 
3279
  (parameters
 
3280
    '("GtkObject*" "adjustment")
 
3281
    '("gboolean" "logarithmic")
 
3282
  )
 
3283
)
 
3284
 
 
3285
(define-function gimp_scale_entry_get_logarithmic
 
3286
  (c-name "gimp_scale_entry_get_logarithmic")
 
3287
  (return-type "gboolean")
 
3288
  (parameters
 
3289
    '("GtkObject*" "adjustment")
 
3290
  )
 
3291
)
 
3292
 
 
3293
(define-function gimp_random_seed_new
 
3294
  (c-name "gimp_random_seed_new")
 
3295
  (is-constructor-of "GimpRandomSeed")
 
3296
  (return-type "GtkWidget*")
 
3297
  (parameters
 
3298
    '("guint32*" "seed")
 
3299
    '("gboolean*" "random_seed")
 
3300
  )
 
3301
)
 
3302
 
 
3303
(define-function gimp_coordinates_new
 
3304
  (c-name "gimp_coordinates_new")
 
3305
  (is-constructor-of "GimpCoordinates")
 
3306
  (return-type "GtkWidget*")
 
3307
  (parameters
 
3308
    '("GimpUnit" "unit")
 
3309
    '("const-gchar*" "unit_format")
 
3310
    '("gboolean" "menu_show_pixels")
 
3311
    '("gboolean" "menu_show_percent")
 
3312
    '("gint" "spinbutton_width")
 
3313
    '("GimpSizeEntryUpdatePolicy" "update_policy")
 
3314
    '("gboolean" "chainbutton_active")
 
3315
    '("gboolean" "chain_constrains_ratio")
 
3316
    '("const-gchar*" "xlabel")
 
3317
    '("gdouble" "x")
 
3318
    '("gdouble" "xres")
 
3319
    '("gdouble" "lower_boundary_x")
 
3320
    '("gdouble" "upper_boundary_x")
 
3321
    '("gdouble" "xsize_0")
 
3322
    '("gdouble" "xsize_100")
 
3323
    '("const-gchar*" "ylabel")
 
3324
    '("gdouble" "y")
 
3325
    '("gdouble" "yres")
 
3326
    '("gdouble" "lower_boundary_y")
 
3327
    '("gdouble" "upper_boundary_y")
 
3328
    '("gdouble" "ysize_0")
 
3329
  )
 
3330
)
 
3331
 
 
3332
(define-function gimp_toggle_button_sensitive_update
 
3333
  (c-name "gimp_toggle_button_sensitive_update")
 
3334
  (return-type "none")
 
3335
  (parameters
 
3336
    '("GtkToggleButton*" "toggle_button")
 
3337
  )
 
3338
)
 
3339
 
 
3340
(define-function gimp_toggle_button_update
 
3341
  (c-name "gimp_toggle_button_update")
 
3342
  (return-type "none")
 
3343
  (parameters
 
3344
    '("GtkWidget*" "widget")
 
3345
    '("gpointer" "data")
 
3346
  )
 
3347
)
 
3348
 
 
3349
(define-function gimp_radio_button_update
 
3350
  (c-name "gimp_radio_button_update")
 
3351
  (return-type "none")
 
3352
  (parameters
 
3353
    '("GtkWidget*" "widget")
 
3354
    '("gpointer" "data")
 
3355
  )
 
3356
)
 
3357
 
 
3358
(define-function gimp_int_adjustment_update
 
3359
  (c-name "gimp_int_adjustment_update")
 
3360
  (return-type "none")
 
3361
  (parameters
 
3362
    '("GtkAdjustment*" "adjustment")
 
3363
    '("gpointer" "data")
 
3364
  )
 
3365
)
 
3366
 
 
3367
(define-function gimp_uint_adjustment_update
 
3368
  (c-name "gimp_uint_adjustment_update")
 
3369
  (return-type "none")
 
3370
  (parameters
 
3371
    '("GtkAdjustment*" "adjustment")
 
3372
    '("gpointer" "data")
 
3373
  )
 
3374
)
 
3375
 
 
3376
(define-function gimp_float_adjustment_update
 
3377
  (c-name "gimp_float_adjustment_update")
 
3378
  (return-type "none")
 
3379
  (parameters
 
3380
    '("GtkAdjustment*" "adjustment")
 
3381
    '("gpointer" "data")
 
3382
  )
 
3383
)
 
3384
 
 
3385
(define-function gimp_double_adjustment_update
 
3386
  (c-name "gimp_double_adjustment_update")
 
3387
  (return-type "none")
 
3388
  (parameters
 
3389
    '("GtkAdjustment*" "adjustment")
 
3390
    '("gpointer" "data")
 
3391
  )
 
3392
)
 
3393
 
 
3394
(define-function gimp_unit_menu_update
 
3395
  (c-name "gimp_unit_menu_update")
 
3396
  (return-type "none")
 
3397
  (parameters
 
3398
    '("GtkWidget*" "widget")
 
3399
    '("gpointer" "data")
 
3400
  )
 
3401
)
 
3402
 
 
3403
(define-function gimp_table_attach_aligned
 
3404
  (c-name "gimp_table_attach_aligned")
 
3405
  (return-type "GtkWidget*")
 
3406
  (parameters
 
3407
    '("GtkTable*" "table")
 
3408
    '("gint" "column")
 
3409
    '("gint" "row")
 
3410
    '("const-gchar*" "label_text")
 
3411
    '("gfloat" "xalign")
 
3412
    '("gfloat" "yalign")
 
3413
    '("GtkWidget*" "widget")
 
3414
    '("gint" "colspan")
 
3415
    '("gboolean" "left_align")
 
3416
  )
 
3417
)
 
3418
 
 
3419
(define-function gimp_label_set_attributes
 
3420
  (c-name "gimp_label_set_attributes")
 
3421
  (return-type "none")
 
3422
  (parameters
 
3423
    '("GtkLabel*" "label")
 
3424
  )
 
3425
  (varargs #t)
 
3426
)
 
3427
 
 
3428
 
 
3429
 
 
3430
;; From ../../libgimpwidgets/gimpwidgetsenums.h
 
3431
 
 
3432
(define-function gimp_chain_position_get_type
 
3433
  (c-name "gimp_chain_position_get_type")
 
3434
  (return-type "GType")
 
3435
)
 
3436
 
 
3437
(define-function gimp_color_area_type_get_type
 
3438
  (c-name "gimp_color_area_type_get_type")
 
3439
  (return-type "GType")
 
3440
)
 
3441
 
 
3442
(define-function gimp_color_selector_channel_get_type
 
3443
  (c-name "gimp_color_selector_channel_get_type")
 
3444
  (return-type "GType")
 
3445
)
 
3446
 
 
3447
(define-function gimp_page_selector_target_get_type
 
3448
  (c-name "gimp_page_selector_target_get_type")
 
3449
  (return-type "GType")
 
3450
)
 
3451
 
 
3452
(define-function gimp_size_entry_update_policy_get_type
 
3453
  (c-name "gimp_size_entry_update_policy_get_type")
 
3454
  (return-type "GType")
 
3455
)
 
3456
 
 
3457
(define-function gimp_zoom_type_get_type
 
3458
  (c-name "gimp_zoom_type_get_type")
 
3459
  (return-type "GType")
 
3460
)
 
3461
 
 
3462
 
 
3463
 
 
3464
;; From ../../libgimpwidgets/gimpzoommodel.h
 
3465
 
 
3466
(define-function gimp_zoom_model_get_type
 
3467
  (c-name "gimp_zoom_model_get_type")
 
3468
  (return-type "GType")
 
3469
)
 
3470
 
 
3471
(define-function gimp_zoom_model_new
 
3472
  (c-name "gimp_zoom_model_new")
 
3473
  (is-constructor-of "GimpZoomModel")
 
3474
  (return-type "GimpZoomModel*")
 
3475
)
 
3476
 
 
3477
(define-method set_range
 
3478
  (of-object "GimpZoomModel")
 
3479
  (c-name "gimp_zoom_model_set_range")
 
3480
  (return-type "none")
 
3481
  (parameters
 
3482
    '("gdouble" "min")
 
3483
    '("gdouble" "max")
 
3484
  )
 
3485
)
 
3486
 
 
3487
(define-method zoom
 
3488
  (of-object "GimpZoomModel")
 
3489
  (c-name "gimp_zoom_model_zoom")
 
3490
  (return-type "none")
 
3491
  (parameters
 
3492
    '("GimpZoomType" "zoom_type")
 
3493
    '("gdouble" "scale")
 
3494
  )
 
3495
)
 
3496
 
 
3497
(define-method get_factor
 
3498
  (of-object "GimpZoomModel")
 
3499
  (c-name "gimp_zoom_model_get_factor")
 
3500
  (return-type "gdouble")
 
3501
)
 
3502
 
 
3503
(define-method get_fraction
 
3504
  (of-object "GimpZoomModel")
 
3505
  (c-name "gimp_zoom_model_get_fraction")
 
3506
  (return-type "none")
 
3507
  (parameters
 
3508
    '("gint*" "numerator")
 
3509
    '("gint*" "denominator")
 
3510
  )
 
3511
)
 
3512
 
 
3513
(define-function gimp_zoom_button_new
 
3514
  (c-name "gimp_zoom_button_new")
 
3515
  (is-constructor-of "GimpZoomButton")
 
3516
  (return-type "GtkWidget*")
 
3517
  (parameters
 
3518
    '("GimpZoomModel*" "model")
 
3519
    '("GimpZoomType" "zoom_type")
 
3520
    '("GtkIconSize" "icon_size")
 
3521
  )
 
3522
)
 
3523
 
 
3524
(define-function gimp_zoom_model_zoom_step
 
3525
  (c-name "gimp_zoom_model_zoom_step")
 
3526
  (return-type "gdouble")
 
3527
  (parameters
 
3528
    '("GimpZoomType" "zoom_type")
 
3529
    '("gdouble" "scale")
 
3530
  )
 
3531
)
 
3532
 
 
3533
 
 
3534
 
 
3535
;; From ../../libgimp/gimpaspectpreview.h
 
3536
 
 
3537
(define-function gimp_aspect_preview_get_type
 
3538
  (c-name "gimp_aspect_preview_get_type")
 
3539
  (return-type "GType")
 
3540
)
 
3541
 
 
3542
(define-function gimp_aspect_preview_new
 
3543
  (c-name "gimp_aspect_preview_new")
 
3544
  (is-constructor-of "GimpAspectPreview")
 
3545
  (return-type "GtkWidget*")
 
3546
  (properties
 
3547
    '("drawable")
 
3548
  )
 
3549
)
 
3550
 
 
3551
 
 
3552
 
 
3553
;; From ../../libgimp/gimpdrawablepreview.h
 
3554
 
 
3555
(define-function gimp_drawable_preview_get_type
 
3556
  (c-name "gimp_drawable_preview_get_type")
 
3557
  (return-type "GType")
 
3558
)
 
3559
 
 
3560
(define-function gimp_drawable_preview_new
 
3561
  (c-name "gimp_drawable_preview_new")
 
3562
  (is-constructor-of "GimpDrawablePreview")
 
3563
  (return-type "GtkWidget*")
 
3564
  (properties
 
3565
    '("drawable")
 
3566
  )
 
3567
)
 
3568
 
 
3569
(define-method get_drawable
 
3570
  (of-object "GimpDrawablePreview")
 
3571
  (c-name "gimp_drawable_preview_get_drawable")
 
3572
  (return-type "GimpDrawable*")
 
3573
)
 
3574
 
 
3575
(define-method draw_region
 
3576
  (of-object "GimpDrawablePreview")
 
3577
  (c-name "gimp_drawable_preview_draw_region")
 
3578
  (return-type "none")
 
3579
  (parameters
 
3580
    '("const-GimpPixelRgn*" "region")
 
3581
  )
 
3582
)
 
3583
 
 
3584
 
 
3585
 
 
3586
;; From ../../libgimp/gimpprocbrowserdialog.h
 
3587
 
 
3588
(define-function gimp_proc_browser_dialog_get_type
 
3589
  (c-name "gimp_proc_browser_dialog_get_type")
 
3590
  (return-type "GType")
 
3591
)
 
3592
 
 
3593
(define-function gimp_proc_browser_dialog_new
 
3594
  (c-name "gimp_proc_browser_dialog_new")
 
3595
  (is-constructor-of "GimpProcBrowserDialog")
 
3596
  (return-type "GtkWidget*")
 
3597
  (parameters
 
3598
    '("const-gchar*" "title")
 
3599
    '("const-gchar*" "role")
 
3600
    '("GimpHelpFunc" "help_func")
 
3601
    '("const-gchar*" "help_id")
 
3602
  )
 
3603
  (varargs #t)
 
3604
)
 
3605
 
 
3606
(define-method get_selected
 
3607
  (of-object "GimpProcBrowserDialog")
 
3608
  (c-name "gimp_proc_browser_dialog_get_selected")
 
3609
  (return-type "gchar*")
 
3610
)
 
3611
 
 
3612
 
 
3613
 
 
3614
;; From ../../libgimp/gimpprocview.h
 
3615
 
 
3616
(define-function gimp_proc_view_new
 
3617
  (c-name "gimp_proc_view_new")
 
3618
  (is-constructor-of "GimpProcView")
 
3619
  (return-type "GtkWidget*")
 
3620
  (parameters
 
3621
    '("const-gchar*" "name")
 
3622
    '("const-gchar*" "menu_path")
 
3623
    '("const-gchar*" "blurb")
 
3624
    '("const-gchar*" "help")
 
3625
    '("const-gchar*" "author")
 
3626
    '("const-gchar*" "copyright")
 
3627
    '("const-gchar*" "date")
 
3628
    '("GimpPDBProcType" "type")
 
3629
    '("gint" "n_params")
 
3630
    '("gint" "n_return_vals")
 
3631
    '("GimpParamDef*" "params")
 
3632
    '("GimpParamDef*" "return_vals")
 
3633
  )
 
3634
)
 
3635
 
 
3636
 
 
3637
 
 
3638
;; From ../../libgimp/gimpprogressbar.h
 
3639
 
 
3640
(define-function gimp_progress_bar_get_type
 
3641
  (c-name "gimp_progress_bar_get_type")
 
3642
  (return-type "GType")
 
3643
)
 
3644
 
 
3645
(define-function gimp_progress_bar_new
 
3646
  (c-name "gimp_progress_bar_new")
 
3647
  (is-constructor-of "GimpProgressBar")
 
3648
  (return-type "GtkWidget*")
 
3649
)
 
3650
 
 
3651
 
 
3652
 
 
3653
;; From ../../libgimp/gimpdrawablecombobox.h
 
3654
 
 
3655
(define-function gimp_drawable_combo_box_get_type
 
3656
  (c-name "gimp_drawable_combo_box_get_type")
 
3657
  (return-type "GType")
 
3658
)
 
3659
 
 
3660
(define-function gimp_channel_combo_box_get_type
 
3661
  (c-name "gimp_channel_combo_box_get_type")
 
3662
  (return-type "GType")
 
3663
)
 
3664
 
 
3665
(define-function gimp_layer_combo_box_get_type
 
3666
  (c-name "gimp_layer_combo_box_get_type")
 
3667
  (return-type "GType")
 
3668
)
 
3669
 
 
3670
(define-function gimp_vectors_combo_box_get_type
 
3671
  (c-name "gimp_vectors_combo_box_get_type")
 
3672
  (return-type "GType")
 
3673
)
 
3674
 
 
3675
(define-function gimp_drawable_combo_box_new
 
3676
  (c-name "gimp_drawable_combo_box_new")
 
3677
  (is-constructor-of "GimpDrawableComboBox")
 
3678
  (return-type "GtkWidget*")
 
3679
  (parameters
 
3680
    '("GimpDrawableConstraintFunc" "constraint")
 
3681
    '("gpointer" "data")
 
3682
  )
 
3683
)
 
3684
 
 
3685
(define-function gimp_channel_combo_box_new
 
3686
  (c-name "gimp_channel_combo_box_new")
 
3687
  (is-constructor-of "GimpChannelComboBox")
 
3688
  (return-type "GtkWidget*")
 
3689
  (parameters
 
3690
    '("GimpDrawableConstraintFunc" "constraint")
 
3691
    '("gpointer" "data")
 
3692
  )
 
3693
)
 
3694
 
 
3695
(define-function gimp_layer_combo_box_new
 
3696
  (c-name "gimp_layer_combo_box_new")
 
3697
  (is-constructor-of "GimpLayerComboBox")
 
3698
  (return-type "GtkWidget*")
 
3699
  (parameters
 
3700
    '("GimpDrawableConstraintFunc" "constraint")
 
3701
    '("gpointer" "data")
 
3702
  )
 
3703
)
 
3704
 
 
3705
(define-function gimp_vectors_combo_box_new
 
3706
  (c-name "gimp_vectors_combo_box_new")
 
3707
  (is-constructor-of "GimpVectorsComboBox")
 
3708
  (return-type "GtkWidget*")
 
3709
  (parameters
 
3710
    '("GimpVectorsConstraintFunc" "constraint")
 
3711
    '("gpointer" "data")
 
3712
  )
 
3713
)
 
3714
 
 
3715
 
 
3716
 
 
3717
;; From ../../libgimp/gimpimagecombobox.h
 
3718
 
 
3719
(define-function gimp_image_combo_box_get_type
 
3720
  (c-name "gimp_image_combo_box_get_type")
 
3721
  (return-type "GType")
 
3722
)
 
3723
 
 
3724
(define-function gimp_image_combo_box_new
 
3725
  (c-name "gimp_image_combo_box_new")
 
3726
  (is-constructor-of "GimpImageComboBox")
 
3727
  (return-type "GtkWidget*")
 
3728
  (parameters
 
3729
    '("GimpImageConstraintFunc" "constraint")
 
3730
    '("gpointer" "data")
 
3731
  )
 
3732
)
 
3733
 
 
3734
 
 
3735
 
 
3736
;; From ../../libgimp/gimpbrushselectbutton.h
 
3737
 
 
3738
(define-function gimp_brush_select_button_get_type
 
3739
  (c-name "gimp_brush_select_button_get_type")
 
3740
  (return-type "GType")
 
3741
)
 
3742
 
 
3743
(define-function gimp_brush_select_button_new
 
3744
  (c-name "gimp_brush_select_button_new")
 
3745
  (is-constructor-of "GimpBrushSelectButton")
 
3746
  (return-type "GtkWidget*")
 
3747
  (properties
 
3748
    '("title" (argname "title") (optional))
 
3749
    '("brush-name" (argname "brush_name") (optional))
 
3750
    '("brush-opacity" (argname "opacity") (optional))
 
3751
    '("brush-spacing" (argname "spacing") (optional))
 
3752
    '("brush-paint-mode" (argname "paint_mode") (optional))
 
3753
  )
 
3754
)
 
3755
 
 
3756
(define-method get_brush
 
3757
  (of-object "GimpBrushSelectButton")
 
3758
  (c-name "gimp_brush_select_button_get_brush")
 
3759
  (return-type "const-gchar*")
 
3760
  (parameters
 
3761
    '("gdouble*" "opacity")
 
3762
    '("gint*" "spacing")
 
3763
    '("GimpLayerModeEffects*" "paint_mode")
 
3764
  )
 
3765
)
 
3766
 
 
3767
(define-method set_brush
 
3768
  (of-object "GimpBrushSelectButton")
 
3769
  (c-name "gimp_brush_select_button_set_brush")
 
3770
  (return-type "none")
 
3771
  (parameters
 
3772
    '("const-gchar*" "brush_name")
 
3773
    '("gdouble" "opacity")
 
3774
    '("gint" "spacing")
 
3775
    '("GimpLayerModeEffects" "paint_mode")
 
3776
  )
 
3777
)
 
3778
 
 
3779
 
 
3780
 
 
3781
;; From ../../libgimp/gimpfontselectbutton.h
 
3782
 
 
3783
(define-function gimp_font_select_button_get_type
 
3784
  (c-name "gimp_font_select_button_get_type")
 
3785
  (return-type "GType")
 
3786
)
 
3787
 
 
3788
(define-function gimp_font_select_button_new
 
3789
  (c-name "gimp_font_select_button_new")
 
3790
  (is-constructor-of "GimpFontSelectButton")
 
3791
  (return-type "GtkWidget*")
 
3792
  (properties
 
3793
    '("title" (argname "title") (optional))
 
3794
    '("font-name" (argname "font_name") (optional))
 
3795
  )
 
3796
)
 
3797
 
 
3798
(define-method get_font
 
3799
  (of-object "GimpFontSelectButton")
 
3800
  (c-name "gimp_font_select_button_get_font")
 
3801
  (return-type "const-gchar*")
 
3802
)
 
3803
 
 
3804
(define-method set_font
 
3805
  (of-object "GimpFontSelectButton")
 
3806
  (c-name "gimp_font_select_button_set_font")
 
3807
  (return-type "none")
 
3808
  (parameters
 
3809
    '("const-gchar*" "font_name")
 
3810
  )
 
3811
)
 
3812
 
 
3813
 
 
3814
 
 
3815
;; From ../../libgimp/gimpgradientselectbutton.h
 
3816
 
 
3817
(define-function gimp_gradient_select_button_get_type
 
3818
  (c-name "gimp_gradient_select_button_get_type")
 
3819
  (return-type "GType")
 
3820
)
 
3821
 
 
3822
(define-function gimp_gradient_select_button_new
 
3823
  (c-name "gimp_gradient_select_button_new")
 
3824
  (is-constructor-of "GimpGradientSelectButton")
 
3825
  (return-type "GtkWidget*")
 
3826
  (properties
 
3827
    '("title" (argname "title") (optional))
 
3828
    '("gradient-name" (argname "gradient_name") (optional))
 
3829
  )
 
3830
)
 
3831
 
 
3832
(define-method get_gradient
 
3833
  (of-object "GimpGradientSelectButton")
 
3834
  (c-name "gimp_gradient_select_button_get_gradient")
 
3835
  (return-type "const-gchar*")
 
3836
)
 
3837
 
 
3838
(define-method set_gradient
 
3839
  (of-object "GimpGradientSelectButton")
 
3840
  (c-name "gimp_gradient_select_button_set_gradient")
 
3841
  (return-type "none")
 
3842
  (parameters
 
3843
    '("const-gchar*" "gradient_name")
 
3844
  )
 
3845
)
 
3846
 
 
3847
 
 
3848
 
 
3849
;; From ../../libgimp/gimppaletteselectbutton.h
 
3850
 
 
3851
(define-function gimp_palette_select_button_get_type
 
3852
  (c-name "gimp_palette_select_button_get_type")
 
3853
  (return-type "GType")
 
3854
)
 
3855
 
 
3856
(define-function gimp_palette_select_button_new
 
3857
  (c-name "gimp_palette_select_button_new")
 
3858
  (is-constructor-of "GimpPaletteSelectButton")
 
3859
  (return-type "GtkWidget*")
 
3860
  (properties
 
3861
    '("title" (argname "title") (optional))
 
3862
    '("palette-name" (argname "palette_name") (optional))
 
3863
  )
 
3864
)
 
3865
 
 
3866
(define-method get_palette
 
3867
  (of-object "GimpPaletteSelectButton")
 
3868
  (c-name "gimp_palette_select_button_get_palette")
 
3869
  (return-type "const-gchar*")
 
3870
)
 
3871
 
 
3872
(define-method set_palette
 
3873
  (of-object "GimpPaletteSelectButton")
 
3874
  (c-name "gimp_palette_select_button_set_palette")
 
3875
  (return-type "none")
 
3876
  (parameters
 
3877
    '("const-gchar*" "palette_name")
 
3878
  )
 
3879
)
 
3880
 
 
3881
 
 
3882
 
 
3883
;; From ../../libgimp/gimppatternselectbutton.h
 
3884
 
 
3885
(define-function gimp_pattern_select_button_get_type
 
3886
  (c-name "gimp_pattern_select_button_get_type")
 
3887
  (return-type "GType")
 
3888
)
 
3889
 
 
3890
(define-function gimp_pattern_select_button_new
 
3891
  (c-name "gimp_pattern_select_button_new")
 
3892
  (is-constructor-of "GimpPatternSelectButton")
 
3893
  (return-type "GtkWidget*")
 
3894
  (properties
 
3895
    '("title" (argname "title") (optional))
 
3896
    '("pattern-name" (argname "pattern_name") (optional))
 
3897
  )
 
3898
)
 
3899
 
 
3900
(define-method get_pattern
 
3901
  (of-object "GimpPatternSelectButton")
 
3902
  (c-name "gimp_pattern_select_button_get_pattern")
 
3903
  (return-type "const-gchar*")
 
3904
)
 
3905
 
 
3906
(define-method set_pattern
 
3907
  (of-object "GimpPatternSelectButton")
 
3908
  (c-name "gimp_pattern_select_button_set_pattern")
 
3909
  (return-type "none")
 
3910
  (parameters
 
3911
    '("const-gchar*" "pattern_name")
 
3912
  )
 
3913
)
 
3914
 
 
3915
 
 
3916
 
 
3917
;; From ../../libgimp/gimpselectbutton.h
 
3918
 
 
3919
(define-function gimp_select_button_get_type
 
3920
  (c-name "gimp_select_button_get_type")
 
3921
  (return-type "GType")
 
3922
)
 
3923
 
 
3924
(define-method close_popup
 
3925
  (of-object "GimpSelectButton")
 
3926
  (c-name "gimp_select_button_close_popup")
 
3927
  (return-type "none")
 
3928
)
 
3929
 
 
3930
 
 
3931
 
 
3932
;; From ../../libgimp/gimpui.h
 
3933
 
 
3934
(define-method set_transient
 
3935
  (of-object "GimpDialog")
 
3936
  (c-name "gimp_window_set_transient")
 
3937
  (return-type "none")
 
3938
)
 
3939
 
 
3940
 
 
3941
 
 
3942
;; From ../../libgimp/gimpzoompreview.h
 
3943
 
 
3944
(define-function gimp_zoom_preview_get_type
 
3945
  (c-name "gimp_zoom_preview_get_type")
 
3946
  (return-type "GType")
 
3947
)
 
3948
 
 
3949
(define-function gimp_zoom_preview_new
 
3950
  (c-name "gimp_zoom_preview_new")
 
3951
  (is-constructor-of "GimpZoomPreview")
 
3952
  (return-type "GtkWidget*")
 
3953
  (properties
 
3954
    '("drawable")
 
3955
  )
 
3956
)
 
3957
 
 
3958
(define-method get_source
 
3959
  (of-object "GimpZoomPreview")
 
3960
  (c-name "gimp_zoom_preview_get_source")
 
3961
  (return-type "guchar*")
 
3962
  (parameters
 
3963
    '("gint*" "width")
 
3964
    '("gint*" "height")
 
3965
    '("gint*" "bpp")
 
3966
  )
 
3967
)
 
3968
 
 
3969
(define-method get_drawable
 
3970
  (of-object "GimpZoomPreview")
 
3971
  (c-name "gimp_zoom_preview_get_drawable")
 
3972
  (return-type "GimpDrawable*")
 
3973
)
 
3974
 
 
3975
(define-method get_factor
 
3976
  (of-object "GimpZoomPreview")
 
3977
  (c-name "gimp_zoom_preview_get_factor")
 
3978
  (return-type "gdouble")
 
3979
)
 
3980
 
 
3981