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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/libgimpwidgets-GimpWidgets.html

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
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&#160;V.&#160;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&#160;VI.&#160;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&#160;I.&#160;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&#160;II.&#160;GIMP Display Filters">
17
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
18
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
19
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
20
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;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">
21
26
</head>
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>
30
35
</tr>
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>
32
37
                  &#160;|&#160;
33
 
                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
 
38
                  <a href="#id2676310" class="shortcut">Description</a></nobr></td></tr>
34
39
</table>
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>
38
43
<td valign="top">
39
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpWidgets</span></h2>
 
44
<h2>
 
45
<a name="id2572936"></a><span class="refentrytitle">GimpWidgets</span>
 
46
</h2>
40
47
<p>GimpWidgets &#8212; A collection of convenient widget constructors, standard callbacks and
41
48
helper functions.</p>
42
49
</td>
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>
 
53
<h2>Synopsis</h2>
47
54
<pre class="synopsis">
48
55
 
49
56
 
50
57
 
51
 
GtkWidget*  <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new">gimp_radio_group_new</a>            (gboolean in_frame,
52
 
                                             const gchar *frame_title,
53
 
                                             ...);
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,
58
 
                                             gpointer initial,
59
 
                                             ...);
60
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active">gimp_radio_group_set_active</a>     (GtkRadioButton *radio_button,
61
 
                                             gpointer item_data);
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,
66
 
                                             gint initial,
67
 
                                             ...);
68
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-set-active">gimp_int_radio_group_set_active</a> (GtkRadioButton *radio_button,
69
 
                                             gint item_data);
70
 
GtkWidget*  <a href="libgimpwidgets-GimpWidgets.html#gimp-spin-button-new">gimp_spin_button_new</a>            (GtkObject **adjustment,
71
 
                                             gdouble value,
72
 
                                             gdouble lower,
73
 
                                             gdouble upper,
74
 
                                             gdouble step_increment,
75
 
                                             gdouble page_increment,
76
 
                                             gdouble page_size,
77
 
                                             gdouble climb_rate,
78
 
                                             guint digits);
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,
85
 
                                             gint column,
86
 
                                             gint row,
87
 
                                             const gchar *text,
88
 
                                             gint scale_width,
89
 
                                             gint spinbutton_width,
90
 
                                             gdouble value,
91
 
                                             gdouble lower,
92
 
                                             gdouble upper,
93
 
                                             gdouble step_increment,
94
 
                                             gdouble page_increment,
95
 
                                             guint digits,
96
 
                                             gboolean constrain,
97
 
                                             gdouble unconstrained_lower,
98
 
                                             gdouble unconstrained_upper,
99
 
                                             const gchar *tooltip,
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,
102
 
                                             gboolean sensitive);
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,
109
 
                                             gint column,
110
 
                                             gint row,
111
 
                                             const gchar *text,
112
 
                                             gint scale_width,
113
 
                                             gint spinbutton_width,
114
 
                                             gdouble value,
115
 
                                             gdouble lower,
116
 
                                             gdouble upper,
117
 
                                             gdouble step_increment,
118
 
                                             gdouble page_increment,
119
 
                                             guint digits,
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,
 
60
                                                         ...);
 
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,
 
65
                                                         gpointer initial,
 
66
                                                         ...);
 
67
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active">gimp_radio_group_set_active</a>         (GtkRadioButton *radio_button,
 
68
                                                         gpointer item_data);
 
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,
 
73
                                                         gint initial,
 
74
                                                         ...);
 
75
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-set-active">gimp_int_radio_group_set_active</a>     (GtkRadioButton *radio_button,
 
76
                                                         gint item_data);
 
77
GtkWidget*          <a href="libgimpwidgets-GimpWidgets.html#gimp-spin-button-new">gimp_spin_button_new</a>                (GtkObject **adjustment,
 
78
                                                         gdouble value,
 
79
                                                         gdouble lower,
 
80
                                                         gdouble upper,
 
81
                                                         gdouble step_increment,
 
82
                                                         gdouble page_increment,
 
83
                                                         gdouble page_size,
 
84
                                                         gdouble climb_rate,
 
85
                                                         guint digits);
 
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,
 
92
                                                         gint column,
 
93
                                                         gint row,
 
94
                                                         const gchar *text,
 
95
                                                         gint scale_width,
 
96
                                                         gint spinbutton_width,
 
97
                                                         gdouble value,
 
98
                                                         gdouble lower,
 
99
                                                         gdouble upper,
 
100
                                                         gdouble step_increment,
 
101
                                                         gdouble page_increment,
 
102
                                                         guint digits,
 
103
                                                         gboolean constrain,
 
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,
 
109
                                                         gboolean sensitive);
 
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,
 
114
                                                         gint column,
 
115
                                                         gint row,
 
116
                                                         const gchar *text,
 
117
                                                         gint scale_width,
 
118
                                                         gint spinbutton_width,
 
119
                                                         gdouble value,
 
120
                                                         gdouble lower,
 
121
                                                         gdouble upper,
 
122
                                                         gdouble step_increment,
 
123
                                                         gdouble page_increment,
 
124
                                                         guint digits,
 
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,
138
 
                                             const gchar *xlabel,
139
 
                                             gdouble x,
140
 
                                             gdouble xres,
141
 
                                             gdouble lower_boundary_x,
142
 
                                             gdouble upper_boundary_x,
143
 
                                             gdouble xsize_0,
144
 
                                             gdouble xsize_100,
145
 
                                             const gchar *ylabel,
146
 
                                             gdouble y,
147
 
                                             gdouble yres,
148
 
                                             gdouble lower_boundary_y,
149
 
                                             gdouble upper_boundary_y,
150
 
                                             gdouble ysize_0,
151
 
                                             gdouble ysize_100);
152
 
GtkWidget*  <a href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new">gimp_pixmap_button_new</a>          (gchar **xpm_data,
153
 
                                             const gchar *text);
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,
157
 
                                             gpointer data);
158
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-button-update">gimp_radio_button_update</a>        (GtkWidget *widget,
159
 
                                             gpointer data);
160
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-int-adjustment-update">gimp_int_adjustment_update</a>      (GtkAdjustment *adjustment,
161
 
                                             gpointer data);
162
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-uint-adjustment-update">gimp_uint_adjustment_update</a>     (GtkAdjustment *adjustment,
163
 
                                             gpointer data);
164
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-float-adjustment-update">gimp_float_adjustment_update</a>    (GtkAdjustment *adjustment,
165
 
                                             gpointer data);
166
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-double-adjustment-update">gimp_double_adjustment_update</a>   (GtkAdjustment *adjustment,
167
 
                                             gpointer data);
168
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-unit-menu-update">gimp_unit_menu_update</a>           (GtkWidget *widget,
169
 
                                             gpointer data);
170
 
GtkWidget*  <a href="libgimpwidgets-GimpWidgets.html#gimp-table-attach-aligned">gimp_table_attach_aligned</a>       (GtkTable *table,
171
 
                                             gint column,
172
 
                                             gint row,
173
 
                                             const gchar *label_text,
174
 
                                             gfloat xalign,
175
 
                                             gfloat yalign,
176
 
                                             GtkWidget *widget,
177
 
                                             gint colspan,
178
 
                                             gboolean left_align);
179
 
void        <a href="libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes">gimp_label_set_attributes</a>       (GtkLabel *label,
180
 
                                             ...);
 
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,
 
143
                                                         const gchar *xlabel,
 
144
                                                         gdouble x,
 
145
                                                         gdouble xres,
 
146
                                                         gdouble lower_boundary_x,
 
147
                                                         gdouble upper_boundary_x,
 
148
                                                         gdouble xsize_0,
 
149
                                                         gdouble xsize_100,
 
150
                                                         const gchar *ylabel,
 
151
                                                         gdouble y,
 
152
                                                         gdouble yres,
 
153
                                                         gdouble lower_boundary_y,
 
154
                                                         gdouble upper_boundary_y,
 
155
                                                         gdouble ysize_0,
 
156
                                                         gdouble ysize_100);
 
157
GtkWidget*          <a href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new">gimp_pixmap_button_new</a>              (gchar **xpm_data,
 
158
                                                         const gchar *text);
 
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,
 
161
                                                         gpointer data);
 
162
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-radio-button-update">gimp_radio_button_update</a>            (GtkWidget *widget,
 
163
                                                         gpointer data);
 
164
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-int-adjustment-update">gimp_int_adjustment_update</a>          (GtkAdjustment *adjustment,
 
165
                                                         gpointer data);
 
166
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-uint-adjustment-update">gimp_uint_adjustment_update</a>         (GtkAdjustment *adjustment,
 
167
                                                         gpointer data);
 
168
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-float-adjustment-update">gimp_float_adjustment_update</a>        (GtkAdjustment *adjustment,
 
169
                                                         gpointer data);
 
170
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-double-adjustment-update">gimp_double_adjustment_update</a>       (GtkAdjustment *adjustment,
 
171
                                                         gpointer data);
 
172
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-unit-menu-update">gimp_unit_menu_update</a>               (GtkWidget *widget,
 
173
                                                         gpointer data);
 
174
GtkWidget*          <a href="libgimpwidgets-GimpWidgets.html#gimp-table-attach-aligned">gimp_table_attach_aligned</a>           (GtkTable *table,
 
175
                                                         gint column,
 
176
                                                         gint row,
 
177
                                                         const gchar *label_text,
 
178
                                                         gfloat xalign,
 
179
                                                         gfloat yalign,
 
180
                                                         GtkWidget *widget,
 
181
                                                         gint colspan,
 
182
                                                         gboolean left_align);
 
183
void                <a href="libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes">gimp_label_set_attributes</a>           (GtkLabel *label,
 
184
                                                         ...);
181
185
</pre>
182
186
</div>
183
187
<div class="refsect1" lang="en">
184
 
<a name="desc"></a><h2>Description</h2>
 
188
<a name="id2676310"></a><h2>Description</h2>
185
189
<p>
186
190
 
187
191
</p>
188
192
</div>
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,
196
 
                                             ...);</pre>
 
198
<a class="indexterm" name="id2676348"></a><pre class="programlisting">GtkWidget*          gimp_radio_group_new                (gboolean in_frame,
 
199
                                                         const gchar *frame_title,
 
200
                                                         ...);</pre>
197
201
<p>
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>
204
208
<col align="left" valign="top">
205
209
<tbody>
206
210
<tr>
207
 
<td>
208
 
<span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></td>
 
211
<td><span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></td>
209
212
<td>    <code class="literal">TRUE</code> if you want a <span class="type">GtkFrame</span> around the radio button group.
210
213
</td>
211
214
</tr>
212
215
<tr>
213
 
