~ubuntu-branches/ubuntu/karmic/gimp/karmic-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-08-31 10:24:10 UTC
  • mfrom: (1.1.21 upstream) (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090831102410-eqawgw6fhdyi91ee
Tags: 2.6.7-1ubuntu1
* Merge with Debian unstable (LP: #419593), remaining changes:
  - debian/patches/02_help-message.patch,
    debian/patches/03_gimp.desktop.in.in.patch:
    + updated some strings for ubuntu
  - debian/rules:
    + updated translation templates
  - debian/control:
    + Drop webkit build dependency. gimp is the only thing pulling in webkit
      for the desktop CDs, and makes them explode. Without the webkit help
      browser plugin, help will just be displayed in the default browser.
* debian/patches/01_debian-gimprc.patch:
  - Updated
* debian/control:
  - Added a BZR link

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=UTF-8">
5
5
<title>GimpZoomModel</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpUnitMenu.html" title="GimpUnitMenu">
10
10
<link rel="next" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
34
34
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
35
35
<td><a accesskey="n" href="libgimpwidgets-cell-renderers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
36
36
</tr>
37
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpZoomModel.synopsis" class="shortcut">Top</a>
38
 
                   | 
39
 
                  <a href="#GimpZoomModel.description" class="shortcut">Description</a>
40
 
                   | 
41
 
                  <a href="#GimpZoomModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
42
 
                   | 
43
 
                  <a href="#GimpZoomModel.properties" class="shortcut">Properties</a>
44
 
                   | 
45
 
                  <a href="#GimpZoomModel.signals" class="shortcut">Signals</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts">
 
38
<a href="#GimpZoomModel.synopsis" class="shortcut">Top</a>
 
39
                 | 
 
40
                <a href="#GimpZoomModel.description" class="shortcut">Description</a>
 
41
                 | 
 
42
                <a href="#GimpZoomModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
43
                 | 
 
44
                <a href="#GimpZoomModel.properties" class="shortcut">Properties</a>
 
45
                 | 
 
46
                <a href="#GimpZoomModel.signals" class="shortcut">Signals</a>
 
47
</td></tr>
46
48
</table>
47
 
<div class="refentry" lang="en">
 
49
<div class="refentry" title="GimpZoomModel">
48
50
<a name="GimpZoomModel"></a><div class="titlepage"></div>
49
51
<div class="refnamediv"><table width="100%"><tr>
50
52
<td valign="top">
53
55
</td>
54
56
<td valign="top" align="right"></td>
55
57
</tr></table></div>
56
 
<div class="refsynopsisdiv">
 
58
<div class="refsynopsisdiv" title="Synopsis">
57
59
<a name="GimpZoomModel.synopsis"></a><h2>Synopsis</h2>
58
60
<pre class="synopsis">
59
61
                    <a class="link" href="GimpZoomModel.html#GimpZoomModel-struct" title="GimpZoomModel">GimpZoomModel</a>;
60
62
enum                <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a>;
61
 
<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>*      <a class="link" href="GimpZoomModel.html#gimp-zoom-model-new" title="gimp_zoom_model_new ()">gimp_zoom_model_new</a>                 (void);
 
63
<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *     <a class="link" href="GimpZoomModel.html#gimp-zoom-model-new" title="gimp_zoom_model_new ()">gimp_zoom_model_new</a>                 (void);
62
64
void                <a class="link" href="GimpZoomModel.html#gimp-zoom-model-set-range" title="gimp_zoom_model_set_range ()">gimp_zoom_model_set_range</a>           (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
63
65
                                                         <a
64
66
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
82
84
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
83
85
>gint</a> *denominator);
84
86
<a
85
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
86
 
>GtkWidget</a>*          <a class="link" href="GimpZoomModel.html#gimp-zoom-button-new" title="gimp_zoom_button_new ()">gimp_zoom_button_new</a>                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
 
87
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
88
>GtkWidget</a> *         <a class="link" href="GimpZoomModel.html#gimp-zoom-button-new" title="gimp_zoom_button_new ()">gimp_zoom_button_new</a>                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
87
89
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
88
90
                                                         <a
89
 
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
 
91
href="http://library.gnome.org/devel/gtk/unstable/gtk-Themeable-Stock-Images.html#GtkIconSize"
90
92
>GtkIconSize</a> icon_size);
91
93
<a
92
94
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
96
98
>gdouble</a> scale);
97
99
</pre>
98
100
</div>
99
 
<div class="refsect1" lang="en">
 
101
<div class="refsect1" title="Object Hierarchy">
100
102
<a name="GimpZoomModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
101
103
<pre class="synopsis">
102
104
  <a
105
107
   +----GimpZoomModel
106
108
</pre>
107
109
</div>
108
 
<div class="refsect1" lang="en">
 
