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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpOffsetArea.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>GimpOffsetArea</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-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
9
9
<link rel="prev" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">
10
 
<link rel="next" href="GimpPathEditor.html" title="GimpPathEditor">
11
 
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
 
10
<link rel="next" href="GimpPageSelector.html" title="GimpPageSelector">
 
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">
26
31
<td><a accesskey="u" href="libgimpwidgets-widgets.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
 
<td><a accesskey="n" href="GimpPathEditor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
34
<td><a accesskey="n" href="GimpPageSelector.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>
32
 
                  &#160;|&#160;
33
 
                  <a href="#desc" class="shortcut">Description</a>
34
 
                  &#160;|&#160;
35
 
                  <a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
36
 
                  &#160;|&#160;
37
 
                  <a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
 
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2599762" class="shortcut">Top</a>
 
37
                  &#160;|&#160;
 
38
                  <a href="#id2609843" class="shortcut">Description</a>
 
39
                  &#160;|&#160;
 
40
                  <a href="#id2612348" class="shortcut">Object Hierarchy</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id2609796" class="shortcut">Implemented Interfaces</a>
 
43
                  &#160;|&#160;
 
44
                  <a href="#id2609818" class="shortcut">Signals</a></nobr></td></tr>
38
45
</table>
39
46
<div class="refentry" lang="en">
40
47
<a name="GimpOffsetArea"></a><div class="titlepage"></div>
41
48
<div class="refnamediv"><table width="100%"><tr>
42
49
<td valign="top">
43
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpOffsetArea</span></h2>
 
50
<h2>
 
51
<a name="id2599762"></a><span class="refentrytitle">GimpOffsetArea</span>
 
52
</h2>
44
53
<p>GimpOffsetArea &#8212; Widget to control image offsets.</p>
45
54
</td>
46
 
<td valign="top" align="right"></td>
 
55
<td valign="top" align="right"><img src="gimp-offset-area.png"></td>
47
56
</tr></table></div>
48
57
<div class="refsynopsisdiv">
49
 
<a name="synopsis"></a><h2>Synopsis</h2>
 
58
<h2>Synopsis</h2>
50
59
<pre class="synopsis">
51
60
 
52
61
 
53
62
 
54
 
            <a href="GimpOffsetArea.html#GimpOffsetArea-struct">GimpOffsetArea</a>;
55
 
GtkWidget*  <a href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a>            (gint orig_width,
56
 
                                             gint orig_height);
57
 
void        <a href="GimpOffsetArea.html#gimp-offset-area-set-size">gimp_offset_area_set_size</a>       (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
58
 
                                             gint width,
59
 
                                             gint height);
60
 
void        <a href="GimpOffsetArea.html#gimp-offset-area-set-offsets">gimp_offset_area_set_offsets</a>    (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
61
 
                                             gint offset_x,
62
 
                                             gint offset_y);
63
 
void        <a href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf">gimp_offset_area_set_pixbuf</a>     (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
64
 
                                             GdkPixbuf *pixbuf);
 
63
                    <a href="GimpOffsetArea.html#GimpOffsetArea-struct">GimpOffsetArea</a>;
 
64
GtkWidget*          <a href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a>                (gint orig_width,
 
65
                                                         gint orig_height);
 
66
void                <a href="GimpOffsetArea.html#gimp-offset-area-set-size">gimp_offset_area_set_size</a>           (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
 
67
                                                         gint width,
 
68
                                                         gint height);
 
69
void                <a href="GimpOffsetArea.html#gimp-offset-area-set-offsets">gimp_offset_area_set_offsets</a>        (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
 
70
                                                         gint offset_x,
 
71
                                                         gint offset_y);
 
72
void                <a href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf">gimp_offset_area_set_pixbuf</a>         (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
 
73
                                                         GdkPixbuf *pixbuf);
65
74
 
66
75
</pre>
67
76
</div>
68
77
<div class="refsect1" lang="en">
69
 
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
 
78
<a name="id2612348"></a><h2>Object Hierarchy</h2>
70
79
<pre class="synopsis">
71
80
 
72
81
  GObject
78
87
</pre>
79
88
</div>
80
89
<div class="refsect1" lang="en">
81
 
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
 
90
<a name="id2609796"></a><h2>Implemented Interfaces</h2>
82
91
<p>
83
92
GimpOffsetArea implements
84
93
 AtkImplementorIface.</p>
85
94
</div>
86
95
<div class="refsect1" lang="en">
87
 
<a name="signal_proto"></a><h2>Signals</h2>
 
96
<a name="id2609818"></a><h2>Signals</h2>
88
97
<pre class="synopsis">
89
98
 
90
 
"<a href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed">offsets-changed</a>"
91
 
            void        user_function      (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
92
 
                                            gint            arg1,
93
 
                                            gint            arg2,
94
 
                                            gpointer        user_data)           : Run first
 
