4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GimpWidgets</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
9
<link rel="prev" href="libgimpwidgets-GimpStock.html" title="GimpStock">
9
<link rel="prev" href="libgimpwidgets-GimpPropWidgets.html" title="GimpPropWidgets">
10
10
<link rel="next" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
11
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
15
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
16
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
17
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
18
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
19
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
20
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
22
<link rel="index" href="libgimpwidgets-index.html" title="Index">
23
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
24
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
25
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
22
27
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
28
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
24
29
<tr valign="middle">
25
<td><a accesskey="p" href="libgimpwidgets-GimpStock.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
30
<td><a accesskey="p" href="libgimpwidgets-GimpPropWidgets.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
31
<td><a accesskey="u" href="libgimpwidgets-utils.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
32
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
29
34
<td><a accesskey="n" href="libgimpwidgets-deprecated.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2572936" class="shortcut">Top</a>
33
<a href="#desc" class="shortcut">Description</a></nobr></td></tr>
38
<a href="#id2676310" class="shortcut">Description</a></nobr></td></tr>
35
40
<div class="refentry" lang="en">
36
41
<a name="libgimpwidgets-GimpWidgets"></a><div class="titlepage"></div>
37
42
<div class="refnamediv"><table width="100%"><tr>
39
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpWidgets</span></h2>
45
<a name="id2572936"></a><span class="refentrytitle">GimpWidgets</span>
40
47
<p>GimpWidgets — A collection of convenient widget constructors, standard callbacks and
41
48
helper functions.</p>
43
50
<td valign="top" align="right"></td>
44
51
</tr></table></div>
45
52
<div class="refsynopsisdiv">
46
<a name="synopsis"></a><h2>Synopsis</h2>
47
54
<pre class="synopsis">
51
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new">gimp_radio_group_new</a> (gboolean in_frame,
52
const gchar *frame_title,
54
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new2">gimp_radio_group_new2</a> (gboolean in_frame,
55
const gchar *frame_title,
56
GCallback radio_button_callback,
57
gpointer radio_button_callback_data,
60
void <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active">gimp_radio_group_set_active</a> (GtkRadioButton *radio_button,
62
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-new">gimp_int_radio_group_new</a> (gboolean in_frame,
63
const gchar *frame_title,
64
GCallback radio_button_callback,
65
gpointer radio_button_callback_data,
68
void <a href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-set-active">gimp_int_radio_group_set_active</a> (GtkRadioButton *radio_button,
70
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-spin-button-new">gimp_spin_button_new</a> (GtkObject **adjustment,
74
gdouble step_increment,
75
gdouble page_increment,
79
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-LABEL:CAPS">GIMP_SCALE_ENTRY_LABEL</a> (adj)
80
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SCALE:CAPS">GIMP_SCALE_ENTRY_SCALE</a> (adj)
81
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS">GIMP_SCALE_ENTRY_SCALE_ADJ</a> (adj)
82
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SPINBUTTON:CAPS">GIMP_SCALE_ENTRY_SPINBUTTON</a> (adj)
83
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS">GIMP_SCALE_ENTRY_SPINBUTTON_ADJ</a> (adj)
84
GtkObject* <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new">gimp_scale_entry_new</a> (GtkTable *table,
89
gint spinbutton_width,
93
gdouble step_increment,
94
gdouble page_increment,
97
gdouble unconstrained_lower,
98
gdouble unconstrained_upper,
100
const gchar *help_id);
101
void <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-sensitive">gimp_scale_entry_set_sensitive</a> (GtkObject *adjustment,
103
void <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-logarithmic">gimp_scale_entry_set_logarithmic</a>
104
(GtkObject *adjustment,
105
gboolean logarithmic);
106
gboolean <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-get-logarithmic">gimp_scale_entry_get_logarithmic</a>
107
(GtkObject *adjustment);
108
GtkObject* <a href="libgimpwidgets-GimpWidgets.html#gimp-color-scale-entry-new">gimp_color_scale_entry_new</a> (GtkTable *table,
113
gint spinbutton_width,
117
gdouble step_increment,
118
gdouble page_increment,
120
const gchar *tooltip,
121
const gchar *help_id);
122
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-SPINBUTTON:CAPS">GIMP_RANDOM_SEED_SPINBUTTON</a> (hbox)
123
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS">GIMP_RANDOM_SEED_SPINBUTTON_ADJ</a> (hbox)
124
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-TOGGLE:CAPS">GIMP_RANDOM_SEED_TOGGLE</a> (hbox)
125
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new">gimp_random_seed_new</a> (guint32 *seed,
126
gboolean *random_seed);
127
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-COORDINATES-CHAINBUTTON:CAPS">GIMP_COORDINATES_CHAINBUTTON</a> (sizeentry)
128
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new">gimp_coordinates_new</a> (<a
58
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new">gimp_radio_group_new</a> (gboolean in_frame,
59
const gchar *frame_title,
61
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new2">gimp_radio_group_new2</a> (gboolean in_frame,
62
const gchar *frame_title,
63
GCallback radio_button_callback,
64
gpointer radio_button_callback_data,
67
void <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active">gimp_radio_group_set_active</a> (GtkRadioButton *radio_button,
69
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-new">gimp_int_radio_group_new</a> (gboolean in_frame,
70
const gchar *frame_title,
71
GCallback radio_button_callback,
72
gpointer radio_button_callback_data,
75
void <a href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-set-active">gimp_int_radio_group_set_active</a> (GtkRadioButton *radio_button,
77
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-spin-button-new">gimp_spin_button_new</a> (GtkObject **adjustment,
81
gdouble step_increment,
82
gdouble page_increment,
86
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-LABEL:CAPS">GIMP_SCALE_ENTRY_LABEL</a> (adj)
87
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SCALE:CAPS">GIMP_SCALE_ENTRY_SCALE</a> (adj)
88
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS">GIMP_SCALE_ENTRY_SCALE_ADJ</a> (adj)
89
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SPINBUTTON:CAPS">GIMP_SCALE_ENTRY_SPINBUTTON</a> (adj)
90
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS">GIMP_SCALE_ENTRY_SPINBUTTON_ADJ</a> (adj)
91
GtkObject* <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new">gimp_scale_entry_new</a> (GtkTable *table,
96
gint spinbutton_width,
100
gdouble step_increment,
101
gdouble page_increment,
104
gdouble unconstrained_lower,
105
gdouble unconstrained_upper,
106
const gchar *tooltip,
107
const gchar *help_id);
108
void <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-sensitive">gimp_scale_entry_set_sensitive</a> (GtkObject *adjustment,
110
void <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-logarithmic">gimp_scale_entry_set_logarithmic</a> (GtkObject *adjustment,
111
gboolean logarithmic);
112
gboolean <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-get-logarithmic">gimp_scale_entry_get_logarithmic</a> (GtkObject *adjustment);
113
GtkObject* <a href="libgimpwidgets-GimpWidgets.html#gimp-color-scale-entry-new">gimp_color_scale_entry_new</a> (GtkTable *table,
118
gint spinbutton_width,
122
gdouble step_increment,
123
gdouble page_increment,
125
const gchar *tooltip,
126
const gchar *help_id);
127
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-SPINBUTTON:CAPS">GIMP_RANDOM_SEED_SPINBUTTON</a> (hbox)
128
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS">GIMP_RANDOM_SEED_SPINBUTTON_ADJ</a> (hbox)
129
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-TOGGLE:CAPS">GIMP_RANDOM_SEED_TOGGLE</a> (hbox)
130
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new">gimp_random_seed_new</a> (guint32 *seed,
131
gboolean *random_seed);
132
#define <a href="libgimpwidgets-GimpWidgets.html#GIMP-COORDINATES-CHAINBUTTON:CAPS">GIMP_COORDINATES_CHAINBUTTON</a> (sizeentry)
133
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new">gimp_coordinates_new</a> (<a
129
134
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
130
135
>GimpUnit</a> unit,
131
const gchar *unit_format,
132
gboolean menu_show_pixels,
133
gboolean menu_show_percent,
134
gint spinbutton_width,
135
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy,
136
gboolean chainbutton_active,
137
gboolean chain_constrains_ratio,
141
gdouble lower_boundary_x,
142
gdouble upper_boundary_x,
148
gdouble lower_boundary_y,
149
gdouble upper_boundary_y,
152
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new">gimp_pixmap_button_new</a> (gchar **xpm_data,
154
void <a href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update">gimp_toggle_button_sensitive_update</a>
155
(GtkToggleButton *toggle_button);
156
void <a href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-update">gimp_toggle_button_update</a> (GtkWidget *widget,
158
void <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-button-update">gimp_radio_button_update</a> (GtkWidget *widget,
160
void <a href="libgimpwidgets-GimpWidgets.html#gimp-int-adjustment-update">gimp_int_adjustment_update</a> (GtkAdjustment *adjustment,
162
void <a href="libgimpwidgets-GimpWidgets.html#gimp-uint-adjustment-update">gimp_uint_adjustment_update</a> (GtkAdjustment *adjustment,
164
void <a href="libgimpwidgets-GimpWidgets.html#gimp-float-adjustment-update">gimp_float_adjustment_update</a> (GtkAdjustment *adjustment,
166
void <a href="libgimpwidgets-GimpWidgets.html#gimp-double-adjustment-update">gimp_double_adjustment_update</a> (GtkAdjustment *adjustment,
168
void <a href="libgimpwidgets-GimpWidgets.html#gimp-unit-menu-update">gimp_unit_menu_update</a> (GtkWidget *widget,
170
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-table-attach-aligned">gimp_table_attach_aligned</a> (GtkTable *table,
173
const gchar *label_text,
178
gboolean left_align);
179
void <a href="libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes">gimp_label_set_attributes</a> (GtkLabel *label,
136
const gchar *unit_format,
137
gboolean menu_show_pixels,
138
gboolean menu_show_percent,
139
gint spinbutton_width,
140
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy,
141
gboolean chainbutton_active,
142
gboolean chain_constrains_ratio,
146
gdouble lower_boundary_x,
147
gdouble upper_boundary_x,
153
gdouble lower_boundary_y,
154
gdouble upper_boundary_y,
157
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new">gimp_pixmap_button_new</a> (gchar **xpm_data,
159
void <a href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update">gimp_toggle_button_sensitive_update</a> (GtkToggleButton *toggle_button);
160
void <a href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-update">gimp_toggle_button_update</a> (GtkWidget *widget,
162
void <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-button-update">gimp_radio_button_update</a> (GtkWidget *widget,
164
void <a href="libgimpwidgets-GimpWidgets.html#gimp-int-adjustment-update">gimp_int_adjustment_update</a> (GtkAdjustment *adjustment,
166
void <a href="libgimpwidgets-GimpWidgets.html#gimp-uint-adjustment-update">gimp_uint_adjustment_update</a> (GtkAdjustment *adjustment,
168
void <a href="libgimpwidgets-GimpWidgets.html#gimp-float-adjustment-update">gimp_float_adjustment_update</a> (GtkAdjustment *adjustment,
170
void <a href="libgimpwidgets-GimpWidgets.html#gimp-double-adjustment-update">gimp_double_adjustment_update</a> (GtkAdjustment *adjustment,
172
void <a href="libgimpwidgets-GimpWidgets.html#gimp-unit-menu-update">gimp_unit_menu_update</a> (GtkWidget *widget,
174
GtkWidget* <a href="libgimpwidgets-GimpWidgets.html#gimp-table-attach-aligned">gimp_table_attach_aligned</a> (GtkTable *table,
177
const gchar *label_text,
182
gboolean left_align);
183
void <a href="libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes">gimp_label_set_attributes</a> (GtkLabel *label,
183
187
<div class="refsect1" lang="en">
184
<a name="desc"></a><h2>Description</h2>
188
<a name="id2676310"></a><h2>Description</h2>
189
193
<div class="refsect1" lang="en">
190
<a name="details"></a><h2>Details</h2>
194
<a name="id2676326"></a><h2>Details</h2>
191
195
<div class="refsect2" lang="en">
192
<a name="id2619738"></a><h3>
196
<a name="id2676336"></a><h3>
193
197
<a name="gimp-radio-group-new"></a>gimp_radio_group_new ()</h3>
194
<a class="indexterm" name="id2619749"></a><pre class="programlisting">GtkWidget* gimp_radio_group_new (gboolean in_frame,
195
const gchar *frame_title,
198
<a class="indexterm" name="id2676348"></a><pre class="programlisting">GtkWidget* gimp_radio_group_new (gboolean in_frame,
199
const gchar *frame_title,
198
202
Convenience function to create a group of radio buttons embedded into
199
203
a <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span>.</p>
650
618
<col align="left" valign="top">
654
<span class="term"><em class="parameter"><code>table</code></em> :</span></td>
621
<td><span class="term"><em class="parameter"><code>table</code></em> :</span></td>
655
622
<td> The <span class="type">GtkTable</span> the widgets will be attached to.
660
<span class="term"><em class="parameter"><code>column</code></em> :</span></td>
626
<td><span class="term"><em class="parameter"><code>column</code></em> :</span></td>
661
627
<td> The column to start with.
666
<span class="term"><em class="parameter"><code>row</code></em> :</span></td>
631
<td><span class="term"><em class="parameter"><code>row</code></em> :</span></td>
667
632
<td> The row to attach the widgets.
672
<span class="term"><em class="parameter"><code>text</code></em> :</span></td>
636
<td><span class="term"><em class="parameter"><code>text</code></em> :</span></td>
673
637
<td> The text for the <span class="type">GtkLabel</span> which will appear
674
638
left of the <span class="type">GtkHScale</span>.
679
<span class="term"><em class="parameter"><code>scale_width</code></em> :</span></td>
642
<td><span class="term"><em class="parameter"><code>scale_width</code></em> :</span></td>
680
643
<td> The minimum horizontal size of the <span class="type">GtkHScale</span>.
685
<span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
647
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
686
648
<td> The minimum horizontal size of the <span class="type">GtkSpinButton</span>.
691
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
652
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
692
653
<td> The initial value.
697
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
657
<td><span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
698
658
<td> The lower boundary.
703
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
662
<td><span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
704
663
<td> The upper boundary.
709
<span class="term"><em class="parameter"><code>step_increment</code></em> :</span></td>
667
<td><span class="term"><em class="parameter"><code>step_increment</code></em> :</span></td>
710
668
<td> The step increment.
715
<span class="term"><em class="parameter"><code>page_increment</code></em> :</span></td>
672
<td><span class="term"><em class="parameter"><code>page_increment</code></em> :</span></td>
716
673
<td> The page increment.
721
<span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
677
<td><span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
722
678
<td> The number of decimal digits.
727
<span class="term"><em class="parameter"><code>constrain</code></em> :</span></td>
682
<td><span class="term"><em class="parameter"><code>constrain</code></em> :</span></td>
728
683
<td> <code class="literal">TRUE</code> if the range of possible values of the
729
684
<span class="type">GtkSpinButton</span> should be the same as of the <span class="type">GtkHScale</span>.
734
<span class="term"><em class="parameter"><code>unconstrained_lower</code></em> :</span></td>
688
<td><span class="term"><em class="parameter"><code>unconstrained_lower</code></em> :</span></td>
735
689
<td> The spinbutton's lower boundary
736
690
if <em class="parameter"><code>constrain</code></em> == <code class="literal">FALSE</code>.
741
<span class="term"><em class="parameter"><code>unconstrained_upper</code></em> :</span></td>
694
<td><span class="term"><em class="parameter"><code>unconstrained_upper</code></em> :</span></td>
742
695
<td> The spinbutton's upper boundary
743
696
if <em class="parameter"><code>constrain</code></em> == <code class="literal">FALSE</code>.
748
<span class="term"><em class="parameter"><code>tooltip</code></em> :</span></td>
700
<td><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></td>
749
701
<td> A tooltip message for the scale and the spinbutton.
754
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
705
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
755
706
<td> The widgets' help_id (see <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data"><code class="function">gimp_help_set_help_data()</code></a>).
760
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
710
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
761
711
<td> The <span class="type">GtkSpinButton</span>'s <span class="type">GtkAdjustment</span>.
892
834
<col align="left" valign="top">
896
<span class="term"><em class="parameter"><code>table</code></em> :</span></td>
837
<td><span class="term"><em class="parameter"><code>table</code></em> :</span></td>
897
838
<td> The <span class="type">GtkTable</span> the widgets will be attached to.
902
<span class="term"><em class="parameter"><code>column</code></em> :</span></td>
842
<td><span class="term"><em class="parameter"><code>column</code></em> :</span></td>
903
843
<td> The column to start with.
908
<span class="term"><em class="parameter"><code>row</code></em> :</span></td>
847
<td><span class="term"><em class="parameter"><code>row</code></em> :</span></td>
909
848
<td> The row to attach the widgets.
914
<span class="term"><em class="parameter"><code>text</code></em> :</span></td>
852
<td><span class="term"><em class="parameter"><code>text</code></em> :</span></td>
915
853
<td> The text for the <span class="type">GtkLabel</span> which will appear
916
854
left of the <span class="type">GtkHScale</span>.
921
<span class="term"><em class="parameter"><code>scale_width</code></em> :</span></td>
858
<td><span class="term"><em class="parameter"><code>scale_width</code></em> :</span></td>
922
859
<td> The minimum horizontal size of the <span class="type">GtkHScale</span>.
927
<span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
863
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
928
864
<td> The minimum horizontal size of the <span class="type">GtkSpinButton</span>.
933
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
868
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
934
869
<td> The initial value.
939
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
873
<td><span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
940
874
<td> The lower boundary.
945
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
878
<td><span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
946
879
<td> The upper boundary.
951
<span class="term"><em class="parameter"><code>step_increment</code></em> :</span></td>
883
<td><span class="term"><em class="parameter"><code>step_increment</code></em> :</span></td>
952
884
<td> The step increment.
957
<span class="term"><em class="parameter"><code>page_increment</code></em> :</span></td>
888
<td><span class="term"><em class="parameter"><code>page_increment</code></em> :</span></td>
958
889
<td> The page increment.
963
<span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
893
<td><span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
964
894
<td> The number of decimal digits.
969
<span class="term"><em class="parameter"><code>tooltip</code></em> :</span></td>
898
<td><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></td>
970
899
<td> A tooltip message for the scale and the spinbutton.
975
<span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
903
<td><span class="term"><em class="parameter"><code>help_id</code></em> :</span></td>
976
904
<td> The widgets' help_id (see <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data"><code class="function">gimp_help_set_help_data()</code></a>).
981
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
908
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
982
909
<td> The <span class="type">GtkSpinButton</span>'s <span class="type">GtkAdjustment</span>.
1142
1062
<col align="left" valign="top">
1146
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
1065
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
1147
1066
<td> The initial unit of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
1152
<span class="term"><em class="parameter"><code>unit_format</code></em> :</span></td>
1070
<td><span class="term"><em class="parameter"><code>unit_format</code></em> :</span></td>
1153
1071
<td> A printf-like unit-format string as is used with
1154
1072
<a href="GimpUnitMenu.html#gimp-unit-menu-new"><code class="function">gimp_unit_menu_new()</code></a>.
1159
<span class="term"><em class="parameter"><code>menu_show_pixels</code></em> :</span></td>
1076
<td><span class="term"><em class="parameter"><code>menu_show_pixels</code></em> :</span></td>
1160
1077
<td> <code class="literal">TRUE</code> if the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> should contain an item
1161
1078
for GIMP_UNIT_PIXEL.
1166
<span class="term"><em class="parameter"><code>menu_show_percent</code></em> :</span></td>
1082
<td><span class="term"><em class="parameter"><code>menu_show_percent</code></em> :</span></td>
1167
1083
<td> <code class="literal">TRUE</code> if the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> should contain an item
1168
1084
for GIMP_UNIT_PERCENT.
1173
<span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
1088
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
1174
1089
<td> The horizontal size of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>'s
1175
1090
<span class="type">GtkSpinButton</span>'s.
1180
<span class="term"><em class="parameter"><code>update_policy</code></em> :</span></td>
1094
<td><span class="term"><em class="parameter"><code>update_policy</code></em> :</span></td>
1181
1095
<td> The update policy for the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
1186
<span class="term"><em class="parameter"><code>chainbutton_active</code></em> :</span></td>
1099
<td><span class="term"><em class="parameter"><code>chainbutton_active</code></em> :</span></td>
1187
1100
<td> <code class="literal">TRUE</code> if the attached <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> should be
1193
<span class="term"><em class="parameter"><code>chain_constrains_ratio</code></em> :</span></td>
1105
<td><span class="term"><em class="parameter"><code>chain_constrains_ratio</code></em> :</span></td>
1194
1106
<td> <code class="literal">TRUE</code> if the chainbutton should constrain the
1195
1107
fields' aspect ratio. If <code class="literal">FALSE</code>, the values will
1196
1108
be constrained.
1201
<span class="term"><em class="parameter"><code>xlabel</code></em> :</span></td>
1112
<td><span class="term"><em class="parameter"><code>xlabel</code></em> :</span></td>
1202
1113
<td> The label for the X coordinate.
1207
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
1117
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
1208
1118
<td> The initial value of the X coordinate.
1213
<span class="term"><em class="parameter"><code>xres</code></em> :</span></td>
1122
<td><span class="term"><em class="parameter"><code>xres</code></em> :</span></td>
1214
1123
<td> The horizontal resolution in DPI.
1219
<span class="term"><em class="parameter"><code>lower_boundary_x</code></em> :</span></td>
1127
<td><span class="term"><em class="parameter"><code>lower_boundary_x</code></em> :</span></td>
1220
1128
<td> The lower boundary of the X coordinate.
1225
<span class="term"><em class="parameter"><code>upper_boundary_x</code></em> :</span></td>
1132
<td><span class="term"><em class="parameter"><code>upper_boundary_x</code></em> :</span></td>
1226
1133
<td> The upper boundary of the X coordinate.
1231
<span class="term"><em class="parameter"><code>xsize_0</code></em> :</span></td>
1137
<td><span class="term"><em class="parameter"><code>xsize_0</code></em> :</span></td>
1232
1138
<td> The X value which will be treated as 0%.
1237
<span class="term"><em class="parameter"><code>xsize_100</code></em> :</span></td>
1142
<td><span class="term"><em class="parameter"><code>xsize_100</code></em> :</span></td>
1238
1143
<td> The X value which will be treated as 100%.
1243
<span class="term"><em class="parameter"><code>ylabel</code></em> :</span></td>
1147
<td><span class="term"><em class="parameter"><code>ylabel</code></em> :</span></td>
1244
1148
<td> The label for the Y coordinate.
1249
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
1152
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
1250
1153
<td> The initial value of the Y coordinate.
1255
<span class="term"><em class="parameter"><code>yres</code></em> :</span></td>
1157
<td><span class="term"><em class="parameter"><code>yres</code></em> :</span></td>
1256
1158
<td> The vertical resolution in DPI.
1261
<span class="term"><em class="parameter"><code>lower_boundary_y</code></em> :</span></td>
1162
<td><span class="term"><em class="parameter"><code>lower_boundary_y</code></em> :</span></td>
1262
1163
<td> The lower boundary of the Y coordinate.
1267
<span class="term"><em class="parameter"><code>upper_boundary_y</code></em> :</span></td>
1167
<td><span class="term"><em class="parameter"><code>upper_boundary_y</code></em> :</span></td>
1268
1168
<td> The upper boundary of the Y coordinate.
1273
<span class="term"><em class="parameter"><code>ysize_0</code></em> :</span></td>
1172
<td><span class="term"><em class="parameter"><code>ysize_0</code></em> :</span></td>
1274
1173
<td> The Y value which will be treated as 0%.
1279
<span class="term"><em class="parameter"><code>ysize_100</code></em> :</span></td>
1177
<td><span class="term"><em class="parameter"><code>ysize_100</code></em> :</span></td>
1280
1178
<td> The Y value which will be treated as 100%.
1285
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1182
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1286
1183
<td> The new <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.