File: gimppropwidgets.xml

package info (click to toggle)
gimp 2.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 130,648 kB
  • ctags: 50,475
  • sloc: ansic: 607,353; xml: 48,593; lisp: 10,881; sh: 9,811; makefile: 9,583; python: 3,333; perl: 2,683; yacc: 523; lex: 340
file content (1141 lines) | stat: -rw-r--r-- 80,402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="libgimpwidgets-GimpPropWidgets">
<refmeta>
<refentrytitle role="top_of_page" id="libgimpwidgets-GimpPropWidgets.top_of_page">GimpPropWidgets</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GimpPropWidgets</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="libgimpwidgets-GimpPropWidgets.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-boolean-combo-box-new">gimp_prop_boolean_combo_box_new</link>     (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *true_text,
                                                         const <link linkend="gchar">gchar</link> *false_text);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-boolean-radio-frame-new">gimp_prop_boolean_radio_frame_new</link>   (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *title,
                                                         const <link linkend="gchar">gchar</link> *true_text,
                                                         const <link linkend="gchar">gchar</link> *false_text);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-check-button-new">gimp_prop_check_button_new</link>          (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *label);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-color-area-new">gimp_prop_color_area_new</link>            (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> width,
                                                         <link linkend="gint">gint</link> height,
                                                         <link linkend="GimpColorAreaType">GimpColorAreaType</link> type);
<link linkend="gboolean">gboolean</link>            <link linkend="gimp-prop-coordinates-connect">gimp_prop_coordinates_connect</link>       (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *x_property_name,
                                                         const <link linkend="gchar">gchar</link> *y_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_property_name,
                                                         <link linkend="GtkWidget">GtkWidget</link> *sizeentry,
                                                         <link linkend="GtkWidget">GtkWidget</link> *chainbutton,
                                                         <link linkend="gdouble">gdouble</link> xresolution,
                                                         <link linkend="gdouble">gdouble</link> yresolution);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-coordinates-new">gimp_prop_coordinates_new</link>           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *x_property_name,
                                                         const <link linkend="gchar">gchar</link> *y_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_format,
                                                         <link linkend="GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</link> update_policy,
                                                         <link linkend="gdouble">gdouble</link> xresolution,
                                                         <link linkend="gdouble">gdouble</link> yresolution,
                                                         <link linkend="gboolean">gboolean</link> has_chainbutton);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-entry-new">gimp_prop_entry_new</link>                 (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> max_len);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-enum-check-button-new">gimp_prop_enum_check_button_new</link>     (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *label,
                                                         <link linkend="gint">gint</link> false_value,
                                                         <link linkend="gint">gint</link> true_value);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-enum-combo-box-new">gimp_prop_enum_combo_box_new</link>        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-enum-label-new">gimp_prop_enum_label_new</link>            (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-enum-radio-box-new">gimp_prop_enum_radio_box_new</link>        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-enum-radio-frame-new">gimp_prop_enum_radio_frame_new</link>      (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *title,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-enum-stock-box-new">gimp_prop_enum_stock_box_new</link>        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *stock_prefix,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-expander-new">gimp_prop_expander_new</link>              (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *label);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-file-chooser-button-new">gimp_prop_file_chooser_button_new</link>   (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *title,
                                                         <link linkend="GtkFileChooserAction">GtkFileChooserAction</link> action);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-file-chooser-button-new-with-dialog">gimp_prop_file_chooser_button_new_with_dialog</link>
                                                        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkWidget">GtkWidget</link> *dialog);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-hscale-new">gimp_prop_hscale_new</link>                (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gdouble">gdouble</link> step_increment,
                                                         <link linkend="gdouble">gdouble</link> page_increment,
                                                         <link linkend="gint">gint</link> digits);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-int-combo-box-new">gimp_prop_int_combo_box_new</link>         (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GimpIntStore">GimpIntStore</link> *store);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-label-new">gimp_prop_label_new</link>                 (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-memsize-entry-new">gimp_prop_memsize_entry_new</link>         (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name);
<link linkend="GtkObject">GtkObject</link>*          <link linkend="gimp-prop-opacity-entry-new">gimp_prop_opacity_entry_new</link>         (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkTable">GtkTable</link> *table,
                                                         <link linkend="gint">gint</link> column,
                                                         <link linkend="gint">gint</link> row,
                                                         const <link linkend="gchar">gchar</link> *label);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-path-editor-new">gimp_prop_path_editor_new</link>           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *path_property_name,
                                                         const <link linkend="gchar">gchar</link> *writable_property_name,
                                                         const <link linkend="gchar">gchar</link> *filesel_title);
