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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-10 00:13:42 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20081010001342-uja9qine9uybggd9
Tags: 2.6.1-1ubuntu1
* Sync new bugfix version on debian (lp: #280345, #280848)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
enum                <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a>;
61
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);
62
62
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
 
                                                         gdouble min,
64
 
                                                         gdouble max);
 
63
                                                         <a
 
64
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
65
>gdouble</a> min,
 
66
                                                         <a
 
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
68
>gdouble</a> max);
65
69
void                <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom" title="gimp_zoom_model_zoom ()">gimp_zoom_model_zoom</a>                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
66
70
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
67
 
                                                         gdouble scale);
68
 
gdouble             <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-factor" title="gimp_zoom_model_get_factor ()">gimp_zoom_model_get_factor</a>          (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);
 
71
                                                         <a
 
72
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
73
>gdouble</a> scale);
 
74
<a
 
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
76
>gdouble</a>             <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-factor" title="gimp_zoom_model_get_factor ()">gimp_zoom_model_get_factor</a>          (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);
69
77
void                <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-fraction" title="gimp_zoom_model_get_fraction ()">gimp_zoom_model_get_fraction</a>        (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
70
 
                                                         gint *numerator,
71
 
                                                         gint *denominator);
72
 
GtkWidget*          <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,
 
78
                                                         <a
 
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
80
>gint</a> *numerator,
 
81
                                                         <a
 
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
83
>gint</a> *denominator);
 
84
<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,
73
87
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
74
 
                                                         GtkIconSize icon_size);
75
 
gdouble             <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom-step" title="gimp_zoom_model_zoom_step ()">gimp_zoom_model_zoom_step</a>           (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
76
 
                                                         gdouble scale);
 
88
                                                         <a
 
89
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
 
90
>GtkIconSize</a> icon_size);
 
91
<a
 
92
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
93
>gdouble</a>             <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom-step" title="gimp_zoom_model_zoom_step ()">gimp_zoom_model_zoom_step</a>           (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
 
94
                                                         <a
 
95
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
96
>gdouble</a> scale);
77
97
</pre>
78
98
</div>
79
99
<div class="refsect1" lang="en">
80
100
<a name="GimpZoomModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
81
101
<pre class="synopsis">
82
 
  GObject
 
102
  <a
 
103
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
104
>GObject</a>
83
105
   +----GimpZoomModel
84
106
</pre>
85
107
</div>
86
108
<div class="refsect1" lang="en">
87
109
<a name="GimpZoomModel.properties"></a><h2>Properties</h2>
88
110
<pre class="synopsis">
89
 
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--fraction" title='The "fraction" property'>fraction</a>"                 gchar*                : Read
90
 
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--maximum" title='The "maximum" property'>maximum</a>"                  gdouble               : Read / Write
91
 
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--minimum" title='The "minimum" property'>minimum</a>"                  gdouble               : Read / Write
92
 
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--percentage" title='The "percentage" property'>percentage</a>"               gchar*                : Read
93
 
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--value" title='The "value" property'>value</a>"                    gdouble               : Read / Write
 
111
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--fraction" title='The "fraction" property'>fraction</a>"                 <a
 
112
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
113
>gchar</a>*                : Read
 
114
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--maximum" title='The "maximum" property'>maximum</a>"                  <a
 
115
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
116
>gdouble</a>               : Read / Write
 
117
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--minimum" title='The "minimum" property'>minimum</a>"                  <a
 
118
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
119
>gdouble</a>               : Read / Write
 
120
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--percentage" title='The "percentage" property'>percentage</a>"               <a
 
121
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
122
>gchar</a>*                : Read
 
123
  "<a class="link" href="GimpZoomModel.html#GimpZoomModel--value" title='The "value" property'>value</a>"                    <a
 
124
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
125
>gdouble</a>               : Read / Write
94
126
</pre>
95
127
</div>
96
128
<div class="refsect1" lang="en">
156
188
<div class="refsect2" lang="en">
157
189
<a name="gimp-zoom-model-set-range"></a><h3>gimp_zoom_model_set_range ()</h3>
158
190
<pre class="programlisting">void                gimp_zoom_model_set_range           (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
159
 
                                                         gdouble min,
160
 
                                                         gdouble max);</pre>
 
191
                                                         <a
 
192
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
193
>gdouble</a> min,
 
194
                                                         <a
 
195
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
196
>gdouble</a> max);</pre>
161
197
<p>
162
198
Sets the allowed range of the <em class="parameter"><code>model</code></em>.
163
199
</p>
192
228
<a name="gimp-zoom-model-zoom"></a><h3>gimp_zoom_model_zoom ()</h3>
193
229
<pre class="programlisting">void                gimp_zoom_model_zoom                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
194
230
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
195
 
                                                         gdouble scale);</pre>
 
231
                                                         <a
 
232
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
233
>gdouble</a> scale);</pre>
196
234
<p>
197
235
Since GIMP 2.4</p>
198
236
<p>
222
260
<hr>
223
261
<div class="refsect2" lang="en">
224
262
<a name="gimp-zoom-model-get-factor"></a><h3>gimp_zoom_model_get_factor ()</h3>
225
 
<pre class="programlisting">gdouble             gimp_zoom_model_get_factor          (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);</pre>
 
263
<pre class="programlisting"><a
 