<td>
214
 
<span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></td>
 
216
<td><span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></td>
215
217
<td> The title of the Frame or <code class="literal">NULL</code> if you don't want a title.
216
218
</td>
217
219
</tr>
218
220
<tr>
219
 
<td>
220
 
<span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
 
221
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
221
222
<td>         A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the radio buttons.
222
223
</td>
223
224
</tr>
224
225
<tr>
225
 
<td>
226
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
226
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
227
227
<td> A <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
228
228
</td>
229
229
</tr>
232
232
</div>
233
233
<hr>
234
234
<div class="refsect2" lang="en">
235
 
<a name="id2619921"></a><h3>
 
235
<a name="id2676522"></a><h3>
236
236
<a name="gimp-radio-group-new2"></a>gimp_radio_group_new2 ()</h3>
237
 
<a class="indexterm" name="id2619932"></a><pre class="programlisting">GtkWidget*  gimp_radio_group_new2           (gboolean in_frame,
238
 
                                             const gchar *frame_title,
239
 
                                             GCallback radio_button_callback,
240
 
                                             gpointer radio_button_callback_data,
241
 
                                             gpointer initial,
242
 
                                             ...);</pre>
 
237
<a class="indexterm" name="id2676533"></a><pre class="programlisting">GtkWidget*          gimp_radio_group_new2               (gboolean in_frame,
 
238
                                                         const gchar *frame_title,
 
239
                                                         GCallback radio_button_callback,
 
240
                                                         gpointer radio_button_callback_data,
 
241
                                                         gpointer initial,
 
242
                                                         ...);</pre>
243
243
<p>
244
244
Convenience function to create a group of radio buttons embedded into
245
245
a <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span>.</p>
250
250
<col align="left" valign="top">
251
251
<tbody>
252
252
<tr>
253
 
<td>
254
 
<span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></td>
 
253
<td><span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></td>
255
254
<td>              <code class="literal">TRUE</code> if you want a <span class="type">GtkFrame</span> around the
256
255
                        radio button group.
257
256
</td>
258
257
</tr>
259
258
<tr>
260
 
<td>
261
 
<span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></td>
 
259
<td><span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></td>
262
260
<td>           The title of the Frame or <code class="literal">NULL</code> if you don't want
263
261
                        a title.
264
262
</td>
265
263
</tr>
266
264
<tr>
267
 
<td>
268
 
<span class="term"><em class="parameter"><code>radio_button_callback</code></em>&#160;:</span></td>
 
265
<td><span class="term"><em class="parameter"><code>radio_button_callback</code></em>&#160;:</span></td>
269
266
<td> The callback each button's "toggled" signal will
270
267
                        be connected with.
271
268
</td>
272
269
</tr>
273
270
<tr>
274
 
<td>
275
 
<span class="term"><em class="parameter"><code>radio_button_callback_data</code></em>&#160;:</span></td>
 
271
<td><span class="term"><em class="parameter"><code>radio_button_callback_data</code></em>&#160;:</span></td>
276
272
<td>
277
273
                        The data which will be passed to <code class="function">g_signal_connect()</code>.
278
274
</td>
279
275
</tr>
280
276
<tr>
281
 
<td>
282
 
<span class="term"><em class="parameter"><code>initial</code></em>&#160;:</span></td>
 
277
<td><span class="term"><em class="parameter"><code>initial</code></em>&#160;:</span></td>
283
278
<td>               The <em class="parameter"><code>item_data</code></em> of the initially pressed radio button.
284
279
</td>
285
280
</tr>
286
281
<tr>
287
 
<td>
288
 
<span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
 
282
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
289
283
<td>                   A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing
290
284
                        the radio buttons.
291
285
</td>
292
286
</tr>
293
287
<tr>
294
 
<td>
295
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
288
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
296
289
<td> A <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
297
290
</td>
298
291
</tr>
301
294
</div>
302
295
<hr>
303
296
<div class="refsect2" lang="en">
304
 
<a name="id2620189"></a><h3>
 
297
<a name="id2676792"></a><h3>
305
298
<a name="gimp-radio-group-set-active"></a>gimp_radio_group_set_active ()</h3>
306
 
<a class="indexterm" name="id2620201"></a><pre class="programlisting">void        gimp_radio_group_set_active     (GtkRadioButton *radio_button,
307
 
                                             gpointer item_data);</pre>
 
299
<a class="indexterm" name="id2676804"></a><pre class="programlisting">void                gimp_radio_group_set_active         (GtkRadioButton *radio_button,
 
300
                                                         gpointer item_data);</pre>
308
301
<p>
309
302
Calls <code class="function">gtk_toggle_button_set_active()</code> with the radio button that was
310
303
created with a matching <em class="parameter"><code>item_data</code></em>.</p>
315
308
<col align="left" valign="top">
316
309
<tbody>
317
310
<tr>
318
 
<td>
319
 
<span class="term"><em class="parameter"><code>radio_button</code></em>&#160;:</span></td>
 
311
<td><span class="term"><em class="parameter"><code>radio_button</code></em>&#160;:</span></td>
320
312
<td> Pointer to a <span class="type">GtkRadioButton</span>.
321
313
</td>
322
314
</tr>
323
315
<tr>
324
 
<td>
325
 
<span class="term"><em class="parameter"><code>item_data</code></em>&#160;:</span></td>
 
316
<td><span class="term"><em class="parameter"><code>item_data</code></em>&#160;:</span></td>
326
317
<td> The <em class="parameter"><code>item_data</code></em> of the radio button you want to select.
327
318
</td>
328
319
</tr>
331
322
</div>
332
323
<hr>
333
324
<div class="refsect2" lang="en">
334
 
<a name="id2620303"></a><h3>
 
325
<a name="id2676906"></a><h3>
335
326
<a name="gimp-int-radio-group-new"></a>gimp_int_radio_group_new ()</h3>
336
 
<a class="indexterm" name="id2620314"></a><pre class="programlisting">GtkWidget*  gimp_int_radio_group_new        (gboolean in_frame,
337
 
                                             const gchar *frame_title,
338
 
                                             GCallback radio_button_callback,
339
 
                                             gpointer radio_button_callback_data,
340
 
                                             gint initial,
341
 
                                             ...);</pre>
 
327
<a class="indexterm" name="id2676917"></a><pre class="programlisting">GtkWidget*          gimp_int_radio_group_new            (gboolean in_frame,
 
328
                                                         const gchar *frame_title,
 
329
                                                         GCallback radio_button_callback,
 
330
                                                         gpointer radio_button_callback_data,
 
331
                                                         gint initial,
 
332
                                                         ...);</pre>
342
333
<p>
343
334
Convenience function to create a group of radio buttons embedded into
344
335
a <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span>. This function does the same thing as
352
343
<col align="left" valign="top">
353
344
<tbody>
354
345
<tr>
355
 
<td>
356
 
<span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></td>
 
346
<td><span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></td>
357
347
<td>              <code class="literal">TRUE</code> if you want a <span class="type">GtkFrame</span> around the
358
348
                        radio button group.
359
349
</td>
360
350
</tr>
361
351
<tr>
362
 
<td>
363
 
<span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></td>
 
352
<td><span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></td>
364
353
<td>           The title of the Frame or <code class="literal">NULL</code> if you don't want
365
354
                        a title.
366
355
</td>
367
356
</tr>
368
357
<tr>
369
 
<td>
370
 
<span class="term"><em class="parameter"><code>radio_button_callback</code></em>&#160;:</span></td>
 
358
<td><span class="term"><em class="parameter"><code>radio_button_callback</code></em>&#160;:</span></td>
371
359
<td> The callback each button's "toggled" signal will
372
360
                        be connected with.
373
361
</td>
374
362
</tr>
375
363
<tr>
376
 
<td>
377
 
<span class="term"><em class="parameter"><code>radio_button_callback_data</code></em>&#160;:</span></td>
 
364
<td><span class="term"><em class="parameter"><code>radio_button_callback_data</code></em>&#160;:</span></td>
378
365
<td>
379
366
                        The data which will be passed to <code class="function">g_signal_connect()</code>.
380
367
</td>
381
368
</tr>
382
369
<tr>
383
 
<td>
384
 
<span class="term"><em class="parameter"><code>initial</code></em>&#160;:</span></td>
 
370
<td><span class="term"><em class="parameter"><code>initial</code></em>&#160;:</span></td>
385
371
<td>               The <em class="parameter"><code>item_data</code></em> of the initially pressed radio button.
386
372
</td>
387
373
</tr>
388
374
<tr>
389
 
<td>
390
 
<span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
 
375
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
391
376
<td>                   A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing
392
377
                        the radio buttons.
393
378
</td>
394
379
</tr>
395
380
<tr>
396
 
<td>
397
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
381
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
398
382
<td> A <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
399
383
</td>
400
384
</tr>
403
387
</div>
404
388
<hr>
405
389
<div class="refsect2" lang="en">
406
 
<a name="id2620588"></a><h3>
 
390
<a name="id2677192"></a><h3>
407
391
<a name="gimp-int-radio-group-set-active"></a>gimp_int_radio_group_set_active ()</h3>
408
 
<a class="indexterm" name="id2620602"></a><pre class="programlisting">void        gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
409
 
                                             gint item_data);</pre>
 
392
<a class="indexterm" name="id2677206"></a><pre class="programlisting">void                gimp_int_radio_group_set_active     (GtkRadioButton *radio_button,
 
393
                                                         gint item_data);</pre>
410
394
<p>
411
395
Calls <code class="function">gtk_toggle_button_set_active()</code> with the radio button that was created
412
396
with a matching <em class="parameter"><code>item_data</code></em>. This function does the same thing as
419
403
<col align="left" valign="top">
420
404
<tbody>
421
405
<tr>
422
 
<td>
423
 
<span class="term"><em class="parameter"><code>radio_button</code></em>&#160;:</span></td>
 
406
<td><span class="term"><em class="parameter"><code>radio_button</code></em>&#160;:</span></td>
424
407
<td> Pointer to a <span class="type">GtkRadioButton</span>.
425
408
</td>
426
409
</tr>
427
410
<tr>
428
 
<td>
429
 
<span class="term"><em class="parameter"><code>item_data</code></em>&#160;:</span></td>
 
411
<td><span class="term"><em class="parameter"><code>item_data</code></em>&#160;:</span></td>
430
412
<td> The <em class="parameter"><code>item_data</code></em> of the radio button you want to select.
431
413
</td>
432
414
</tr>
435
417
</div>
436
418
<hr>
437
419
<div class="refsect2" lang="en">
438
 
<a name="id2620720"></a><h3>
 