99
  "<a href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed">offsets-changed</a>"                                : Run First
95
100
</pre>
96
101
</div>
97
102
<div class="refsect1" lang="en">
98
 
<a name="desc"></a><h2>Description</h2>
 
103
<a name="id2609843"></a><h2>Description</h2>
99
104
<p>
100
105
 
101
106
</p>
102
107
</div>
103
108
<div class="refsect1" lang="en">
104
 
<a name="details"></a><h2>Details</h2>
 
109
<a name="id2609858"></a><h2>Details</h2>
105
110
<div class="refsect2" lang="en">
106
 
<a name="id2564036"></a><h3>
 
111
<a name="id2609869"></a><h3>
107
112
<a name="GimpOffsetArea-struct"></a>GimpOffsetArea</h3>
108
 
<a class="indexterm" name="id2564047"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
 
113
<a class="indexterm" name="id2609881"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
109
114
<p>
110
115
 
111
116
</p>
112
117
</div>
113
118
<hr>
114
119
<div class="refsect2" lang="en">
115
 
<a name="id2564063"></a><h3>
 
120
<a name="id2609897"></a><h3>
116
121
<a name="gimp-offset-area-new"></a>gimp_offset_area_new ()</h3>
117
 
<a class="indexterm" name="id2564074"></a><pre class="programlisting">GtkWidget*  gimp_offset_area_new            (gint orig_width,
118
 
                                             gint orig_height);</pre>
 
122
<a class="indexterm" name="id2609908"></a><pre class="programlisting">GtkWidget*          gimp_offset_area_new                (gint orig_width,
 
123
                                                         gint orig_height);</pre>
119
124
<p>
120
125
Creates a new <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget. A <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> can be used
121
126
when resizing an image or a drawable to allow the user to interactively
127
132
<col align="left" valign="top">
128
133
<tbody>
129
134
<tr>
130
 
<td>
131
 
<span class="term"><em class="parameter"><code>orig_width</code></em>&#160;:</span></td>
 
135
<td><span class="term"><em class="parameter"><code>orig_width</code></em>&#160;:</span></td>
132
136
<td> the original width
133
137
</td>
134
138
</tr>
135
139
<tr>
136
 
<td>
137
 
<span class="term"><em class="parameter"><code>orig_height</code></em>&#160;:</span></td>
 
140
<td><span class="term"><em class="parameter"><code>orig_height</code></em>&#160;:</span></td>
138
141
<td> the original height
139
142
</td>
140
143
</tr>
141
144
<tr>
142
 
<td>
143
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
145
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
144
146
<td> the new <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget.
145
147
</td>
146
148
</tr>
149
151
</div>
150
152
<hr>
151
153
<div class="refsect2" lang="en">
152
 
<a name="id2567406"></a><h3>
 
154
<a name="id2611518"></a><h3>
153
155
<a name="gimp-offset-area-set-size"></a>gimp_offset_area_set_size ()</h3>
154
 
<a class="indexterm" name="id2567417"></a><pre class="programlisting">void        gimp_offset_area_set_size       (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
155
 
                                             gint width,
156
 
                                             gint height);</pre>
 
156
<a class="indexterm" name="id2611529"></a><pre class="programlisting">void                gimp_offset_area_set_size           (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
 
157
                                                         gint width,
 
158
                                                         gint height);</pre>
157
159
<p>
158
160
Sets the size of the image/drawable displayed by the <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
159
 
If the offsets change as a result of this change, the <code class="literal">offsets_changed</code>
 
161
If the offsets change as a result of this change, the "offsets-changed"
160
162
signal is emitted.</p>
161
163
<p>
162
164
 
165
167
<col align="left" valign="top">
166
168
<tbody>
167
169
<tr>
168
 
<td>
169
 
<span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></td>
 
170
<td><span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></td>
170
171
<td> a <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
171
172
</td>
172
173
</tr>
173
174
<tr>
174
 
<td>
175
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
175
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
176
176
<td> the new width
177
177
</td>
178
178
</tr>
179
179
<tr>
180
 
<td>
181
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
180
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
182
181
<td> the new height
183
182
</td>
184
183
</tr>
187
186
</div>
188
187
<hr>
189
188
<div class="refsect2" lang="en">
190
 
<a name="id2567535"></a><h3>
 
189
<a name="id2611639"></a><h3>
191
190
<a name="gimp-offset-area-set-offsets"></a>gimp_offset_area_set_offsets ()</h3>
192
 
<a class="indexterm" name="id2567546"></a><pre class="programlisting">void        gimp_offset_area_set_offsets    (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
193
 
                                             gint offset_x,
194
 
                                             gint offset_y);</pre>
 
191
<a class="indexterm" name="id2611650"></a><pre class="programlisting">void                gimp_offset_area_set_offsets        (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
 
192
                                                         gint offset_x,
 
193
                                                         gint offset_y);</pre>