264
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
265
>gdouble</a>             gimp_zoom_model_get_factor          (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);</pre>
226
266
<p>
227
267
Retrieves the current zoom factor of <em class="parameter"><code>model</code></em>.</p>
228
268
<p>
250
290
<div class="refsect2" lang="en">
251
291
<a name="gimp-zoom-model-get-fraction"></a><h3>gimp_zoom_model_get_fraction ()</h3>
252
292
<pre class="programlisting">void                gimp_zoom_model_get_fraction        (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
253
 
                                                         gint *numerator,
254
 
                                                         gint *denominator);</pre>
 
293
                                                         <a
 
294
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
295
>gint</a> *numerator,
 
296
                                                         <a
 
297
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
298
>gint</a> *denominator);</pre>
255
299
<p>
256
300
Retrieves the current zoom factor of <em class="parameter"><code>model</code></em> as a fraction.
257
301
</p>
284
328
<hr>
285
329
<div class="refsect2" lang="en">
286
330
<a name="gimp-zoom-button-new"></a><h3>gimp_zoom_button_new ()</h3>
287
 
<pre class="programlisting">GtkWidget*          gimp_zoom_button_new                (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
 
331
<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,
288
334
                                                         <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
289
 
                                                         GtkIconSize icon_size);</pre>
 
335
                                                         <a
 
336
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
 
337
>GtkIconSize</a> icon_size);</pre>
290
338
<p>
291
339
</p>
292
340
<p>
323
371
<hr>
324
372
<div class="refsect2" lang="en">
325
373
<a name="gimp-zoom-model-zoom-step"></a><h3>gimp_zoom_model_zoom_step ()</h3>
326
 
<pre class="programlisting">gdouble             gimp_zoom_model_zoom_step           (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
327
 
                                                         gdouble scale);</pre>
 
374
<pre class="programlisting"><a
 
375
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
376
>gdouble</a>             gimp_zoom_model_zoom_step           (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
 
377
                                                         <a
 
378
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
379
>gdouble</a> scale);</pre>
328
380
<p>
329
381
Utility function to calculate a new scale factor.</p>
330
382
<p>
358
410
<a name="GimpZoomModel.property-details"></a><h2>Property Details</h2>
359
411
<div class="refsect2" lang="en">
360
412
<a name="GimpZoomModel--fraction"></a><h3>The <code class="literal">"fraction"</code> property</h3>
361
 
<pre class="programlisting">  "fraction"                 gchar*                : Read</pre>
 
413
<pre class="programlisting">  "fraction"                 <a
 
414
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
415
>gchar</a>*                : Read</pre>
362
416
<p></p>
363
417
<p>Default value: "1:1"</p>
364
418
</div>
365
419
<hr>
366
420
<div class="refsect2" lang="en">
367
421
<a name="GimpZoomModel--maximum"></a><h3>The <code class="literal">"maximum"</code> property</h3>
368
 
<pre class="programlisting">  "maximum"                  gdouble               : Read / Write</pre>
 
422
<pre class="programlisting">  "maximum"                  <a
 
423
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
424
>gdouble</a>               : Read / Write</pre>
369
425
<p></p>
370
426
<p>Allowed values: [0.00390625,256]</p>
371
427
<p>Default value: 256</p>
373
429
<hr>
374
430
<div class="refsect2" lang="en">
375
431
<a name="GimpZoomModel--minimum"></a><h3>The <code class="literal">"minimum"</code> property</h3>
376
 
<pre class="programlisting">  "minimum"                  gdouble               : Read / Write</pre>
 
432
<pre class="programlisting">  "minimum"                  <a
 
433
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
434
>gdouble</a>               : Read / Write</pre>
377
435
<p></p>
378
436
<p>Allowed values: [0.00390625,256]</p>
379
437
<p>Default value: 0.00390625</p>
381
439
<hr>
382
440
<div class="refsect2" lang="en">
383
441
<a name="GimpZoomModel--percentage"></a><h3>The <code class="literal">"percentage"</code> property</h3>
384
 
<pre class="programlisting">  "percentage"               gchar*                : Read</pre>
 
442
<pre class="programlisting">  "percentage"               <a
 
443
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
444
>gchar</a>*                : Read</pre>
385
445
<p></p>
386
446
<p>Default value: "100%"</p>
387
447
</div>
388
448
<hr>
389
449
<div class="refsect2" lang="en">
390
450
<a name="GimpZoomModel--value"></a><h3>The <code class="literal">"value"</code> property</h3>
391
 
<pre class="programlisting">  "value"                    gdouble               : Read / Write</pre>
 
451
<pre class="programlisting">  "value"                    <a
 
452
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
453
>gdouble</a>               : Read / Write</pre>
392
454
<p></p>
393
455
<p>Allowed values: [0.00390625,256]</p>
394
456
<p>Default value: 1</p>
399
461
<div class="refsect2" lang="en">
400
462
<a name="GimpZoomModel-zoomed"></a><h3>The <code class="literal">"zoomed"</code> signal</h3>
401
463
<pre class="programlisting">void                user_function                      (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
402
 
                                                        gdouble        old_factor,
403
 
                                                        gdouble        new_factor,
404
 
                                                        gpointer       user_data)       : Run Last</pre>
 
464
                                                        <a
 
465
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
466
>gdouble</a>        old_factor,
 
467
                                                        <a
 
468
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
469
>gdouble</a>        new_factor,
 
470
                                                        <a
 
471
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
472
>gpointer</a>       user_data)       : Run Last</pre>
405
473
<p>
406
474
Emitted when the zoom factor of the zoom model changes.</p>
407
475
<p>