<link linkend="GtkObject">GtkObject</link>*          <link linkend="gimp-prop-scale-entry-new">gimp_prop_scale_entry_new</link>           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkTable">GtkTable</link> *table,
                                                         <link linkend="gint">gint</link> column,
                                                         <link linkend="gint">gint</link> row,
                                                         const <link linkend="gchar">gchar</link> *label,
                                                         <link linkend="gdouble">gdouble</link> step_increment,
                                                         <link linkend="gdouble">gdouble</link> page_increment,
                                                         <link linkend="gint">gint</link> digits,
                                                         <link linkend="gboolean">gboolean</link> limit_scale,
                                                         <link linkend="gdouble">gdouble</link> lower_limit,
                                                         <link linkend="gdouble">gdouble</link> upper_limit);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-size-entry-new">gimp_prop_size_entry_new</link>            (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gboolean">gboolean</link> property_is_pixel,
                                                         const <link linkend="gchar">gchar</link> *unit_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_format,
                                                         <link linkend="GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</link> update_policy,
                                                         <link linkend="gdouble">gdouble</link> resolution);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-spin-button-new">gimp_prop_spin_button_new</link>           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gdouble">gdouble</link> step_increment,
                                                         <link linkend="gdouble">gdouble</link> page_increment,
                                                         <link linkend="gint">gint</link> digits);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-stock-image-new">gimp_prop_stock_image_new</link>           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkIconSize">GtkIconSize</link> icon_size);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-string-combo-box-new">gimp_prop_string_combo_box_new</link>      (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkTreeModel">GtkTreeModel</link> *model,
                                                         <link linkend="gint">gint</link> id_column,
                                                         <link linkend="gint">gint</link> label_column);
<link linkend="GtkTextBuffer">GtkTextBuffer</link>*      <link linkend="gimp-prop-text-buffer-new">gimp_prop_text_buffer_new</link>           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> max_len);
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gimp-prop-unit-menu-new">gimp_prop_unit_menu_new</link>             (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_format);
</synopsis>
</refsynopsisdiv>









<refsect1 id="libgimpwidgets-GimpPropWidgets.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="libgimpwidgets-GimpPropWidgets.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="gimp-prop-boolean-combo-box-new" role="function">
<title>gimp_prop_boolean_combo_box_new ()</title>
<indexterm zone="gimp-prop-boolean-combo-box-new"><primary>gimp_prop_boolean_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_boolean_combo_box_new     (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *true_text,
                                                         const <link linkend="gchar">gchar</link> *false_text);</programlisting>
<para>
Creates a <link linkend="GtkComboBox"><type>GtkComboBox</type></link> widget to display and set the specified
boolean property.  The combo box will have two entries, one
displaying the <parameter>true_text</parameter> label, the other displaying the
<parameter>false_text</parameter> label.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of boolean property controlled by combo box.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>true_text</parameter>&nbsp;:</term>
<listitem><simpara>     Label used for entry corresponding to <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> value.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>false_text</parameter>&nbsp;:</term>
<listitem><simpara>    Label used for entry corresponding to <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> value.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GtkComboBox"><type>GtkComboBox</type></link> widget, optionally
              wrapped into a <link linkend="GtkEventBox"><type>GtkEventBox</type></link>..

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-boolean-radio-frame-new" role="function">
<title>gimp_prop_boolean_radio_frame_new ()</title>
<indexterm zone="gimp-prop-boolean-radio-frame-new"><primary>gimp_prop_boolean_radio_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_boolean_radio_frame_new   (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *title,
                                                         const <link linkend="gchar">gchar</link> *true_text,
                                                         const <link linkend="gchar">gchar</link> *false_text);</programlisting>