420
<a name="id2677299"></a><h3>
439
421
<a name="gimp-spin-button-new"></a>gimp_spin_button_new ()</h3>
440
 
<a class="indexterm" name="id2620731"></a><pre class="programlisting">GtkWidget*  gimp_spin_button_new            (GtkObject **adjustment,
441
 
                                             gdouble value,
442
 
                                             gdouble lower,
443
 
                                             gdouble upper,
444
 
                                             gdouble step_increment,
445
 
                                             gdouble page_increment,
446
 
                                             gdouble page_size,
447
 
                                             gdouble climb_rate,
448
 
                                             guint digits);</pre>
 
422
<a class="indexterm" name="id2677310"></a><pre class="programlisting">GtkWidget*          gimp_spin_button_new                (GtkObject **adjustment,
 
423
                                                         gdouble value,
 
424
                                                         gdouble lower,
 
425
                                                         gdouble upper,
 
426
                                                         gdouble step_increment,
 
427
                                                         gdouble page_increment,
 
428
                                                         gdouble page_size,
 
429
                                                         gdouble climb_rate,
 
430
                                                         guint digits);</pre>
449
431
<p>
450
 
This function is a shortcut for <code class="function">gtk_adjustment_new()</code> and a subsequent
451
 
<code class="function">gtk_spin_button_new()</code> and does some more initialisation stuff like
452
 
setting a standard minimum horizontal size.</p>
 
432
This function is a shortcut for <code class="function">gtk_adjustment_new()</code> and a
 
433
subsequent <code class="function">gtk_spin_button_new()</code>. It also calls
 
434
<code class="function">gtk_spin_button_set_numeric()</code> so that non-numeric text cannot be
 
435
entered.</p>
453
436
<p>
454
437
 
455
438
</p>
457
440
<col align="left" valign="top">
458
441
<tbody>
459
442
<tr>
460
 
<td>
461
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
443
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
462
444
<td>     Returns the spinbutton's <span class="type">GtkAdjustment</span>.
463
445
</td>
464
446
</tr>
465
447
<tr>
466
 
<td>
467
 
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
 
448
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
468
449
<td>          The initial value of the spinbutton.
469
450
</td>
470
451
</tr>
471
452
<tr>
472
 
<td>
473
 
<span class="term"><em class="parameter"><code>lower</code></em>&#160;:</span></td>
 
453
<td><span class="term"><em class="parameter"><code>lower</code></em>&#160;:</span></td>
474
454
<td>          The lower boundary.
475
455
</td>
476
456
</tr>
477
457
<tr>
478
 
<td>
479
 
<span class="term"><em class="parameter"><code>upper</code></em>&#160;:</span></td>
 
458
<td><span class="term"><em class="parameter"><code>upper</code></em>&#160;:</span></td>
480
459
<td>          The uppper boundary.
481
460
</td>
482
461
</tr>
483
462
<tr>
484
 
<td>
485
 
<span class="term"><em class="parameter"><code>step_increment</code></em>&#160;:</span></td>
 
463
<td><span class="term"><em class="parameter"><code>step_increment</code></em>&#160;:</span></td>
486
464
<td> The spinbutton's step increment.
487
465
</td>
488
466
</tr>
489
467
<tr>
490
 
<td>
491
 
<span class="term"><em class="parameter"><code>page_increment</code></em>&#160;:</span></td>
 
468
<td><span class="term"><em class="parameter"><code>page_increment</code></em>&#160;:</span></td>
492
469
<td> The spinbutton's page increment (mouse button 2).
493
470
</td>
494
471
</tr>
495
472
<tr>
496
 
<td>
497
 
<span class="term"><em class="parameter"><code>page_size</code></em>&#160;:</span></td>
 
473
<td><span class="term"><em class="parameter"><code>page_size</code></em>&#160;:</span></td>
498
474
<td>      The spinbutton's page size.
499
475
</td>
500
476
</tr>
501
477
<tr>
502
 
<td>
503
 
<span class="term"><em class="parameter"><code>climb_rate</code></em>&#160;:</span></td>
 
478
<td><span class="term"><em class="parameter"><code>climb_rate</code></em>&#160;:</span></td>
504
479
<td>     The spinbutton's climb rate.
505
480
</td>
506
481
</tr>
507
482
<tr>
508
 
<td>
509
 
<span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
 
483
<td><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
510
484
<td>         The spinbutton's number of decimal digits.
511
485
</td>
512
486
</tr>
513
487
<tr>
514
 
<td>
515
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
488
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
516
489
<td> A <span class="type">GtkSpinbutton</span> and it's <span class="type">GtkAdjustment</span>.
517
490
</td>
518
491
</tr>
521
494
</div>
522
495
<hr>
523
496
<div class="refsect2" lang="en">
524
 
<a name="id2621007"></a><h3>
 
497
<a name="id2677569"></a><h3>
525
498
<a name="GIMP-SCALE-ENTRY-LABEL:CAPS"></a>GIMP_SCALE_ENTRY_LABEL()</h3>
526
 
<a class="indexterm" name="id2621018"></a><pre class="programlisting">#define     GIMP_SCALE_ENTRY_LABEL(adj)</pre>
 
499
<a class="indexterm" name="id2677580"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_LABEL(adj)</pre>
527
500
<p>
528
501
Returns the scale_entry's <span class="type">GtkLabel</span>.
529
502
</p>
530
503
<div class="variablelist"><table border="0">
531
504
<col align="left" valign="top">
532
505
<tbody><tr>
533
 
<td>
534
 
<span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
 
506
<td><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
535
507
<td>The <span class="type">GtkAdjustment</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
536
508
 
537
509
 
541
513
</div>
542
514
<hr>
543
515
<div class="refsect2" lang="en">
544
 
<a name="id2621076"></a><h3>
 
516
<a name="id2677632"></a><h3>
545
517
<a name="GIMP-SCALE-ENTRY-SCALE:CAPS"></a>GIMP_SCALE_ENTRY_SCALE()</h3>
546
 
<a class="indexterm" name="id2621087"></a><pre class="programlisting">#define     GIMP_SCALE_ENTRY_SCALE(adj)</pre>
 
518
<a class="indexterm" name="id2677642"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SCALE(adj)</pre>
547
519
<p>
548
520
Returns the scale_entry's <span class="type">GtkHScale</span>.
549
521
</p>
550
522
<div class="variablelist"><table border="0">
551
523
<col align="left" valign="top">
552
524
<tbody><tr>
553
 
<td>
554
 
<span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
 
525
<td><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
555
526
<td>The <span class="type">GtkAdjustment</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
556
527
 
557
528
 
561
532
</div>
562
533
<hr>
563
534
<div class="refsect2" lang="en">
564
 
<a name="id2621145"></a><h3>
 
535
<a name="id2677694"></a><h3>
565
536
<a name="GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS"></a>GIMP_SCALE_ENTRY_SCALE_ADJ()</h3>
566
 
<a class="indexterm" name="id2621158"></a><pre class="programlisting">#define     GIMP_SCALE_ENTRY_SCALE_ADJ(adj)</pre>
 
537
<a class="indexterm" name="id2677707"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SCALE_ADJ(adj)</pre>
567
538
<p>
568
539
Returns the <span class="type">GtkAdjustment</span> of the scale_entry's <span class="type">GtkHScale</span>.
569
540
</p>
570
541
<div class="variablelist"><table border="0">
571
542
<col align="left" valign="top">
572
543
<tbody><tr>
573
 
<td>
574
 
<span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
 
544
<td><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
575
545
<td>The <span class="type">GtkAdjustment</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
576
546
 
577
547
 
581
551
</div>
582
552
<hr>
583
553
<div class="refsect2" lang="en">
584
 
<a name="id2621223"></a><h3>
 
554
<a name="id2677765"></a><h3>
585
555
<a name="GIMP-SCALE-ENTRY-SPINBUTTON:CAPS"></a>GIMP_SCALE_ENTRY_SPINBUTTON()</h3>
586
 
<a class="indexterm" name="id2476279"></a><pre class="programlisting">#define     GIMP_SCALE_ENTRY_SPINBUTTON(adj)</pre>
 
556
<a class="indexterm" name="id2677777"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SPINBUTTON(adj)</pre>
587
557
<p>
588
558
Returns the scale_entry's <span class="type">GtkSpinButton</span>.
589
559
</p>
590
560
<div class="variablelist"><table border="0">
591
561
<col align="left" valign="top">
592
562
<tbody><tr>
593
 
<td>
594
 
<span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
 
563
<td><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
595
564
<td>The <span class="type">GtkAdjustment</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
596
565
 
597
566
 
601
570
</div>
602
571
<hr>
603
572
<div class="refsect2" lang="en">
604
 
<a name="id2621274"></a><h3>
 
573
<a name="id2677830"></a><h3>
605
574
<a name="GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS"></a>GIMP_SCALE_ENTRY_SPINBUTTON_ADJ()</h3>
606
 
<a class="indexterm" name="id2621287"></a><pre class="programlisting">#define     GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj)</pre>
 
575
<a class="indexterm" name="id2677843"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj)</pre>
607
576
<p>
608
577
Returns the <span class="type">GtkAdjustment</span> of the scale_entry's <span class="type">GtkSpinButton</span>.
609
578
</p>
610
579
<div class="variablelist"><table border="0">
611
580
<col align="left" valign="top">
612
581
<tbody><tr>
613
 
<td>
614
 
<span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
 
582
<td><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></td>
615
583
<td>The <span class="type">GtkAdjustment</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
616
584
 
617
585
 
621
589
</div>
622
590
<hr>
623
591
<div class="refsect2" lang="en">
624
 
<a name="id2621346"></a><h3>
 
592
<a name="id2677902"></a><h3>
625
593
<a name="gimp-scale-entry-new"></a>gimp_scale_entry_new ()</h3>
626
 
<a class="indexterm" name="id2621357"></a><pre class="programlisting">GtkObject*  gimp_scale_entry_new            (GtkTable *table,
627
 
                                             gint column,
628
 
                                             gint row,
629
 
                                             const gchar *text,
630
 
                                             gint scale_width,
631
 
                                             gint spinbutton_width,
632
 
                                             gdouble value,
633
 
                                             gdouble lower,
634
 
                                             gdouble upper,
635
 
                                             gdouble step_increment,
636
 
                                             gdouble page_increment,
637
 
                                             guint digits,
638
 
                                             gboolean constrain,
639
 
                                             gdouble unconstrained_lower,
640
 
                                             gdouble unconstrained_upper,
641
 
                                             const gchar *tooltip,
642
 
                                             const gchar *help_id);</pre>
 