110
<div class="refsect1" title="Properties">
109
111
<a name="GimpZoomModel.properties"></a><h2>Properties</h2>
110
112
<pre class="synopsis">
111
113
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--fraction" title='The "fraction" property'>fraction</a>"                 <a
125
127
>gdouble</a>               : Read / Write
126
128
</pre>
127
129
</div>
128
 
<div class="refsect1" lang="en">
 
130
<div class="refsect1" title="Signals">
129
131
<a name="GimpZoomModel.signals"></a><h2>Signals</h2>
130
132
<pre class="synopsis">
131
133
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel-zoomed" title='The "zoomed" signal'>zoomed</a>"                                         : Run Last
132
134
</pre>
133
135
</div>
134
 
<div class="refsect1" lang="en">
 
136
<div class="refsect1" title="Description">
135
137
<a name="GimpZoomModel.description"></a><h2>Description</h2>
136
138
<p>
137
 
 
138
139
</p>
139
140
</div>
140
 
<div class="refsect1" lang="en">
 
141
<div class="refsect1" title="Details">
141
142
<a name="GimpZoomModel.details"></a><h2>Details</h2>
142
 
<div class="refsect2" lang="en">
 
143
<div class="refsect2" title="GimpZoomModel">
143
144
<a name="GimpZoomModel-struct"></a><h3>GimpZoomModel</h3>
144
145
<pre class="programlisting">typedef struct _GimpZoomModel GimpZoomModel;</pre>
145
146
<p>
146
 
 
147
147
</p>
148
148
</div>
149
149
<hr>
150
 
<div class="refsect2" lang="en">
 
150
<div class="refsect2" title="enum GimpZoomType">
151
151
<a name="GimpZoomType"></a><h3>enum GimpZoomType</h3>
152
152
<pre class="programlisting">typedef enum
153
153
{
161
161
} GimpZoomType;
162
162
</pre>
163
163
<p>
164
 
 
165
164
</p>
166
165
</div>
167
166
<hr>
168
 
<div class="refsect2" lang="en">
 
167
<div class="refsect2" title="gimp_zoom_model_new ()">
169
168
<a name="gimp-zoom-model-new"></a><h3>gimp_zoom_model_new ()</h3>
170
 
<pre class="programlisting"><a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>*      gimp_zoom_model_new                 (void);</pre>
 
169
<pre class="programlisting"><a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *     gimp_zoom_model_new                 (void);</pre>
171
170
<p>
172
171
Creates a new <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>.</p>
173
172
<p>
174
 
 
175
173
</p>
176
174
<div class="variablelist"><table border="0">
177
175
<col align="left" valign="top">
185
183
</table></div>
186
184
</div>
187
185
<hr>
188
 
<div class="refsect2" lang="en">
 