<para>
Creates a pair of radio buttons which function to set and display
the specified boolean property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of boolean property controlled by the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>title</parameter>&nbsp;:</term>
<listitem><simpara>         Label for the frame.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>true_text</parameter>&nbsp;:</term>
<listitem><simpara>     Label for the button corresponding to <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>false_text</parameter>&nbsp;:</term>
<listitem><simpara>    Label for the button corresponding to <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GimpFrame"><type>GimpFrame</type></link> containing the radio buttons.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-check-button-new" role="function">
<title>gimp_prop_check_button_new ()</title>
<indexterm zone="gimp-prop-check-button-new"><primary>gimp_prop_check_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_check_button_new          (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Creates a <link linkend="GtkCheckButton"><type>GtkCheckButton</type></link> that displays and sets the specified
boolean property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of boolean property controlled by checkbutton.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara>         Label to give checkbutton (including mnemonic).
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GtkCheckButton"><type>GtkCheckButton</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-color-area-new" role="function">
<title>gimp_prop_color_area_new ()</title>
<indexterm zone="gimp-prop-color-area-new"><primary>gimp_prop_color_area_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_color_area_new            (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> width,
                                                         <link linkend="gint">gint</link> height,
                                                         <link linkend="GimpColorAreaType">GimpColorAreaType</link> type);</programlisting>
<para>
Creates a <link linkend="GimpColorArea"><type>GimpColorArea</type></link> to set and display the value of an RGB
property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of RGB property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>width</parameter>&nbsp;:</term>
<listitem><simpara>         Width of color area.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>height</parameter>&nbsp;:</term>
<listitem><simpara>        Height of color area.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
<listitem><simpara>          How transparency is represented.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GimpColorArea"><type>GimpColorArea</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-coordinates-connect" role="function">
<title>gimp_prop_coordinates_connect ()</title>
<indexterm zone="gimp-prop-coordinates-connect"><primary>gimp_prop_coordinates_connect</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gimp_prop_coordinates_connect       (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *x_property_name,
                                                         const <link linkend="gchar">gchar</link> *y_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_property_name,
                                                         <link linkend="GtkWidget">GtkWidget</link> *sizeentry,
                                                         <link linkend="GtkWidget">GtkWidget</link> *chainbutton,
                                                         <link linkend="gdouble">gdouble</link> xresolution,
                                                         <link linkend="gdouble">gdouble</link> yresolution);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x_property_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y_property_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unit_property_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>sizeentry</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>chainbutton</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>xresolution</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>yresolution</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-coordinates-new" role="function">
<title>gimp_prop_coordinates_new ()</title>
<indexterm zone="gimp-prop-coordinates-new"><primary>gimp_prop_coordinates_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_coordinates_new           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *x_property_name,
                                                         const <link linkend="gchar">gchar</link> *y_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_format,
                                                         <link linkend="GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</link> update_policy,
                                                         <link linkend="gdouble">gdouble</link> xresolution,
                                                         <link linkend="gdouble">gdouble</link> yresolution,
                                                         <link linkend="gboolean">gboolean</link> has_chainbutton);</programlisting>
<para>
Creates a <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> to set and display two double or int
properties, which will usually represent X and Y coordinates, and
their associated unit property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>             Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x_property_name</parameter>&nbsp;:</term>
<listitem><simpara>    Name of int or double property for X coordinate.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y_property_name</parameter>&nbsp;:</term>
<listitem><simpara>    Name of int or double property for Y coordinate.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unit_property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of unit property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unit_format</parameter>&nbsp;:</term>
<listitem><simpara>        A printf-like unit-format string as is used with
                     <link linkend="gimp-unit-menu-new"><function>gimp_unit_menu_new()</function></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>update_policy</parameter>&nbsp;:</term>
<listitem><simpara>      How the automatic pixel &lt;-> real-world-unit
                     calculations should be done.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>xresolution</parameter>&nbsp;:</term>
<listitem><simpara>        The resolution (in dpi) for the X coordinate.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>yresolution</parameter>&nbsp;:</term>
<listitem><simpara>        The resolution (in dpi) for the Y coordinate.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>has_chainbutton</parameter>&nbsp;:</term>
<listitem><simpara>    Whether to add a chainbutton to the size entry.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-entry-new" role="function">
<title>gimp_prop_entry_new ()</title>
<indexterm zone="gimp-prop-entry-new"><primary>gimp_prop_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_entry_new                 (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> max_len);</programlisting>
<para>
Creates a <link linkend="GtkEntry"><type>GtkEntry</type></link> to set and display the value of the specified
string property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of string property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>max_len</parameter>&nbsp;:</term>
<listitem><simpara>       Maximum allowed length of string.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkEntry"><type>GtkEntry</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-enum-check-button-new" role="function">
<title>gimp_prop_enum_check_button_new ()</title>
<indexterm zone="gimp-prop-enum-check-button-new"><primary>gimp_prop_enum_check_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_enum_check_button_new     (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *label,
                                                         <link linkend="gint">gint</link> false_value,
                                                         <link linkend="gint">gint</link> true_value);</programlisting>