594
<a class="indexterm" name="id2677913"></a><pre class="programlisting">GtkObject*          gimp_scale_entry_new                (GtkTable *table,
 
595
                                                         gint column,
 
596
                                                         gint row,
 
597
                                                         const gchar *text,
 
598
                                                         gint scale_width,
 
599
                                                         gint spinbutton_width,
 
600
                                                         gdouble value,
 
601
                                                         gdouble lower,
 
602
                                                         gdouble upper,
 
603
                                                         gdouble step_increment,
 
604
                                                         gdouble page_increment,
 
605
                                                         guint digits,
 
606
                                                         gboolean constrain,
 
607
                                                         gdouble unconstrained_lower,
 
608
                                                         gdouble unconstrained_upper,
 
609
                                                         const gchar *tooltip,
 
610
                                                         const gchar *help_id);</pre>
643
611
<p>
644
612
This function creates a <span class="type">GtkLabel</span>, a <span class="type">GtkHScale</span> and a <span class="type">GtkSpinButton</span> and
645
613
attaches them to a 3-column <span class="type">GtkTable</span>.</p>
650
618
<col align="left" valign="top">
651
619
<tbody>
652
620
<tr>
653
 
<td>
654
 
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
 
621
<td><span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
655
622
<td>               The <span class="type">GtkTable</span> the widgets will be attached to.
656
623
</td>
657
624
</tr>
658
625
<tr>
659
 
<td>
660
 
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
 
626
<td><span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
661
627
<td>              The column to start with.
662
628
</td>
663
629
</tr>
664
630
<tr>
665
 
<td>
666
 
<span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
 
631
<td><span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
667
632
<td>                 The row to attach the widgets.
668
633
</td>
669
634
</tr>
670
635
<tr>
671
 
<td>
672
 
<span class="term"><em class="parameter"><code>text</code></em>&#160;:</span></td>
 
636
<td><span class="term"><em class="parameter"><code>text</code></em>&#160;:</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>.
675
639
</td>
676
640
</tr>
677
641
<tr>
678
 
<td>
679
 
<span class="term"><em class="parameter"><code>scale_width</code></em>&#160;:</span></td>
 
642
<td><span class="term"><em class="parameter"><code>scale_width</code></em>&#160;:</span></td>
680
643
<td>         The minimum horizontal size of the <span class="type">GtkHScale</span>.
681
644
</td>
682
645
</tr>
683
646
<tr>
684
 
<td>
685
 
<span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></td>
 
647
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></td>
686
648
<td>    The minimum horizontal size of the <span class="type">GtkSpinButton</span>.
687
649
</td>
688
650
</tr>
689
651
<tr>
690
 
<td>
691
 
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
 
652
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
692
653
<td>               The initial value.
693
654
</td>
694
655
</tr>
695
656
<tr>
696
 
<td>
697
 
<span class="term"><em class="parameter"><code>lower</code></em>&#160;:</span></td>
 
657
<td><span class="term"><em class="parameter"><code>lower</code></em>&#160;:</span></td>
698
658
<td>               The lower boundary.
699
659
</td>
700
660
</tr>
701
661
<tr>
702
 
<td>
703
 
<span class="term"><em class="parameter"><code>upper</code></em>&#160;:</span></td>
 
662
<td><span class="term"><em class="parameter"><code>upper</code></em>&#160;:</span></td>
704
663
<td>               The upper boundary.
705
664
</td>
706
665
</tr>
707
666
<tr>
708
 
<td>
709
 
<span class="term"><em class="parameter"><code>step_increment</code></em>&#160;:</span></td>
 
667
<td><span class="term"><em class="parameter"><code>step_increment</code></em>&#160;:</span></td>
710
668
<td>      The step increment.
711
669
</td>
712
670
</tr>
713
671
<tr>
714
 
<td>
715
 
<span class="term"><em class="parameter"><code>page_increment</code></em>&#160;:</span></td>
 
672
<td><span class="term"><em class="parameter"><code>page_increment</code></em>&#160;:</span></td>
716
673
<td>      The page increment.
717
674
</td>
718
675
</tr>
719
676
<tr>
720
 
<td>
721
 
<span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
 
677
<td><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
722
678
<td>              The number of decimal digits.
723
679
</td>
724
680
</tr>
725
681
<tr>
726
 
<td>
727
 
<span class="term"><em class="parameter"><code>constrain</code></em>&#160;:</span></td>
 
682
<td><span class="term"><em class="parameter"><code>constrain</code></em>&#160;:</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>.
730
685
</td>
731
686
</tr>
732
687
<tr>
733
 
<td>
734
 
<span class="term"><em class="parameter"><code>unconstrained_lower</code></em>&#160;:</span></td>
 
688
<td><span class="term"><em class="parameter"><code>unconstrained_lower</code></em>&#160;:</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>.
737
691
</td>
738
692
</tr>
739
693
<tr>
740
 
<td>
741
 
<span class="term"><em class="parameter"><code>unconstrained_upper</code></em>&#160;:</span></td>
 
694
<td><span class="term"><em class="parameter"><code>unconstrained_upper</code></em>&#160;:</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>.
744
697
</td>
745
698
</tr>
746
699
<tr>
747
 
<td>
748
 
<span class="term"><em class="parameter"><code>tooltip</code></em>&#160;:</span></td>
 
700
<td><span class="term"><em class="parameter"><code>tooltip</code></em>&#160;:</span></td>
749
701
<td>             A tooltip message for the scale and the spinbutton.
750
702
</td>
751
703
</tr>
752
704
<tr>
753
 
<td>
754
 
<span class="term"><em class="parameter"><code>help_id</code></em>&#160;:</span></td>
 
705
<td><span class="term"><em class="parameter"><code>help_id</code></em>&#160;:</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>).
756
707
</td>
757
708
</tr>
758
709
<tr>
759
 
<td>
760
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
710
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
761
711
<td> The <span class="type">GtkSpinButton</span>'s <span class="type">GtkAdjustment</span>.
762
712
</td>
763
713
</tr>
766
716
</div>
767
717
<hr>
768
718
<div class="refsect2" lang="en">
769
 
<a name="id2621854"></a><h3>
 
719
<a name="id2678413"></a><h3>
770
720
<a name="gimp-scale-entry-set-sensitive"></a>gimp_scale_entry_set_sensitive ()</h3>
771
 
<a class="indexterm" name="id2621866"></a><pre class="programlisting">void        gimp_scale_entry_set_sensitive  (GtkObject *adjustment,
772
 
                                             gboolean sensitive);</pre>
 
721
<a class="indexterm" name="id2678425"></a><pre class="programlisting">void                gimp_scale_entry_set_sensitive      (GtkObject *adjustment,
 
722
                                                         gboolean sensitive);</pre>
773
723
<p>
774
724
Sets the sensitivity of the scale_entry's <span class="type">GtkLabel</span>, <span class="type">GtkHScale</span> and
775
725
<span class="type">GtkSpinbutton</span>.</p>
780
730
<col align="left" valign="top">
781
731
<tbody>
782
732
<tr>
783
 
<td>
784
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
733
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
785
734
<td> a <span class="type">GtkAdjustment</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
786
735
</td>
787
736
</tr>
788
737
<tr>
789
 
<td>
790
 
<span class="term"><em class="parameter"><code>sensitive</code></em>&#160;:</span></td>
 
738
<td><span class="term"><em class="parameter"><code>sensitive</code></em>&#160;:</span></td>
791
739
<td>  a boolean value with the same semantics as the <em class="parameter"><code>sensitive</code></em>
792
740
             parameter of <code class="function">gtk_widget_set_sensitive()</code>
793
741
</td>
797
745
</div>
798
746
<hr>
799
747
<div class="refsect2" lang="en">
800
 
<a name="id2621978"></a><h3>
 
748
<a name="id2678537"></a><h3>
801
749
<a name="gimp-scale-entry-set-logarithmic"></a>gimp_scale_entry_set_logarithmic ()</h3>
802
 
<a class="indexterm" name="id2621992"></a><pre class="programlisting">void        gimp_scale_entry_set_logarithmic
803
 
                                            (GtkObject *adjustment,
804
 
                                             gboolean logarithmic);</pre>
 
750
<a class="indexterm" name="id2678552"></a><pre class="programlisting">void                gimp_scale_entry_set_logarithmic    (GtkObject *adjustment,
 
751
                                                         gboolean logarithmic);</pre>
805
752
<p>
806
753
Sets whether the scale_entry's scale widget will behave in a linear
807
754
or logharithmic fashion. Useful when an entry has to attend large
814
761
<col align="left" valign="top">
815
762
<tbody>
816
763
<tr>
817
 
<td>
818
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
764
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
819
765
<td>  a  <span class="type">GtkAdjustment</span> as returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
820
766
</td>
821
767
</tr>
822
768
<tr>
823
 
<td>
824
 
<span class="term"><em class="parameter"><code>logarithmic</code></em>&#160;:</span></td>
 
769
<td><span class="term"><em class="parameter"><code>logarithmic</code></em>&#160;:</span></td>
825
770
<td> a boolean value to set or reset logarithmic behaviour
826
771
              of the scale widget
827
772
</td>
828
773
</tr>
829
774
</tbody>
830
775
</table></div>
831
 
<p>Since  GIMP 2.2
 
776
<p class="since">Since  GIMP 2.2
832
777
</p>
833
778
</div>
834
779
<hr>
835
780
<div class="refsect2" lang="en">
836
 
<a name="id2622080"></a><h3>
 
781
<a name="id2678642"></a><h3>
837
782
<a name="gimp-scale-entry-get-logarithmic"></a>gimp_scale_entry_get_logarithmic ()</h3>
838
 
<a class="indexterm" name="id2622095"></a><pre class="programlisting">gboolean    gimp_scale_entry_get_logarithmic
839
 
                                            (GtkObject *adjustment);</pre>
 
783
<a class="indexterm" name="id2678656"></a><pre class="programlisting">gboolean            gimp_scale_entry_get_logarithmic    (GtkObject *adjustment);</pre>
840
784
<p>
841
785
</p>
842
786
<p>
846
790
<col align="left" valign="top">
847
791
<tbody>
848
792
<tr>
849
 
<td>
850
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
793
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
851
794
<td> a  <span class="type">GtkAdjustment</span> as returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
852
795
</td>
853
796
</tr>
854
797
<tr>
855
 
<td>
856
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
798
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
857
799
<td> <code class="literal">TRUE</code> if the the entry's scale widget will behave in
858
800
              logharithmic fashion, <code class="literal">FALSE</code> for linear behaviour.
859
801
 
861
803
</tr>
862
804
</tbody>
863
805
</table></div>
864
 
<p>Since  GIMP 2.2
 