195
194
<p>
196
195
Sets the offsets of the image/drawable displayed by the <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
197
 
It does not emit the <code class="literal">offsets_changed</code> signal.</p>
 
196
It does not emit the "offsets-changed" signal.</p>
198
197
<p>
199
198
 
200
199
</p>
202
201
<col align="left" valign="top">
203
202
<tbody>
204
203
<tr>
205
 
<td>
206
 
<span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></td>
 
204
<td><span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></td>
207
205
<td> a <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
208
206
</td>
209
207
</tr>
210
208
<tr>
211
 
<td>
212
 
<span class="term"><em class="parameter"><code>offset_x</code></em>&#160;:</span></td>
 
209
<td><span class="term"><em class="parameter"><code>offset_x</code></em>&#160;:</span></td>
213
210
<td> the X offset
214
211
</td>
215
212
</tr>
216
213
<tr>
217
 
<td>
218
 
<span class="term"><em class="parameter"><code>offset_y</code></em>&#160;:</span></td>
 
214
<td><span class="term"><em class="parameter"><code>offset_y</code></em>&#160;:</span></td>
219
215
<td> the Y offset
220
216
</td>
221
217
</tr>
224
220
</div>
225
221
<hr>
226
222
<div class="refsect2" lang="en">
227
 
<a name="id2569716"></a><h3>
 
223
<a name="id2610519"></a><h3>
228
224
<a name="gimp-offset-area-set-pixbuf"></a>gimp_offset_area_set_pixbuf ()</h3>
229
 
<a class="indexterm" name="id2569729"></a><pre class="programlisting">void        gimp_offset_area_set_pixbuf     (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
230
 
                                             GdkPixbuf *pixbuf);</pre>
 
225
<a class="indexterm" name="id2610532"></a><pre class="programlisting">void                gimp_offset_area_set_pixbuf         (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
 
226
                                                         GdkPixbuf *pixbuf);</pre>
231
227
<p>
232
228
Sets the pixbuf which represents the original image/drawable which
233
229
is being offset.</p>
238
234
<col align="left" valign="top">
239
235
<tbody>
240
236
<tr>
241
 
<td>
242
 
<span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></td>
 
237
<td><span class="term"><em class="parameter"><code>offset_area</code></em>&#160;:</span></td>
243
238
<td> a <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
244
239
</td>
245
240
</tr>
246
241
<tr>
247
 
<td>
248
 
<span class="term"><em class="parameter"><code>pixbuf</code></em>&#160;:</span></td>
 
242
<td><span class="term"><em class="parameter"><code>pixbuf</code></em>&#160;:</span></td>
249
243
<td> a <span class="type">GdkPixbuf</span>.
250
244
</td>
251
245
</tr>
252
246
</tbody>
253
247
</table></div>
254
 
<p>Since  GIMP 2.2
 
248
<p class="since">Since  GIMP 2.2
255
249
</p>
256
250
</div>
257
251
</div>
258
252
<div class="refsect1" lang="en">
259
 
<a name="signals"></a><h2>Signal Details</h2>
 
253
<a name="id2610628"></a><h2>Signal Details</h2>
260
254
<div class="refsect2" lang="en">
261
 
<a name="id2569832"></a><h3>
 
255
<a name="id2610639"></a><h3>
262
256
<a name="GimpOffsetArea-offsets-changed"></a>The "offsets-changed" signal</h3>
263
 
<a class="indexterm" name="id2569840"></a><pre class="programlisting">void        user_function                  (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
264
 
                                            gint            arg1,
265
 
                                            gint            arg2,
266
 
                                            gpointer        user_data)           : Run first</pre>
 
257
<a class="indexterm" name="id2610646"></a><pre class="programlisting">void                user_function                      (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
 
258
                                                        gint            arg1,
 
259
                                                        gint            arg2,
 
260
                                                        gpointer        user_data)           : Run First</pre>
267
261
<p>
268
262
 
269
263
</p>
271
265
<col align="left" valign="top">
272
266
<tbody>
273
267
<tr>
274
 
<td>
275
 
<span class="term"><em class="parameter"><code>gimpoffsetarea</code></em>&#160;:</span></td>
 
268
<td><span class="term"><em class="parameter"><code>gimpoffsetarea</code></em>&#160;:</span></td>
276
269
<td>the object which received the signal.
277
270
</td>
278
271
</tr>
279
272
<tr>
280
 
<td>
281
 
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
 
273
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
282
274
<td>
283
275
</td>
284
276
</tr>
285
277
<tr>
286
 
<td>
287
 
<span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
 
278
<td><span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
288
279
<td>
289
280
 
290
281
</td>
291
282
</tr>
292
283
<tr>
293
 
<td>
294
 
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
284
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
295
285
<td>user data set when the signal handler was connected.</td>
296
286
</tr>
297
287
</tbody>