<para>
Creates a <link linkend="GtkCheckButton"><type>GtkCheckButton</type></link> that displays and sets the specified
property of type Enum.  Note that this widget only allows two values
for the enum, one corresponding to the "checked" state and the
other to the "unchecked" state.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of enum property controlled by checkbutton.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara>         Label to give checkbutton (including mnemonic).
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>false_value</parameter>&nbsp;:</term>
<listitem><simpara>   Enum value corresponding to unchecked state.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>true_value</parameter>&nbsp;:</term>
<listitem><simpara>    Enum value corresonding to checked state.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GtkCheckButton"><type>GtkCheckButton</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-enum-combo-box-new" role="function">
<title>gimp_prop_enum_combo_box_new ()</title>
<indexterm zone="gimp-prop-enum-combo-box-new"><primary>gimp_prop_enum_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_enum_combo_box_new        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);</programlisting>
<para>
Creates a <link linkend="GimpIntComboBox"><type>GimpIntComboBox</type></link> widget to display and set the specified
enum property.  The <parameter>mimimum_value</parameter> and <parameter>maximum_value</parameter> give the
possibility of restricting the allowed range to a subset of the
enum.  If the two values are equal (e.g., 0, 0), then the full
range of the Enum is used.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of enum property controlled by combo box.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>minimum</parameter>&nbsp;:</term>
<listitem><simpara>       Smallest allowed value of enum.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maximum</parameter>&nbsp;:</term>
<listitem><simpara>       Largest allowed value of enum.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GimpEnumComboBox"><type>GimpEnumComboBox</type></link> widget, optionally
              wrapped into a <link linkend="GtkEventBox"><type>GtkEventBox</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-enum-label-new" role="function">
<title>gimp_prop_enum_label_new ()</title>
<indexterm zone="gimp-prop-enum-label-new"><primary>gimp_prop_enum_label_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_enum_label_new            (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>         Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara>  Name of enum property to be displayed.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GimpEnumLabel"><type>GimpEnumLabel</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-enum-radio-box-new" role="function">
<title>gimp_prop_enum_radio_box_new ()</title>
<indexterm zone="gimp-prop-enum-radio-box-new"><primary>gimp_prop_enum_radio_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_enum_radio_box_new        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);</programlisting>
<para>
Creates a group of radio buttons which function to set and display
the specified enum property.  The <parameter>minimum</parameter> and <parameter>maximum</parameter> arguments
allow only a subset of the enum to be used.  If the two arguments
are equal (e.g., 0, 0), then the full range of the enum will be used.
If you want to assign a label to the group of radio buttons, use
<link linkend="gimp-prop-enum-radio-frame-new"><function>gimp_prop_enum_radio_frame_new()</function></link> instead of this function.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of enum property controlled by the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>minimum</parameter>&nbsp;:</term>
<listitem><simpara>       Smallest value of enum to be included.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maximum</parameter>&nbsp;:</term>
<listitem><simpara>       Largest value of enum to be included.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkVBox"><type>GtkVBox</type></link> containing the radio buttons.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-enum-radio-frame-new" role="function">
<title>gimp_prop_enum_radio_frame_new ()</title>
<indexterm zone="gimp-prop-enum-radio-frame-new"><primary>gimp_prop_enum_radio_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_enum_radio_frame_new      (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *title,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);</programlisting>
<para>
Creates a group of radio buttons which function to set and display
the specified enum property.  The <parameter>minimum</parameter> and <parameter>maximum</parameter> arguments
allow only a subset of the enum to be used.  If the two arguments
are equal (e.g., 0, 0), then the full range of the enum will be used.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of enum property controlled by the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>title</parameter>&nbsp;:</term>
<listitem><simpara>         Label for the frame holding the buttons
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>minimum</parameter>&nbsp;:</term>
<listitem><simpara>       Smallest value of enum to be included.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maximum</parameter>&nbsp;:</term>
<listitem><simpara>       Largest value of enum to be included.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GimpFrame"><type>GimpFrame</type></link> containing the radio buttons.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-enum-stock-box-new" role="function">
<title>gimp_prop_enum_stock_box_new ()</title>
<indexterm zone="gimp-prop-enum-stock-box-new"><primary>gimp_prop_enum_stock_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_enum_stock_box_new        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *stock_prefix,
                                                         <link linkend="gint">gint</link> minimum,
                                                         <link linkend="gint">gint</link> maximum);</programlisting>