806
<p class="since">Since  GIMP 2.2
865
807
</p>
866
808
</div>
867
809
<hr>
868
810
<div class="refsect2" lang="en">
869
 
<a name="id2622186"></a><h3>
 
811
<a name="id2678749"></a><h3>
870
812
<a name="gimp-color-scale-entry-new"></a>gimp_color_scale_entry_new ()</h3>
871
 
<a class="indexterm" name="id2622197"></a><pre class="programlisting">GtkObject*  gimp_color_scale_entry_new      (GtkTable *table,
872
 
                                             gint column,
873
 
                                             gint row,
874
 
                                             const gchar *text,
875
 
                                             gint scale_width,
876
 
                                             gint spinbutton_width,
877
 
                                             gdouble value,
878
 
                                             gdouble lower,
879
 
                                             gdouble upper,
880
 
                                             gdouble step_increment,
881
 
                                             gdouble page_increment,
882
 
                                             guint digits,
883
 
                                             const gchar *tooltip,
884
 
                                             const gchar *help_id);</pre>
 
813
<a class="indexterm" name="id2678760"></a><pre class="programlisting">GtkObject*          gimp_color_scale_entry_new          (GtkTable *table,
 
814
                                                         gint column,
 
815
                                                         gint row,
 
816
                                                         const gchar *text,
 
817
                                                         gint scale_width,
 
818
                                                         gint spinbutton_width,
 
819
                                                         gdouble value,
 
820
                                                         gdouble lower,
 
821
                                                         gdouble upper,
 
822
                                                         gdouble step_increment,
 
823
                                                         gdouble page_increment,
 
824
                                                         guint digits,
 
825
                                                         const gchar *tooltip,
 
826
                                                         const gchar *help_id);</pre>
885
827
<p>
886
828
This function creates a <span class="type">GtkLabel</span>, a <a href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> and a
887
829
<span class="type">GtkSpinButton</span> and attaches them to a 3-column <span class="type">GtkTable</span>.</p>
892
834
<col align="left" valign="top">
893
835
<tbody>
894
836
<tr>
895
 
<td>
896
 
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
 
837
<td><span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
897
838
<td>               The <span class="type">GtkTable</span> the widgets will be attached to.
898
839
</td>
899
840
</tr>
900
841
<tr>
901
 
<td>
902
 
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
 
842
<td><span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
903
843
<td>              The column to start with.
904
844
</td>
905
845
</tr>
906
846
<tr>
907
 
<td>
908
 
<span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
 
847
<td><span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
909
848
<td>                 The row to attach the widgets.
910
849
</td>
911
850
</tr>
912
851
<tr>
913
 
<td>
914
 
<span class="term"><em class="parameter"><code>text</code></em>&#160;:</span></td>
 
852
<td><span class="term"><em class="parameter"><code>text</code></em>&#160;:</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>.
917
855
</td>
918
856
</tr>
919
857
<tr>
920
 
<td>
921
 
<span class="term"><em class="parameter"><code>scale_width</code></em>&#160;:</span></td>
 
858
<td><span class="term"><em class="parameter"><code>scale_width</code></em>&#160;:</span></td>
922
859
<td>         The minimum horizontal size of the <span class="type">GtkHScale</span>.
923
860
</td>
924
861
</tr>
925
862
<tr>
926
 
<td>
927
 
<span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></td>
 
863
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></td>
928
864
<td>    The minimum horizontal size of the <span class="type">GtkSpinButton</span>.
929
865
</td>
930
866
</tr>
931
867
<tr>
932
 
<td>
933
 
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
 
868
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
934
869
<td>               The initial value.
935
870
</td>
936
871
</tr>
937
872
<tr>
938
 
<td>
939
 
<span class="term"><em class="parameter"><code>lower</code></em>&#160;:</span></td>
 
873
<td><span class="term"><em class="parameter"><code>lower</code></em>&#160;:</span></td>
940
874
<td>               The lower boundary.
941
875
</td>
942
876
</tr>
943
877
<tr>
944
 
<td>
945
 
<span class="term"><em class="parameter"><code>upper</code></em>&#160;:</span></td>
 
878
<td><span class="term"><em class="parameter"><code>upper</code></em>&#160;:</span></td>
946
879
<td>               The upper boundary.
947
880
</td>
948
881
</tr>
949
882
<tr>
950
 
<td>
951
 
<span class="term"><em class="parameter"><code>step_increment</code></em>&#160;:</span></td>
 
883
<td><span class="term"><em class="parameter"><code>step_increment</code></em>&#160;:</span></td>
952
884
<td>      The step increment.
953
885
</td>
954
886
</tr>
955
887
<tr>
956
 
<td>
957
 
<span class="term"><em class="parameter"><code>page_increment</code></em>&#160;:</span></td>
 
888
<td><span class="term"><em class="parameter"><code>page_increment</code></em>&#160;:</span></td>
958
889
<td>      The page increment.
959
890
</td>
960
891
</tr>
961
892
<tr>
962
 
<td>
963
 
<span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
 
893
<td><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
964
894
<td>              The number of decimal digits.
965
895
</td>
966
896
</tr>
967
897
<tr>
968
 
<td>
969
 
<span class="term"><em class="parameter"><code>tooltip</code></em>&#160;:</span></td>
 
898
<td><span class="term"><em class="parameter"><code>tooltip</code></em>&#160;:</span></td>
970
899
<td>             A tooltip message for the scale and the spinbutton.
971
900
</td>
972
901
</tr>
973
902
<tr>
974
 
<td>
975
 
<span class="term"><em class="parameter"><code>help_id</code></em>&#160;:</span></td>
 
903
<td><span class="term"><em class="parameter"><code>help_id</code></em>&#160;:</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>).
977
905
</td>
978
906
</tr>
979
907
<tr>
980
 
<td>
981
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
908
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
982
909
<td> The <span class="type">GtkSpinButton</span>'s <span class="type">GtkAdjustment</span>.
983
910
</td>
984
911
</tr>
987
914
</div>
988
915
<hr>
989
916
<div class="refsect2" lang="en">
990
 
<a name="id2622586"></a><h3>
 
917
<a name="id2679151"></a><h3>
991
918
<a name="GIMP-RANDOM-SEED-SPINBUTTON:CAPS"></a>GIMP_RANDOM_SEED_SPINBUTTON()</h3>
992
 
<a class="indexterm" name="id2622598"></a><pre class="programlisting">#define     GIMP_RANDOM_SEED_SPINBUTTON(hbox)</pre>
 
919
<a class="indexterm" name="id2679163"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_SPINBUTTON(hbox)</pre>
993
920
<p>
994
921
Returns the random_seed's <span class="type">GtkSpinButton</span>.
995
922
</p>
996
923
<div class="variablelist"><table border="0">
997
924
<col align="left" valign="top">
998
925
<tbody><tr>
999
 
<td>
1000
 
<span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></td>
 
926
<td><span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></td>
1001
927
<td>The <span class="type">GtkHBox</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new"><code class="function">gimp_random_seed_new()</code></a>.
1002
928
 
1003
929
 
1007
933
</div>
1008
934
<hr>
1009
935
<div class="refsect2" lang="en">
1010
 
<a name="id2622651"></a><h3>
 
936
<a name="id2679216"></a><h3>
1011
937
<a name="GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS"></a>GIMP_RANDOM_SEED_SPINBUTTON_ADJ()</h3>
1012
 
<a class="indexterm" name="id2622664"></a><pre class="programlisting">#define     GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox)</pre>
 
938
<a class="indexterm" name="id2679229"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox)</pre>
1013
939
<p>
1014
940
Returns the <span class="type">GtkAdjustment</span> of the random_seed's <span class="type">GtkSpinButton</span>.
1015
941
</p>
1016
942
<div class="variablelist"><table border="0">
1017
943
<col align="left" valign="top">
1018
944
<tbody><tr>
1019
 
<td>
1020
 
<span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></td>
 
945
<td><span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></td>
1021
946
<td>The <span class="type">GtkHBox</span> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new"><code class="function">gimp_random_seed_new()</code></a>.
1022
947
 
1023
948
 
1027
952
</div>
1028
953
<hr>
1029
954
<div class="refsect2" lang="en">
1030
 
<a name="id2622723"></a><h3>
 
955
<a name="id2679288"></a><h3>
1031
956
<a name="GIMP-RANDOM-SEED-TOGGLE:CAPS"></a>GIMP_RANDOM_SEED_TOGGLE()</h3>
1032
 
<a class="indexterm" name="id2622736"></a><pre class="programlisting">#define     GIMP_RANDOM_SEED_TOGGLE(hbox)</pre>
 
957
<a class="indexterm" name="id2679301"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_TOGGLE(hbox)</pre>
1033
958
<p>
1034
959
 
1035
960
</p>
1036
961
<div class="variablelist"><table border="0">
1037
962
<col align="left" valign="top">
1038
963
<tbody><tr>
1039
 
<td>
1040
 
<span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></td>
 
964
<td><span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></td>
1041
965
<td>
1042
966
 
1043
967
 
1047
971
</div>
1048
972
<hr>
1049
973
<div class="refsect2" lang="en">
1050
 
<a name="id2622766"></a><h3>
 
974
<a name="id2679332"></a><h3>
1051
975
<a name="gimp-random-seed-new"></a>gimp_random_seed_new ()</h3>
1052
 
<a class="indexterm" name="id2622776"></a><pre class="programlisting">GtkWidget*  gimp_random_seed_new            (guint32 *seed,
1053
 
                                             gboolean *random_seed);</pre>
 
976
<a class="indexterm" name="id2679342"></a><pre class="programlisting">GtkWidget*          gimp_random_seed_new                (guint32 *seed,
 
977
                                                         gboolean *random_seed);</pre>
1054
978
<p>
1055
979
Creates a widget that allows the user to control how the random number
1056
980
generator is initialized.</p>
1061
985
<col align="left" valign="top">
1062
986
<tbody>
1063
987
<tr>
1064
 
<td>
1065
 
<span class="term"><em class="parameter"><code>seed</code></em>&#160;:</span></td>
 
988
<td><span class="term"><em class="parameter"><code>seed</code></em>&#160;:</span></td>
1066
989
<td>        A pointer to the variable which stores the random seed.
1067
990
</td>
1068
991
</tr>
1069
992
<tr>
1070
 
<td>
1071
 
<span class="term"><em class="parameter"><code>random_seed</code></em>&#160;:</span></td>
 
993
<td><span class="term"><em class="parameter"><code>random_seed</code></em>&#160;:</span></td>
1072
994
<td> A pointer to a boolean indicating whether seed should be
1073
995
              initialised randomly or not.