186
<div class="refsect2" title="gimp_zoom_model_set_range ()">
189
187
<a name="gimp-zoom-model-set-range"></a><h3>gimp_zoom_model_set_range ()</h3>
190
188
<pre class="programlisting">void                gimp_zoom_model_set_range           (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
191
189
                                                         <a
200
198
<p>
201
199
Since GIMP 2.4</p>
202
200
<p>
203
 
 
204
201
</p>
205
202
<div class="variablelist"><table border="0">
206
203
<col align="left" valign="top">
224
221
</table></div>
225
222
</div>
226
223
<hr>
227
 
<div class="refsect2" lang="en">
 
224
<div class="refsect2" title="gimp_zoom_model_zoom ()">
228
225
<a name="gimp-zoom-model-zoom"></a><h3>gimp_zoom_model_zoom ()</h3>
229
226
<pre class="programlisting">void                gimp_zoom_model_zoom                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
230
227
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
234
231
<p>
235
232
Since GIMP 2.4</p>
236
233
<p>
237
 
 
238
234
</p>
239
235
<div class="variablelist"><table border="0">
240
236
<col align="left" valign="top">
258
254
</table></div>
259
255
</div>
260
256
<hr>
261
 
<div class="refsect2" lang="en">
 
257
<div class="refsect2" title="gimp_zoom_model_get_factor ()">
262
258
<a name="gimp-zoom-model-get-factor"></a><h3>gimp_zoom_model_get_factor ()</h3>
263
259
<pre class="programlisting"><a
264
260
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
266
262
<p>
267
263
Retrieves the current zoom factor of <em class="parameter"><code>model</code></em>.</p>
268
264
<p>
269
 
 
270
265
</p>
271
266
<div class="variablelist"><table border="0">
272
267
<col align="left" valign="top">
287
282
</table></div>
288
283
</div>
289
284
<hr>
290
 
<div class="refsect2" lang="en">
 
285
<div class="refsect2" title="gimp_zoom_model_get_fraction ()">
291
286
<a name="gimp-zoom-model-get-fraction"></a><h3>gimp_zoom_model_get_fraction ()</h3>
292
287
<pre class="programlisting">void                gimp_zoom_model_get_fraction        (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
293
288
                                                         <a
302
297
<p>
303
298
Since GIMP 2.4</p>
304
299
<p>
305
 
 
306
300
</p>
307
301
<div class="variablelist"><table border="0">
308
302
<col align="left" valign="top">
326
320
</table></div>
327
321
</div>
328
322
<hr>
329
 
<div class="refsect2" lang="en">
 
323
<div class="refsect2" title="gimp_zoom_button_new ()">
330
324
<a name="gimp-zoom-button-new"></a><h3>gimp_zoom_button_new ()</h3>
331
325
<pre class="programlisting"><a
332
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
333
 
>GtkWidget</a>*          gimp_zoom_button_new                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
 
326
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
327
>GtkWidget</a> *         gimp_zoom_button_new                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
334
328
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
335
329
                                                         <a
336
 
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
 
330
href="http://library.gnome.org/devel/gtk/unstable/gtk-Themeable-Stock-Images.html#GtkIconSize"
337
331
>GtkIconSize</a> icon_size);</pre>
338
332
<p>
339
333
</p>
340
334
<p>
341
 
 
342
335
</p>
343
336
<div class="variablelist"><table border="0">
344
337
<col align="left" valign="top">
369
362
</table></div>
370
363
</div>
371
364
<hr>
372
 
<div class="refsect2" lang="en">
 
365
<div class="refsect2" title="gimp_zoom_model_zoom_step ()">
373
366
<a name="gimp-zoom-model-zoom-step"></a><h3>gimp_zoom_model_zoom_step ()</h3>
374
367
<pre class="programlisting"><a
375
368
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
380
373
<p>
381
374
Utility function to calculate a new scale factor.</p>
382
375
<p>
383
 
 
384
376
</p>
385
377
<div class="variablelist"><table border="0">
386
378
<col align="left" valign="top">
406
398
</table></div>
407
399
</div>
408
400
</div>
409
 
<div class="refsect1" lang="en">
 
401
<div class="refsect1" title="Property Details">
410
402
<a name="GimpZoomModel.property-details"></a><h2>Property Details</h2>
411
 
<div class="refsect2" lang="en">
 
403
<div class="refsect2" title='The "fraction" property'>
412
404
<a name="GimpZoomModel--fraction"></a><h3>The <code class="literal">"fraction"</code> property</h3>
413
405
<pre class="programlisting">  "fraction"                 <a
414
406
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
417
409
<p>Default value: "1:1"</p>
418
410
</div>
419
411
<hr>
420
 
<div class="refsect2" lang="en">
 
412
<div class="refsect2" title='The "maximum" property'>
421
413
<a name="GimpZoomModel--maximum"></a><h3>The <code class="literal">"maximum"</code> property</h3>
422
414
<pre class="programlisting">  "maximum"                  <a
423
415
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
427
419
<p>Default value: 256</p>
428
420
</div>
429
421
<hr>
430
 
<div class="refsect2" lang="en">
 
422
<div class="refsect2" title='The "minimum" property'>
431
423
<a name="GimpZoomModel--minimum"></a><h3>The <code class="literal">"minimum"</code> property</h3>
432
424
<pre class="programlisting">  "minimum"                  <a
433
425
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
437
429
<p>Default value: 0.00390625</p>
438
430
</div>
439
431
<hr>
440
 
<div class="refsect2" lang="en">
 
432
<div class="refsect2" title='The "percentage" property'>
441
433
<a name="GimpZoomModel--percentage"></a><h3>The <code class="literal">"percentage"</code> property</h3>
442
434
<pre class="programlisting">  "percentage"               <a
443
435
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
446
438
<p>Default value: "100%"</p>
447
439
</div>
448
440
<hr>
449
 
<div class="refsect2" lang="en">
 
441
<div class="refsect2" title='The "value" property'>
450
442
<a name="GimpZoomModel--value"></a><h3>The <code class="literal">"value"</code> property</h3>
451
443
<pre class="programlisting">  "value"                    <a
452
444
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
456
448
<p>Default value: 1</p>
457
449
</div>
458
450
</div>
459
 
<div class="refsect1" lang="en">
 
451
<div class="refsect1" title="Signal Details">
460
452
<a name="GimpZoomModel.signal-details"></a><h2>Signal Details</h2>
461
 
<div class="refsect2" lang="en">
 
453
<div class="refsect2" title='The "zoomed" signal'>
462
454
<a name="GimpZoomModel-zoomed"></a><h3>The <code class="literal">"zoomed"</code> signal</h3>
463
455
<pre class="programlisting">void                user_function                      (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
464
456
                                                        <a
473
465
<p>
474
466
Emitted when the zoom factor of the zoom model changes.</p>
475
467
<p>
476
 
 
477
468
</p>
478
469
<div class="variablelist"><table border="0">
479
470
<col align="left" valign="top">
504
495
</div>
505
496
<div class="footer">
506
497
<hr>
507
 
          Generated by GTK-Doc V1.10</div>
 
498
          Generated by GTK-Doc V1.11</div>
508
499
</body>
509
500
</html>