<para>
Creates a horizontal box of radio buttons with stock icons, which
function to set and display the value of the specified Enum
property.  The stock_id for each icon is created by appending the
enum_value's nick to the given <parameter>stock_prefix</parameter>.  See
<link linkend="gimp-enum-stock-box-new"><function>gimp_enum_stock_box_new()</function></link> for more information.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of enum property controlled by the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>stock_prefix</parameter>&nbsp;:</term>
<listitem><simpara>  The prefix of the group of stock ids to use.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>minimum</parameter>&nbsp;:</term>
<listitem><simpara>       Smallest value of enum to be included.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maximum</parameter>&nbsp;:</term>
<listitem><simpara>       Largest value of enum to be included.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GimpEnumStockBox"><type>GimpEnumStockBox</type></link> containing the radio buttons.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-expander-new" role="function">
<title>gimp_prop_expander_new ()</title>
<indexterm zone="gimp-prop-expander-new"><primary>gimp_prop_expander_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_expander_new              (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Creates a <link linkend="GtkExpander"><type>GtkExpander</type></link> controlled by the specified boolean property.
A value of <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> for the property corresponds to the expanded state
for the widget.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of boolean property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara>         Label for expander.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkExpander"><type>GtkExpander</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-file-chooser-button-new" role="function">
<title>gimp_prop_file_chooser_button_new ()</title>
<indexterm zone="gimp-prop-file-chooser-button-new"><primary>gimp_prop_file_chooser_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_file_chooser_button_new   (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *title,
                                                         <link linkend="GtkFileChooserAction">GtkFileChooserAction</link> action);</programlisting>
<para>
Creates a <link linkend="GtkFileChooserButton"><type>GtkFileChooserButton</type></link> to edit the specified path property.
</para>
<para>
Note that <link linkend="GtkFileChooserButton"><type>GtkFileChooserButton</type></link> implements the <link linkend="GtkFileChooser"><type>GtkFileChooser</type></link>
interface; you can use the <link linkend="GtkFileChooser"><type>GtkFileChooser</type></link> API with it.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> name of path property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>title</parameter>&nbsp;:</term>
<listitem><simpara>         the title of the browse dialog.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>action</parameter>&nbsp;:</term>
<listitem><simpara>        the open mode for the widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkFileChooserButton"><type>GtkFileChooserButton</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-file-chooser-button-new-with-dialog" role="function">
<title>gimp_prop_file_chooser_button_new_with_dialog ()</title>
<indexterm zone="gimp-prop-file-chooser-button-new-with-dialog"><primary>gimp_prop_file_chooser_button_new_with_dialog</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_file_chooser_button_new_with_dialog
                                                        (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkWidget">GtkWidget</link> *dialog);</programlisting>
<para>
Creates a <link linkend="GtkFileChooserButton"><type>GtkFileChooserButton</type></link> to edit the specified path property.
</para>
<para>
The button uses <parameter>dialog</parameter> as it's file-picking window. Note that <parameter>dialog</parameter>
must be a <link linkend="GtkFileChooserDialog"><type>GtkFileChooserDialog</type></link> (or subclass) and must not have
<link linkend="GTK-DIALOG-DESTROY-WITH-PARENT:CAPS"><literal>GTK_DIALOG_DESTROY_WITH_PARENT</literal></link> set.
</para>
<para>
Note that <link linkend="GtkFileChooserButton"><type>GtkFileChooserButton</type></link> implements the <link linkend="GtkFileChooser"><type>GtkFileChooser</type></link>
interface; you can use the <link linkend="GtkFileChooser"><type>GtkFileChooser</type></link> API with it.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> name of path property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dialog</parameter>&nbsp;:</term>
<listitem><simpara>        the <link linkend="GtkFileChooserDialog"><type>GtkFileChooserDialog</type></link> widget to use.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkFileChooserButton"><type>GtkFileChooserButton</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-hscale-new" role="function">
<title>gimp_prop_hscale_new ()</title>
<indexterm zone="gimp-prop-hscale-new"><primary>gimp_prop_hscale_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_hscale_new                (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gdouble">gdouble</link> step_increment,
                                                         <link linkend="gdouble">gdouble</link> page_increment,
                                                         <link linkend="gint">gint</link> digits);</programlisting>
<para>
Creates a horizontal scale to control the value of the specified
integer or double property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>         Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara>  Name of integer or double property controlled by the scale.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>step_increment</parameter>&nbsp;:</term>
<listitem><simpara> Step size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>page_increment</parameter>&nbsp;:</term>
<listitem><simpara> Page size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>digits</parameter>&nbsp;:</term>
<listitem><simpara>         Number of digits after decimal point to display.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="GtkScale"><type>GtkScale</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-int-combo-box-new" role="function">
<title>gimp_prop_int_combo_box_new ()</title>
<indexterm zone="gimp-prop-int-combo-box-new"><primary>gimp_prop_int_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_int_combo_box_new         (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GimpIntStore">GimpIntStore</link> *store);</programlisting>
<para>
Creates a <link linkend="GimpIntComboBox"><type>GimpIntComboBox</type></link> widget to display and set the specified
property.  The contents of the widget are determined by <parameter>store</parameter>,
which should be created using <link linkend="gimp-int-store-new"><function>gimp_int_store_new()</function></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of int property controlled by combo box.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>store</parameter>&nbsp;:</term>
<listitem><simpara>         <link linkend="GimpIntStore"><type>GimpIntStore</type></link> holding list of labels, values, etc.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GimpIntComboBox"><type>GimpIntComboBox</type></link> widget, optionally
              wrapped into a <link linkend="GtkEventBox"><type>GtkEventBox</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-label-new" role="function">
<title>gimp_prop_label_new ()</title>
<indexterm zone="gimp-prop-label-new"><primary>gimp_prop_label_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_label_new                 (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name);</programlisting>
<para>
Creates a <link linkend="GtkLabel"><type>GtkLabel</type></link> to display the value of the specified property.
The property should be a string property or at least transformable
to a string.  If the user should be able to edit the string, use
<link linkend="gimp-prop-entry-new"><function>gimp_prop_entry_new()</function></link> instead.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of string property.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkLabel"><type>GtkLabel</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-memsize-entry-new" role="function">
<title>gimp_prop_memsize_entry_new ()</title>
<indexterm zone="gimp-prop-memsize-entry-new"><primary>gimp_prop_memsize_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_memsize_entry_new         (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name);</programlisting>
<para>
Creates a <link linkend="GimpMemsizeEntry"><type>GimpMemsizeEntry</type></link> (spin button and option menu) to set
and display the value of the specified memsize property.  See
<link linkend="gimp-memsize-entry-new"><function>gimp_memsize_entry_new()</function></link> for more information.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of memsize property.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GimpMemsizeEntry"><type>GimpMemsizeEntry</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-opacity-entry-new" role="function">
<title>gimp_prop_opacity_entry_new ()</title>
<indexterm zone="gimp-prop-opacity-entry-new"><primary>gimp_prop_opacity_entry_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>*          gimp_prop_opacity_entry_new         (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkTable">GtkTable</link> *table,
                                                         <link linkend="gint">gint</link> column,
                                                         <link linkend="gint">gint</link> row,
                                                         const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Creates a <link linkend="GimpScaleEntry"><type>GimpScaleEntry</type></link> (slider and spin button) to set and
display the value of the specified double property, which should
represent an "opacity" variable with range 0 to 100.  See
<link linkend="gimp-scale-entry-new"><function>gimp_scale_entry_new()</function></link> for more information.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of double property controlled by the spin button.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table</parameter>&nbsp;:</term>
<listitem><simpara>         The <link linkend="GtkTable"><type>GtkTable</type></link> the widgets will be attached to.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>column</parameter>&nbsp;:</term>
<listitem><simpara>        The column to start with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>row</parameter>&nbsp;:</term>
<listitem><simpara>           The row to attach the widgets.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara>         The text for the <link linkend="GtkLabel"><type>GtkLabel</type></link> which will appear left of the
                <link linkend="GtkHScale"><type>GtkHScale</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  The <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>'s <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-path-editor-new" role="function">
<title>gimp_prop_path_editor_new ()</title>
<indexterm zone="gimp-prop-path-editor-new"><primary>gimp_prop_path_editor_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_path_editor_new           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *path_property_name,
                                                         const <link linkend="gchar">gchar</link> *writable_property_name,
                                                         const <link linkend="gchar">gchar</link> *filesel_title);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path_property_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>writable_property_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filesel_title</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-scale-entry-new" role="function">
<title>gimp_prop_scale_entry_new ()</title>
<indexterm zone="gimp-prop-scale-entry-new"><primary>gimp_prop_scale_entry_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>*          gimp_prop_scale_entry_new           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkTable">GtkTable</link> *table,
                                                         <link linkend="gint">gint</link> column,
                                                         <link linkend="gint">gint</link> row,
                                                         const <link linkend="gchar">gchar</link> *label,
                                                         <link linkend="gdouble">gdouble</link> step_increment,
                                                         <link linkend="gdouble">gdouble</link> page_increment,
                                                         <link linkend="gint">gint</link> digits,
                                                         <link linkend="gboolean">gboolean</link> limit_scale,
                                                         <link linkend="gdouble">gdouble</link> lower_limit,
                                                         <link linkend="gdouble">gdouble</link> upper_limit);</programlisting>
<para>
Creates a <link linkend="GimpScaleEntry"><type>GimpScaleEntry</type></link> (slider and spin button) to set and
display the value of the specified double property.  See
<link linkend="gimp-scale-entry-new"><function>gimp_scale_entry_new()</function></link> for more information.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>         Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara>  Name of double property controlled by the spin button.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table</parameter>&nbsp;:</term>
<listitem><simpara>          The <link linkend="GtkTable"><type>GtkTable</type></link> the widgets will be attached to.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>column</parameter>&nbsp;:</term>
<listitem><simpara>         The column to start with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>row</parameter>&nbsp;:</term>
<listitem><simpara>            The row to attach the widgets.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara>          The text for the <link linkend="GtkLabel"><type>GtkLabel</type></link> which will appear left of
                 the <link linkend="GtkHScale"><type>GtkHScale</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>step_increment</parameter>&nbsp;:</term>
<listitem><simpara> Step size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>page_increment</parameter>&nbsp;:</term>
<listitem><simpara> Page size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>digits</parameter>&nbsp;:</term>
<listitem><simpara>         Number of digits after decimal point to display.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>limit_scale</parameter>&nbsp;:</term>
<listitem><simpara>    <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the range of possible values of the
                 GtkSpinButton should be the same as of the GtkHScale.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>lower_limit</parameter>&nbsp;:</term>
<listitem><simpara>    The spinbutton's lower boundary if <parameter>limit_scale</parameter> is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>upper_limit</parameter>&nbsp;:</term>
<listitem><simpara>    The spinbutton's upper boundary if <parameter>limit_scale</parameter> is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>'s <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-size-entry-new" role="function">
<title>gimp_prop_size_entry_new ()</title>
<indexterm zone="gimp-prop-size-entry-new"><primary>gimp_prop_size_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_size_entry_new            (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gboolean">gboolean</link> property_is_pixel,
                                                         const <link linkend="gchar">gchar</link> *unit_property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_format,
                                                         <link linkend="GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</link> update_policy,
                                                         <link linkend="gdouble">gdouble</link> resolution);</programlisting>
<para>
Creates a <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> to set and display the specified double or
int property, and its associated unit property.  Note that this
function is only suitable for creating a size entry holding a
single value.  Use <link linkend="gimp-prop-coordinates-new"><function>gimp_prop_coordinates_new()</function></link> to create a size
entry holding two values.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>             Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara>      Name of int or double property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_is_pixel</parameter>&nbsp;:</term>
<listitem><simpara>  When <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, the property value is in pixels,
                     and in the selected unit otherwise.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unit_property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of unit property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unit_format</parameter>&nbsp;:</term>
<listitem><simpara>        A printf-like unit-format string as is used with
                     <link linkend="gimp-unit-menu-new"><function>gimp_unit_menu_new()</function></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>update_policy</parameter>&nbsp;:</term>
<listitem><simpara>      How the automatic pixel &lt;-> real-world-unit
                     calculations should be done.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>resolution</parameter>&nbsp;:</term>
<listitem><simpara>         The resolution (in dpi) for the field.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-spin-button-new" role="function">
<title>gimp_prop_spin_button_new ()</title>
<indexterm zone="gimp-prop-spin-button-new"><primary>gimp_prop_spin_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_spin_button_new           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gdouble">gdouble</link> step_increment,
                                                         <link linkend="gdouble">gdouble</link> page_increment,
                                                         <link linkend="gint">gint</link> digits);</programlisting>
<para>
Creates a spin button to set and display the value of the
specified double property.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>            Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara>     Name of double property controlled by the spin button.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>step_increment</parameter>&nbsp;:</term>
<listitem><simpara>    Step size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>page_increment</parameter>&nbsp;:</term>
<listitem><simpara>    Page size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>digits</parameter>&nbsp;:</term>
<listitem><simpara>            Number of digits after decimal point to display.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="GimpSpinButton"><type>GimpSpinButton</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-stock-image-new" role="function">
<title>gimp_prop_stock_image_new ()</title>
<indexterm zone="gimp-prop-stock-image-new"><primary>gimp_prop_stock_image_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_stock_image_new           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkIconSize">GtkIconSize</link> icon_size);</programlisting>
<para>
Creates a widget to display a stock image representing the value of the
specified string property, which should encode a Stock ID.
See <link linkend="gtk-image-new-from-stock"><function>gtk_image_new_from_stock()</function></link> for more information.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of string property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>icon_size</parameter>&nbsp;:</term>
<listitem><simpara>     Size of desired stock image.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkImage"><type>GtkImage</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-string-combo-box-new" role="function">
<title>gimp_prop_string_combo_box_new ()</title>
<indexterm zone="gimp-prop-string-combo-box-new"><primary>gimp_prop_string_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_string_combo_box_new      (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="GtkTreeModel">GtkTreeModel</link> *model,
                                                         <link linkend="gint">gint</link> id_column,
                                                         <link linkend="gint">gint</link> label_column);</programlisting>
<para>
Creates a <link linkend="GimpStringComboBox"><type>GimpStringComboBox</type></link> widget to display and set the
specified property.  The contents of the widget are determined by
<parameter>store</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of int property controlled by combo box.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>model</parameter>&nbsp;:</term>
<listitem><simpara>         <link linkend="GtkTreeStore"><type>GtkTreeStore</type></link> holding list of values
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>id_column</parameter>&nbsp;:</term>
<listitem><simpara>     column in <parameter>store</parameter> that holds string IDs
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label_column</parameter>&nbsp;:</term>
<listitem><simpara>  column in <parameter>store</parameter> that holds labels to use in the combo-box
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GimpStringComboBox"><type>GimpStringComboBox</type></link> widget, optionally
              wrapped into a <link linkend="GtkEventBox"><type>GtkEventBox</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-text-buffer-new" role="function">
<title>gimp_prop_text_buffer_new ()</title>
<indexterm zone="gimp-prop-text-buffer-new"><primary>gimp_prop_text_buffer_new</primary></indexterm><programlisting><link linkend="GtkTextBuffer">GtkTextBuffer</link>*      gimp_prop_text_buffer_new           (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         <link linkend="gint">gint</link> max_len);</programlisting>
<para>
Creates a <link linkend="GtkTextBuffer"><type>GtkTextBuffer</type></link> to set and display the value of the
specified string property.  Unless the string is expected to
contain multiple lines or a large amount of text, use
<link linkend="gimp-prop-entry-new"><function>gimp_prop_entry_new()</function></link> instead.  See <link linkend="GtkTextView"><type>GtkTextView</type></link> for information on
how to insert a text buffer into a visible widget.
</para>
<para>
If <parameter>max_len</parameter> is 0 or negative, the text buffer allows an unlimited
number of characters to be entered.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of string property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>max_len</parameter>&nbsp;:</term>
<listitem><simpara>       Maximum allowed length of text (in characters).
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GtkTextBuffer"><type>GtkTextBuffer</type></link>.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-prop-unit-menu-new" role="function">
<title>gimp_prop_unit_menu_new ()</title>
<indexterm zone="gimp-prop-unit-menu-new"><primary>gimp_prop_unit_menu_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gimp_prop_unit_menu_new             (<link linkend="GObject">GObject</link> *config,
                                                         const <link linkend="gchar">gchar</link> *property_name,
                                                         const <link linkend="gchar">gchar</link> *unit_format);</programlisting>
<para>
Creates a <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> to set and display the value of a Unit
property.  See <link linkend="gimp-unit-menu-new"><function>gimp_unit_menu_new()</function></link> for more information.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara>        Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of Unit property.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unit_format</parameter>&nbsp;:</term>
<listitem><simpara>   A printf-like format string which is used to create
                the unit strings.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>  A new <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> widget.

Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>