1074
996
</td>
1075
997
</tr>
1076
998
<tr>
1077
 
<td>
1078
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
999
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
1079
1000
<td> A <span class="type">GtkHBox</span> containing a <span class="type">GtkSpinButton</span> for the seed and
1080
1001
         a <span class="type">GtkButton</span> for setting a random seed.
1081
1002
</td>
1085
1006
</div>
1086
1007
<hr>
1087
1008
<div class="refsect2" lang="en">
1088
 
<a name="id2622873"></a><h3>
 
1009
<a name="id2679439"></a><h3>
1089
1010
<a name="GIMP-COORDINATES-CHAINBUTTON:CAPS"></a>GIMP_COORDINATES_CHAINBUTTON()</h3>
1090
 
<a class="indexterm" name="id2622885"></a><pre class="programlisting">#define     GIMP_COORDINATES_CHAINBUTTON(sizeentry)</pre>
 
1011
<a class="indexterm" name="id2679452"></a><pre class="programlisting">#define             GIMP_COORDINATES_CHAINBUTTON(sizeentry)</pre>
1091
1012
<p>
1092
1013
Returns the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> which is attached to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
1093
1014
</p>
1094
1015
<div class="variablelist"><table border="0">
1095
1016
<col align="left" valign="top">
1096
1017
<tbody><tr>
1097
 
<td>
1098
 
<span class="term"><em class="parameter"><code>sizeentry</code></em>&#160;:</span></td>
 
1018
<td><span class="term"><em class="parameter"><code>sizeentry</code></em>&#160;:</span></td>
1099
1019
<td>The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> returned by <a href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new"><code class="function">gimp_coordinates_new()</code></a>.
1100
1020
 
1101
1021
 
1105
1025
</div>
1106
1026
<hr>
1107
1027
<div class="refsect2" lang="en">
1108
 
<a name="id2622944"></a><h3>
 
1028
<a name="id2679511"></a><h3>
1109
1029
<a name="gimp-coordinates-new"></a>gimp_coordinates_new ()</h3>
1110
 
<a class="indexterm" name="id2622955"></a><pre class="programlisting">GtkWidget*  gimp_coordinates_new            (<a
 
1030
<a class="indexterm" name="id2679521"></a><pre class="programlisting">GtkWidget*          gimp_coordinates_new                (<a
1111
1031
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
1112
1032
>GimpUnit</a> unit,
1113
 
                                             const gchar *unit_format,
1114
 
                                             gboolean menu_show_pixels,
1115
 
                                             gboolean menu_show_percent,
1116
 
                                             gint spinbutton_width,
1117
 
                                             <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy,
1118
 
                                             gboolean chainbutton_active,
1119
 
                                             gboolean chain_constrains_ratio,
1120
 
                                             const gchar *xlabel,
1121
 
                                             gdouble x,
1122
 
                                             gdouble xres,
1123
 
                                             gdouble lower_boundary_x,
1124
 
                                             gdouble upper_boundary_x,
1125
 
                                             gdouble xsize_0,
1126
 
                                             gdouble xsize_100,
1127
 
                                             const gchar *ylabel,
1128
 
                                             gdouble y,
1129
 
                                             gdouble yres,
1130
 
                                             gdouble lower_boundary_y,
1131
 
                                             gdouble upper_boundary_y,
1132
 
                                             gdouble ysize_0,
1133
 
                                             gdouble ysize_100);</pre>
 
1033
                                                         const gchar *unit_format,
 
1034
                                                         gboolean menu_show_pixels,
 
1035
                                                         gboolean menu_show_percent,
 
1036
                                                         gint spinbutton_width,
 
1037
                                                         <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy,
 
1038
                                                         gboolean chainbutton_active,
 
1039
                                                         gboolean chain_constrains_ratio,
 
1040
                                                         const gchar *xlabel,
 
1041
                                                         gdouble x,
 
1042
                                                         gdouble xres,
 
1043
                                                         gdouble lower_boundary_x,
 
1044
                                                         gdouble upper_boundary_x,
 
1045
                                                         gdouble xsize_0,
 
1046
                                                         gdouble xsize_100,
 
1047
                                                         const gchar *ylabel,
 
1048
                                                         gdouble y,
 
1049
                                                         gdouble yres,
 
1050
                                                         gdouble lower_boundary_y,
 
1051
                                                         gdouble upper_boundary_y,
 
1052
                                                         gdouble ysize_0,
 
1053
                                                         gdouble ysize_100);</pre>
1134
1054
<p>
1135
1055
Convenience function that creates a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> with two fields for x/y
1136
1056
coordinates/sizes with a <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> attached to constrain either the
1142
1062
<col align="left" valign="top">
1143
1063
<tbody>
1144
1064
<tr>
1145
 
<td>
1146
 
<span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
 
1065
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
1147
1066
<td>                   The initial unit of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
1148
1067
</td>
1149
1068
</tr>
1150
1069
<tr>
1151
 
<td>
1152
 
<span class="term"><em class="parameter"><code>unit_format</code></em>&#160;:</span></td>
 
1070
<td><span class="term"><em class="parameter"><code>unit_format</code></em>&#160;:</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>.
1155
1073
</td>
1156
1074
</tr>
1157
1075
<tr>
1158
 
<td>
1159
 
<span class="term"><em class="parameter"><code>menu_show_pixels</code></em>&#160;:</span></td>
 
1076
<td><span class="term"><em class="parameter"><code>menu_show_pixels</code></em>&#160;:</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.
1162
1079
</td>
1163
1080
</tr>
1164
1081
<tr>
1165
 
<td>
1166
 
<span class="term"><em class="parameter"><code>menu_show_percent</code></em>&#160;:</span></td>
 
1082
<td><span class="term"><em class="parameter"><code>menu_show_percent</code></em>&#160;:</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.
1169
1085
</td>
1170
1086
</tr>
1171
1087
<tr>
1172
 
<td>
1173
 
<span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></td>
 
1088
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</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.
1176
1091
</td>
1177
1092
</tr>
1178
1093
<tr>
1179
 
<td>
1180
 
<span class="term"><em class="parameter"><code>update_policy</code></em>&#160;:</span></td>
 
1094
<td><span class="term"><em class="parameter"><code>update_policy</code></em>&#160;:</span></td>
1181
1095
<td>          The update policy for the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
1182
1096
</td>
1183
1097
</tr>
1184
1098
<tr>
1185
 
<td>
1186
 
<span class="term"><em class="parameter"><code>chainbutton_active</code></em>&#160;:</span></td>
 
1099
<td><span class="term"><em class="parameter"><code>chainbutton_active</code></em>&#160;:</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
1188
1101
                         active.
1189
1102
</td>
1190
1103
</tr>
1191
1104
<tr>
1192
 
<td>
1193
 
<span class="term"><em class="parameter"><code>chain_constrains_ratio</code></em>&#160;:</span></td>
 
1105
<td><span class="term"><em class="parameter"><code>chain_constrains_ratio</code></em>&#160;:</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.
1197
1109
</td>
1198
1110
</tr>
1199
1111
<tr>
1200
 
<td>
1201
 
<span class="term"><em class="parameter"><code>xlabel</code></em>&#160;:</span></td>
 
1112
<td><span class="term"><em class="parameter"><code>xlabel</code></em>&#160;:</span></td>
1202
1113
<td>                 The label for the X coordinate.
1203
1114
</td>
1204
1115
</tr>
1205
1116
<tr>
1206
 
<td>
1207
 
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
 
1117
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
1208
1118
<td>                      The initial value of the X coordinate.
1209
1119
</td>
1210
1120
</tr>
1211
1121
<tr>
1212
 
<td>
1213
 
<span class="term"><em class="parameter"><code>xres</code></em>&#160;:</span></td>
 
1122
<td><span class="term"><em class="parameter"><code>xres</code></em>&#160;:</span></td>
1214
1123
<td>                   The horizontal resolution in DPI.
1215
1124
</td>
1216
1125
</tr>
1217
1126
<tr>
1218
 
<td>
1219
 
<span class="term"><em class="parameter"><code>lower_boundary_x</code></em>&#160;:</span></td>
 
1127
<td><span class="term"><em class="parameter"><code>lower_boundary_x</code></em>&#160;:</span></td>
1220
1128
<td>       The lower boundary of the X coordinate.
1221
1129
</td>
1222
1130
</tr>
1223
1131
<tr>
1224
 
<td>
1225
 
<span class="term"><em class="parameter"><code>upper_boundary_x</code></em>&#160;:</span></td>
 
1132
<td><span class="term"><em class="parameter"><code>upper_boundary_x</code></em>&#160;:</span></td>
1226
1133
<td>       The upper boundary of the X coordinate.
1227
1134
</td>
1228
1135
</tr>
1229
1136
<tr>
1230
 
<td>
1231
 
<span class="term"><em class="parameter"><code>xsize_0</code></em>&#160;:</span></td>
 
1137
<td><span class="term"><em class="parameter"><code>xsize_0</code></em>&#160;:</span></td>
1232
1138
<td>                The X value which will be treated as 0%.
1233
1139
</td>
1234
1140
</tr>
1235
1141
<tr>
1236
 
<td>
1237
 
<span class="term"><em class="parameter"><code>xsize_100</code></em>&#160;:</span></td>
 
1142
<td><span class="term"><em class="parameter"><code>xsize_100</code></em>&#160;:</span></td>
1238
1143
<td>              The X value which will be treated as 100%.
1239
1144
</td>
1240
1145
</tr>
1241
1146
<tr>
1242
 
<td>
1243
 
<span class="term"><em class="parameter"><code>ylabel</code></em>&#160;:</span></td>
 
1147
<td><span class="term"><em class="parameter"><code>ylabel</code></em>&#160;:</span></td>
1244
1148
<td>                 The label for the Y coordinate.
1245
1149
</td>
1246
1150
</tr>
1247
1151
<tr>
1248
 
<td>
1249
 
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
 
1152
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
1250
1153
<td>                      The initial value of the Y coordinate.
1251
1154
</td>
1252
1155
</tr>
1253
1156
<tr>
1254
 
<td>
1255
 
<span class="term"><em class="parameter"><code>yres</code></em>&#160;:</span></td>
 
1157
<td><span class="term"><em class="parameter"><code>yres</code></em>&#160;:</span></td>
1256
1158
<td>                   The vertical resolution in DPI.
1257
1159
</td>
1258
1160
</tr>
1259
1161
<tr>
1260
 
<td>
1261
 
<span class="term"><em class="parameter"><code>lower_boundary_y</code></em>&#160;:</span></td>
 
1162
<td><span class="term"><em class="parameter"><code>lower_boundary_y</code></em>&#160;:</span></td>
1262
1163
<td>       The lower boundary of the Y coordinate.
1263
1164
</td>
1264
1165
</tr>
1265
1166
<tr>
1266
 
<td>
1267
 
<span class="term"><em class="parameter"><code>upper_boundary_y</code></em>&#160;:</span></td>
 
1167
<td><span class="term"><em class="parameter"><code>upper_boundary_y</code></em>&#160;:</span></td>
1268
1168
<td>       The upper boundary of the Y coordinate.
1269
1169
</td>
1270
1170
</tr>
1271
1171
<tr>
1272
 
<td>
1273
 
<span class="term"><em class="parameter"><code>ysize_0</code></em>&#160;:</span></td>
 
1172
<td><span class="term"><em class="parameter"><code>ysize_0</code></em>&#160;:</span></td>
1274
1173
<td>                The Y value which will be treated as 0%.
1275
1174
</td>
1276
1175
</tr>
1277
1176
<tr>
1278
 
<td>
1279
 
<span class="term"><em class="parameter"><code>ysize_100</code></em>&#160;:</span></td>
 
1177
<td><span class="term"><em class="parameter"><code>ysize_100</code></em>&#160;:</span></td>
1280
1178
<td>              The Y value which will be treated as 100%.
1281
1179
</td>
1282
1180
</tr>
1283
1181
<tr>
1284
 
<td>
1285
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
1182
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
1286
1183
<td> The new <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
1287
1184
</td>
1288
1185
</tr>
1291
1188
</div>
1292
1189
<hr>
1293
1190
<div class="refsect2" lang="en">
1294
 
<a name="id2623548"></a><h3>
 
1191
<a name="id2680174"></a><h3>
1295
1192
<a name="gimp-pixmap-button-new"></a>gimp_pixmap_button_new ()</h3>
1296
 
<a class="indexterm" name="id2623560"></a><pre class="programlisting">GtkWidget*  gimp_pixmap_button_new          (gchar **xpm_data,
1297
 
                                             const gchar *text);</pre>
 
1193
<a class="indexterm" name="id2680191"></a><pre class="programlisting">GtkWidget*          gimp_pixmap_button_new              (gchar **xpm_data,
 
1194
                                                         const gchar *text);</pre>
1298
1195
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1299
1196
<h3 class="title">Warning</h3>
1300
1197
<p><code class="literal">gimp_pixmap_button_new</code> is deprecated and should not be used in newly-written code.</p>
1309
1206
<col align="left" valign="top">
1310
1207
<tbody>
1311
1208
<tr>
1312
 
<td>
1313
 
<span class="term"><em class="parameter"><code>xpm_data</code></em>&#160;:</span></td>
 
1209
<td><span class="term"><em class="parameter"><code>xpm_data</code></em>&#160;:</span></td>
1314
1210
<td> The XPM data which will be passed to <a href="GimpPixmap.html#gimp-pixmap-new"><code class="function">gimp_pixmap_new()</code></a>.
1315
1211
</td>
1316
1212
</tr>
1317
1213
<tr>
1318
 
<td>
1319
 
<span class="term"><em class="parameter"><code>text</code></em>&#160;:</span></td>
 
1214
<td><span class="term"><em class="parameter"><code>text</code></em>&#160;:</span></td>
1320
1215
<td>     An optional text which will appear right of the pixmap.
1321
1216
</td>
1322
1217
</tr>
1323
1218
<tr>
1324
 
<td>
1325
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
1219
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
1326
1220
<td> The new <span class="type">GtkButton</span>.
1327
1221
</td>
1328
1222
</tr>
1331
1225
</div>
1332
1226
<hr>
1333
1227
<div class="refsect2" lang="en">
1334
 
<a name="id2623690"></a><h3>
 
1228
<a name="id2680326"></a><h3>
1335
1229
<a name="gimp-toggle-button-sensitive-update"></a>gimp_toggle_button_sensitive_update ()</h3>
1336
 
<a class="indexterm" name="id2623705"></a><pre class="programlisting">void        gimp_toggle_button_sensitive_update
1337
 
                                            (GtkToggleButton *toggle_button);</pre>
 
1230
<a class="indexterm" name="id2680341"></a><pre class="programlisting">void                gimp_toggle_button_sensitive_update (GtkToggleButton *toggle_button);</pre>
1338
1231
<p>
1339
1232
If you attached a pointer to a <span class="type">GtkWidget</span> with <code class="function">g_object_set_data()</code> and
1340
1233
the "set_sensitive" key to the <span class="type">GtkToggleButton</span>, the sensitive state of
1355
1248
<div class="variablelist"><table border="0">
1356
1249
<col align="left" valign="top">
1357
1250
<tbody><tr>
1358
 
<td>
1359
 
<span class="term"><em class="parameter"><code>toggle_button</code></em>&#160;:</span></td>
 
1251
<td><span class="term"><em class="parameter"><code>toggle_button</code></em>&#160;:</span></td>
1360
1252
<td> The <span class="type">GtkToggleButton</span> the "set_sensitive" and
1361
1253
                "inverse_sensitive" lists are attached to.
1362
1254
</td>
1365
1257
</div>
1366
1258
<hr>
1367
1259
<div class="refsect2" lang="en">
1368
 
<a name="id2623803"></a><h3>
 
1260
<a name="id2680438"></a><h3>
1369
1261
<a name="gimp-toggle-button-update"></a>gimp_toggle_button_update ()</h3>
1370
 
<a class="indexterm" name="id2623817"></a><pre class="programlisting">void        gimp_toggle_button_update       (GtkWidget *widget,
1371
 
                                             gpointer data);</pre>
 
1262
<a class="indexterm" name="id2680452"></a><pre class="programlisting">void                gimp_toggle_button_update           (GtkWidget *widget,
 
1263
                                                         gpointer data);</pre>
1372
1264
<p>
1373
1265
Note that this function calls <a href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update"><code class="function">gimp_toggle_button_sensitive_update()</code></a>.</p>
1374
1266
<p>
1378
1270
<col align="left" valign="top">
1379
1271
<tbody>
1380
1272
<tr>
1381
 
<td>
1382
 
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
1273
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
1383
1274
<td> A <span class="type">GtkToggleButton</span>.
1384
1275
</td>
1385
1276
</tr>
1386
1277
<tr>
1387
 
<td>
1388
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1278
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1389
1279
<td>   A pointer to a <span class="type">gint</span> variable which will store the value of
1390
1280
         <code class="function">gtk_toggle_button_get_active()</code>.
1391
1281
</td>
1395
1285
</div>
1396
1286
<hr>
1397
1287
<div class="refsect2" lang="en">
1398
 
<a name="id2623923"></a><h3>
 
1288
<a name="id2680559"></a><h3>
1399
1289
<a name="gimp-radio-button-update"></a>gimp_radio_button_update ()</h3>
1400
 
<a class="indexterm" name="id2623937"></a><pre class="programlisting">void        gimp_radio_button_update        (GtkWidget *widget,
1401
 
                                             gpointer data);</pre>
 
1290
<a class="indexterm" name="id2680573"></a><pre class="programlisting">void                gimp_radio_button_update            (GtkWidget *widget,
 
1291
                                                         gpointer data);</pre>
1402
1292
<p>
1403
1293
Note that this function calls <a href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update"><code class="function">gimp_toggle_button_sensitive_update()</code></a>.</p>
1404
1294
<p>
1408
1298
<col align="left" valign="top">
1409
1299
<tbody>
1410
1300
<tr>
1411
 
<td>
1412
 
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
1301
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
1413
1302
<td> A <span class="type">GtkRadioButton</span>.
1414
1303
</td>
1415
1304
</tr>
1416
1305
<tr>
1417
 
<td>
1418
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1306
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1419
1307
<td>   A pointer to a <span class="type">gint</span> variable which will store the value of
1420
1308
         GPOINTER_TO_INT (g_object_get_data (<em class="parameter"><code>widget</code></em>, "gimp-item-data")).
1421
1309
</td>
1425
1313
</div>
1426
1314
<hr>
1427
1315
<div class="refsect2" lang="en">
1428
 
<a name="id2624040"></a><h3>
 
1316
<a name="id2680677"></a><h3>
1429
1317
<a name="gimp-int-adjustment-update"></a>gimp_int_adjustment_update ()</h3>
1430
 
<a class="indexterm" name="id2624054"></a><pre class="programlisting">void        gimp_int_adjustment_update      (GtkAdjustment *adjustment,
1431
 
                                             gpointer data);</pre>
 
1318
<a class="indexterm" name="id2680691"></a><pre class="programlisting">void                gimp_int_adjustment_update          (GtkAdjustment *adjustment,
 
1319
                                                         gpointer data);</pre>
1432
1320
<p>
1433
1321
Note that the <span class="type">GtkAdjustment</span>'s value (which is a <span class="type">gdouble</span>) will be
1434
1322
rounded with <a
1441
1329
<col align="left" valign="top">
1442
1330
<tbody>
1443
1331
<tr>
1444
 
<td>
1445
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
1332
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
1446
1333
<td> A <span class="type">GtkAdjustment</span>.
1447
1334
</td>
1448
1335
</tr>
1449
1336
<tr>
1450
 
<td>
1451
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1337
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1452
1338
<td>       A pointer to a <span class="type">gint</span> variable which will store the
1453
1339
             <em class="parameter"><code>adjustment</code></em>'s value.
1454
1340
</td>
1458
1344
</div>
1459
1345
<hr>
1460
1346
<div class="refsect2" lang="en">
1461
 
<a name="id2624171"></a><h3>
 
1347
<a name="id2680808"></a><h3>
1462
1348
<a name="gimp-uint-adjustment-update"></a>gimp_uint_adjustment_update ()</h3>
1463
 
<a class="indexterm" name="id2624185"></a><pre class="programlisting">void        gimp_uint_adjustment_update     (GtkAdjustment *adjustment,
1464
 
                                             gpointer data);</pre>
 
1349
<a class="indexterm" name="id2680823"></a><pre class="programlisting">void                gimp_uint_adjustment_update         (GtkAdjustment *adjustment,
 
1350
                                                         gpointer data);</pre>
1465
1351
<p>
1466
1352
Note that the <span class="type">GtkAdjustment</span>'s value (which is a <span class="type">gdouble</span>) will be rounded
1467
1353
with (<span class="type">guint</span>) (value + 0.5).</p>
1472
1358
<col align="left" valign="top">
1473
1359
<tbody>
1474
1360
<tr>
1475
 
<td>
1476
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
1361
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
1477
1362
<td> A <span class="type">GtkAdjustment</span>.
1478
1363
</td>
1479
1364
</tr>
1480
1365
<tr>
1481
 
<td>
1482
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1366
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1483
1367
<td>       A pointer to a <span class="type">guint</span> variable which will store the
1484
1368
             <em class="parameter"><code>adjustment</code></em>'s value.
1485
1369
</td>
1489
1373
</div>
1490
1374
<hr>
1491
1375
<div class="refsect2" lang="en">
1492
 
<a name="id2624299"></a><h3>
 
1376
<a name="id2680937"></a><h3>
1493
1377
<a name="gimp-float-adjustment-update"></a>gimp_float_adjustment_update ()</h3>
1494
 
<a class="indexterm" name="id2624313"></a><pre class="programlisting">void        gimp_float_adjustment_update    (GtkAdjustment *adjustment,
1495
 
                                             gpointer data);</pre>
 
1378
<a class="indexterm" name="id2680952"></a><pre class="programlisting">void                gimp_float_adjustment_update        (GtkAdjustment *adjustment,
 
1379
                                                         gpointer data);</pre>
1496
1380
<p>
1497
1381
</p>
1498
1382
<p>
1502
1386
<col align="left" valign="top">
1503
1387
<tbody>
1504
1388
<tr>
1505
 
<td>
1506
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
1389
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
1507
1390
<td> A <span class="type">GtkAdjustment</span>.
1508
1391
</td>
1509
1392
</tr>
1510
1393
<tr>
1511
 
<td>
1512
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1394
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1513
1395
<td>       A pointer to a <span class="type">gfloat</span> varaiable which will store the
1514
1396
             <em class="parameter"><code>adjustment</code></em>'s value.
1515
1397
</td>
1519
1401
</div>
1520
1402
<hr>
1521
1403
<div class="refsect2" lang="en">
1522
 
<a name="id2624406"></a><h3>
 
1404
<a name="id2681045"></a><h3>
1523
1405
<a name="gimp-double-adjustment-update"></a>gimp_double_adjustment_update ()</h3>
1524
 
<a class="indexterm" name="id2624420"></a><pre class="programlisting">void        gimp_double_adjustment_update   (GtkAdjustment *adjustment,
1525
 
                                             gpointer data);</pre>
 
1406
<a class="indexterm" name="id2681059"></a><pre class="programlisting">void                gimp_double_adjustment_update       (GtkAdjustment *adjustment,
 
1407
                                                         gpointer data);</pre>
1526
1408
<p>
1527
1409
</p>
1528
1410
<p>
1532
1414
<col align="left" valign="top">
1533
1415
<tbody>
1534
1416
<tr>
1535
 
<td>
1536
 
<span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
 
1417
<td><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></td>
1537
1418
<td> A <span class="type">GtkAdjustment</span>.
1538
1419
</td>
1539
1420
</tr>
1540
1421
<tr>
1541
 
<td>
1542
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1422
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1543
1423
<td>       A pointer to a <span class="type">gdouble</span> variable which will store the
1544
1424
             <em class="parameter"><code>adjustment</code></em>'s value.
1545
1425
</td>
1549
1429
</div>
1550
1430
<hr>
1551
1431
<div class="refsect2" lang="en">
1552
 
<a name="id2624512"></a><h3>
 
1432
<a name="id2681152"></a><h3>
1553
1433
<a name="gimp-unit-menu-update"></a>gimp_unit_menu_update ()</h3>
1554
 
<a class="indexterm" name="id2624526"></a><pre class="programlisting">void        gimp_unit_menu_update           (GtkWidget *widget,
1555
 
                                             gpointer data);</pre>
 
1434
<a class="indexterm" name="id2681166"></a><pre class="programlisting">void                gimp_unit_menu_update               (GtkWidget *widget,
 
1435
                                                         gpointer data);</pre>
1556
1436
<p>
1557
1437
This callback can set the number of decimal digits of an arbitrary number
1558
1438
of <span class="type">GtkSpinButton</span>'s. To use this functionality, attach the spinbuttons
1569
1449
<col align="left" valign="top">
1570
1450
<tbody>
1571
1451
<tr>
1572
 
<td>
1573
 
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
1452
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
1574
1453
<td> A <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
1575
1454
</td>
1576
1455
</tr>
1577
1456
<tr>
1578
 
<td>
1579
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
1457
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
1580
1458
<td>   A pointer to a <a
1581
1459
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
1582
1460
><span class="type">GimpUnit</span></a> variable which will store the unit menu's
1588
1466
</div>
1589
1467
<hr>
1590
1468
<div class="refsect2" lang="en">
1591
 
<a name="id2624647"></a><h3>
 
1469
<a name="id2681287"></a><h3>
1592
1470
<a name="gimp-table-attach-aligned"></a>gimp_table_attach_aligned ()</h3>
1593
 
<a class="indexterm" name="id2624662"></a><pre class="programlisting">GtkWidget*  gimp_table_attach_aligned       (GtkTable *table,
1594
 
                                             gint column,
1595
 
                                             gint row,
1596
 
                                             const gchar *label_text,
1597
 
                                             gfloat xalign,
1598
 
                                             gfloat yalign,
1599
 
                                             GtkWidget *widget,
1600
 
                                             gint colspan,
1601
 
                                             gboolean left_align);</pre>
 
1471
<a class="indexterm" name="id2681302"></a><pre class="programlisting">GtkWidget*          gimp_table_attach_aligned           (GtkTable *table,
 
1472
                                                         gint column,
 
1473
                                                         gint row,
 
1474
                                                         const gchar *label_text,
 
1475
                                                         gfloat xalign,
 
1476
                                                         gfloat yalign,
 
1477
                                                         GtkWidget *widget,
 
1478
                                                         gint colspan,
 
1479
                                                         gboolean left_align);</pre>
1602
1480
<p>
1603
1481
Note that the <em class="parameter"><code>label_text</code></em> can be <code class="literal">NULL</code> and that the widget will be
1604
1482
attached starting at (<em class="parameter"><code>column</code></em> + 1) in this case, too.</p>
1609
1487
<col align="left" valign="top">
1610
1488
<tbody>
1611
1489
<tr>
1612
 
<td>
1613
 
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
 
1490
<td><span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
1614
1491
<td>      The <span class="type">GtkTable</span> the widgets will be attached to.
1615
1492
</td>
1616
1493
</tr>
1617
1494
<tr>
1618
 
<td>
1619
 
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
 
1495
<td><span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
1620
1496
<td>     The column to start with.
1621
1497
</td>
1622
1498
</tr>
1623
1499
<tr>
1624
 
<td>
1625
 
<span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
 
1500
<td><span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
1626
1501
<td>        The row to attach the widgets.
1627
1502
</td>
1628
1503
</tr>
1629
1504
<tr>
1630
 
<td>
1631
 
<span class="term"><em class="parameter"><code>label_text</code></em>&#160;:</span></td>
 
1505
<td><span class="term"><em class="parameter"><code>label_text</code></em>&#160;:</span></td>
1632
1506
<td> The text for the <span class="type">GtkLabel</span> which will be attached left of
1633
1507
             the widget.
1634
1508
</td>
1635
1509
</tr>
1636
1510
<tr>
1637
 
<td>
1638
 
<span class="term"><em class="parameter"><code>xalign</code></em>&#160;:</span></td>
 
1511
<td><span class="term"><em class="parameter"><code>xalign</code></em>&#160;:</span></td>
1639
1512
<td>     The horizontal alignment of the <span class="type">GtkLabel</span>.
1640
1513
</td>
1641
1514
</tr>
1642
1515
<tr>
1643
 
<td>
1644
 
<span class="term"><em class="parameter"><code>yalign</code></em>&#160;:</span></td>
 
1516
<td><span class="term"><em class="parameter"><code>yalign</code></em>&#160;:</span></td>
1645
1517
<td>     The vertival alignment of the <span class="type">GtkLabel</span>.
1646
1518
</td>
1647
1519
</tr>
1648
1520
<tr>
1649
 
<td>
1650
 
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
1521
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
1651
1522
<td>     The <span class="type">GtkWidget</span> to attach right of the label.
1652
1523
</td>
1653
1524
</tr>
1654
1525
<tr>
1655
 
<td>
1656
 
<span class="term"><em class="parameter"><code>colspan</code></em>&#160;:</span></td>
 
1526
<td><span class="term"><em class="parameter"><code>colspan</code></em>&#160;:</span></td>
1657
1527
<td>    The number of columns the widget will use.
1658
1528
</td>
1659
1529
</tr>
1660
1530
<tr>
1661
 
<td>
1662
 
<span class="term"><em class="parameter"><code>left_align</code></em>&#160;:</span></td>
 
1531
<td><span class="term"><em class="parameter"><code>left_align</code></em>&#160;:</span></td>
1663
1532
<td> <code class="literal">TRUE</code> if the widget should be left-aligned.
1664
1533
</td>
1665
1534
</tr>
1666
1535
<tr>
1667
 
<td>
1668
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
1536
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
1669
1537
<td> The created <span class="type">GtkLabel</span>.
1670
1538
</td>
1671
1539
</tr>
1674
1542
</div>
1675
1543
<hr>
1676
1544
<div class="refsect2" lang="en">
1677
 
<a name="id2624969"></a><h3>
 
1545
<a name="id2681611"></a><h3>
1678
1546
<a name="gimp-label-set-attributes"></a>gimp_label_set_attributes ()</h3>
1679
 
<a class="indexterm" name="id2624986"></a><pre class="programlisting">void        gimp_label_set_attributes       (GtkLabel *label,
1680
 
                                             ...);</pre>
 
1547
<a class="indexterm" name="id2681627"></a><pre class="programlisting">void                gimp_label_set_attributes           (GtkLabel *label,
 
1548
                                                         ...);</pre>
1681
1549
<p>
1682
1550
Sets Pango attributes on a <span class="type">GtkLabel</span> in a more convenient way than
1683
1551
<code class="function">gtk_label_set_attributes()</code>.
1698
1566
<col align="left" valign="top">
1699
1567
<tbody>
1700
1568
<tr>
1701
 
<td>
1702
 
<span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
 
1569
<td><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
1703
1570
<td> a <span class="type">GtkLabel</span>
1704
1571
</td>
1705
1572
</tr>
1706
1573
<tr>
1707
 
<td>
1708
 
<span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
 
1574
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
1709
1575
<td>   a list of PangoAttrType and value pairs terminated by -1.
1710
1576
</td>
1711
1577
</tr>
1712
1578
</tbody>
1713
1579
</table></div>
1714
 
<p>Since  GIMP 2.2
 
1580
<p class="since">Since  GIMP 2.2
1715
1581
</p>
1716
1582
</div>
1717
1583
</div>