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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpPreviewArea.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>GimpPreviewArea</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="GimpPixmap.html" title="GimpPixmap">
10
10
<link rel="next" href="GimpPreview.html" title="GimpPreview">
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="GimpPreview.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="#GimpPreviewArea.synopsis" class="shortcut">Top</a>
38
 
                   | 
39
 
                  <a href="#GimpPreviewArea.description" class="shortcut">Description</a>
40
 
                   | 
41
 
                  <a href="#GimpPreviewArea.object-hierarchy" class="shortcut">Object Hierarchy</a>
42
 
                   | 
43
 
                  <a href="#GimpPreviewArea.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
44
 
                   | 
45
 
                  <a href="#GimpPreviewArea.properties" class="shortcut">Properties</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts">
 
38
<a href="#GimpPreviewArea.synopsis" class="shortcut">Top</a>
 
39
                 | 
 
40
                <a href="#GimpPreviewArea.description" class="shortcut">Description</a>
 
41
                 | 
 
42
                <a href="#GimpPreviewArea.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
43
                 | 
 
44
                <a href="#GimpPreviewArea.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
45
                 | 
 
46
                <a href="#GimpPreviewArea.properties" class="shortcut">Properties</a>
 
47
</td></tr>
46
48
</table>
47
 
<div class="refentry" lang="en">
 
49
<div class="refentry" title="GimpPreviewArea">
48
50
<a name="GimpPreviewArea"></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"><img src="gimp-preview-area.png"></td>
55
57
</tr></table></div>
56
 
<div class="refsynopsisdiv">
 
58
<div class="refsynopsisdiv" title="Synopsis">
57
59
<a name="GimpPreviewArea.synopsis"></a><h2>Synopsis</h2>
58
60
<pre class="synopsis">
59
61
                    <a class="link" href="GimpPreviewArea.html#GimpPreviewArea-struct" title="GimpPreviewArea">GimpPreviewArea</a>;
60
62
<a
61
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
62
 
>GtkWidget</a>*          <a class="link" href="GimpPreviewArea.html#gimp-preview-area-new" title="gimp_preview_area_new ()">gimp_preview_area_new</a>               (void);
 
63
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
64
>GtkWidget</a> *         <a class="link" href="GimpPreviewArea.html#gimp-preview-area-new" title="gimp_preview_area_new ()">gimp_preview_area_new</a>               (void);
63
65
void                <a class="link" href="GimpPreviewArea.html#gimp-preview-area-draw" title="gimp_preview_area_draw ()">gimp_preview_area_draw</a>              (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
64
66
                                                         <a
65
67
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
192
194
>gint</a> height);
193
195
void                <a class="link" href="GimpPreviewArea.html#gimp-preview-area-menu-popup" title="gimp_preview_area_menu_popup ()">gimp_preview_area_menu_popup</a>        (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
194
196
                                                         <a
195
 
href="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEventButton"
 
197
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventButton"
196
198
>GdkEventButton</a> *event);
197
199
</pre>
198
200
</div>
199
 
<div class="refsect1" lang="en">
 
201
<div class="refsect1" title="Object Hierarchy">
200
202
<a name="GimpPreviewArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
201
203
<pre class="synopsis">
202
204
  <a
206
208
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
207
209
>GInitiallyUnowned</a>
208
210
         +----<a
209
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
 
211
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
210
212
>GtkObject</a>
211
213
               +----<a
212
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
 
214
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
213
215
>GtkWidget</a>
214
216
                     +----<a
215
 
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
 
217
href="http://library.gnome.org/devel/gtk/unstable/GtkDrawingArea.html"
216
218
>GtkDrawingArea</a>
217
219
                           +----GimpPreviewArea
218
220
</pre>
219
221
</div>
220
 
<div class="refsect1" lang="en">
 
222
<div class="refsect1" title="Implemented Interfaces">
221
223
<a name="GimpPreviewArea.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
222
224
<p>
223
225
GimpPreviewArea implements
224
 
 AtkImplementorIface and  <a
225
 
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
226
 
>GtkBuildable</a>.</p>
 
226
 <a
 
227
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
 
228
>GtkBuildable</a> and  AtkImplementorIface.</p>
227
229
</div>
228
 
<div class="refsect1" lang="en">
 
230
<div class="refsect1" title="Properties">
229
231
<a name="GimpPreviewArea.properties"></a><h2>Properties</h2>
230
232
<pre class="synopsis">
231
233
  "<a class="link" href="GimpPreviewArea.html#GimpPreviewArea--check-size" title='The "check-size" property'>check-size</a>"               <a
236
238
>GimpCheckType</a>         : Read / Write
237
239
</pre>
238
240
</div>
239
 
<div class="refsect1" lang="en">
 
241
<div class="refsect1" title="Description">
240
242
<a name="GimpPreviewArea.description"></a><h2>Description</h2>
241
243
<p>
242
244
A general purpose preview widget which caches its pixel data.
243
245
</p>
244
246
</div>
245
 
<div class="refsect1" lang="en">
 
247
<div class="refsect1" title="Details">
246
248
<a name="GimpPreviewArea.details"></a><h2>Details</h2>
247
 
<div class="refsect2" lang="en">
 
249
<div class="refsect2" title="GimpPreviewArea">
248
250
<a name="GimpPreviewArea-struct"></a><h3>GimpPreviewArea</h3>
249
251
<pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
250
252
<p>
251
 
 
252
253
</p>
253
254
</div>
254
255
<hr>
255
 
<div class="refsect2" lang="en">
 
256
<div class="refsect2" title="gimp_preview_area_new ()">
256
257
<a name="gimp-preview-area-new"></a><h3>gimp_preview_area_new ()</h3>
257
258
<pre class="programlisting"><a
258
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
259
 
>GtkWidget</a>*          gimp_preview_area_new               (void);</pre>
 
259
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
260
>GtkWidget</a> *         gimp_preview_area_new               (void);</pre>
260
261
<p>
261
262
Creates a new <a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.</p>
262
263
<p>
263
 
 
264
264
</p>
265
265
<div class="variablelist"><table border="0">
266
266
<col align="left" valign="top">
274
274
</table></div>
275
275
</div>
276
276
<hr>
277
 
<div class="refsect2" lang="en">
 
277
<div class="refsect2" title="gimp_preview_area_draw ()">
278
278
<a name="gimp-preview-area-draw"></a><h3>gimp_preview_area_draw ()</h3>
279
279
<pre class="programlisting">void                gimp_preview_area_draw              (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
280
280
                                                         <a
304
304
<p>
305
305
Since GIMP 2.2</p>
306
306
<p>
307
 
 
308
307
</p>
309
308
<div class="variablelist"><table border="0">
310
309
<col align="left" valign="top">
357
356
</table></div>
358
357
</div>
359
358
<hr>
360
 
<div class="refsect2" lang="en">
 
359
<div class="refsect2" title="gimp_preview_area_fill ()">
361
360
<a name="gimp-preview-area-fill"></a><h3>gimp_preview_area_fill ()</h3>
362
361
<pre class="programlisting">void                gimp_preview_area_fill              (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
363
362
                                                         <a
388
387
<p>
389
388
Since GIMP 2.2</p>
390
389
<p>
391
 
 
392
390
</p>
393
391
<div class="variablelist"><table border="0">
394
392
<col align="left" valign="top">
437
435
</table></div>
438
436
</div>
439
437
<hr>
440
 
<div class="refsect2" lang="en">
 
438
<div class="refsect2" title="gimp_preview_area_blend ()">
441
439
<a name="gimp-preview-area-blend"></a><h3>gimp_preview_area_blend ()</h3>
442
440
<pre class="programlisting">void                gimp_preview_area_blend             (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
443
441
                                                         <a
477
475
<p>
478
476
Since GIMP 2.2</p>
479
477
<p>
480
 
 
481
478
</p>
482
479
<div class="variablelist"><table border="0">
483
480
<col align="left" valign="top">
549
546
</table></div>
550
547
</div>
551
548
<hr>
552
 
<div class="refsect2" lang="en">
 
549
<div class="refsect2" title="gimp_preview_area_mask ()">
553
550
<a name="gimp-preview-area-mask"></a><h3>gimp_preview_area_mask ()</h3>
554
551
<pre class="programlisting">void                gimp_preview_area_mask              (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
555
552
                                                         <a
592
589
<p>
593
590
Since GIMP 2.2</p>
594
591
<p>
595
 
 
596
592
</p>
597
593
<div class="variablelist"><table border="0">
598
594
<col align="left" valign="top">
672
668
</table></div>
673
669
</div>
674
670
<hr>
675
 
<div class="refsect2" lang="en">
 
671
<div class="refsect2" title="gimp_preview_area_set_offsets ()">
676
672
<a name="gimp-preview-area-set-offsets"></a><h3>gimp_preview_area_set_offsets ()</h3>
677
673
<pre class="programlisting">void                gimp_preview_area_set_offsets       (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
678
674
                                                         <a
685
681
Sets the offsets of the previewed area. This information is used
686
682
when drawing the checkerboard and to determine the dither offsets.</p>
687
683
<p>
688
 
 
689
684
</p>
690
685
<div class="variablelist"><table border="0">
691
686
<col align="left" valign="top">
707
702
</tr>
708
703
</tbody>
709
704
</table></div>
710
 
<p class="since">Since  GIMP 2.2
711
 
</p>
 
705
<p class="since">Since GIMP 2.2</p>
712
706
</div>
713
707
<hr>
714
 
<div class="refsect2" lang="en">
 
708
<div class="refsect2" title="gimp_preview_area_set_colormap ()">
715
709
<a name="gimp-preview-area-set-colormap"></a><h3>gimp_preview_area_set_colormap ()</h3>
716
710
<pre class="programlisting">void                gimp_preview_area_set_colormap      (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
717
711
                                                         const <a
728
722
<p>
729
723
Since GIMP 2.2</p>
730
724
<p>
731
 
 
732
725
</p>
733
726
<div class="variablelist"><table border="0">
734
727
<col align="left" valign="top">
754
747
</table></div>
755
748
</div>
756
749
<hr>
757
 
<div class="refsect2" lang="en">
 
750
<div class="refsect2" title="gimp_preview_area_set_max_size ()">
758
751
<a name="gimp-preview-area-set-max-size"></a><h3>gimp_preview_area_set_max_size ()</h3>
759
752
<pre class="programlisting">void                gimp_preview_area_set_max_size      (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
760
753
                                                         <a
769
762
maximum size. If a larger size is allocated for the widget, the
770
763
preview will draw itself centered into the allocated area.</p>
771
764
<p>
772
 
 
773
765
</p>
774
766
<div class="variablelist"><table border="0">
775
767
<col align="left" valign="top">
791
783
</tr>
792
784
</tbody>
793
785
</table></div>
794
 
<p class="since">Since  GIMP 2.2
795
 
</p>
 
786
<p class="since">Since GIMP 2.2</p>
796
787
</div>
797
788
<hr>
798
 
<div class="refsect2" lang="en">
 
789
<div class="refsect2" title="gimp_preview_area_menu_popup ()">
799
790
<a name="gimp-preview-area-menu-popup"></a><h3>gimp_preview_area_menu_popup ()</h3>
800
791
<pre class="programlisting">void                gimp_preview_area_menu_popup        (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
801
792
                                                         <a
802
 
href="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEventButton"
 
793
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventButton"
803
794
>GdkEventButton</a> *event);</pre>
804
795
<p>
805
796
Creates a popup menu that allows to configure the size and type of
806
797
the checkerboard pattern that the <em class="parameter"><code>area</code></em> uses to visualize transparency.</p>
807
798
<p>
808
 
 
809
799
</p>
810
800
<div class="variablelist"><table border="0">
811
801
<col align="left" valign="top">
818
808
<tr>
819
809
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
820
810
<td> the button event that causes the menu to popup or <a
821
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
 
811
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
822
812
><code class="literal">NULL</code></a>
823
813
</td>
824
814
</tr>
825
815
</tbody>
826
816
</table></div>
827
 
<p class="since">Since  GIMP 2.2
828
 
</p>
829
 
</div>
830
 
</div>
831
 
<div class="refsect1" lang="en">
 
817
<p class="since">Since GIMP 2.2</p>
 
818
</div>
 
819
</div>
 
820
<div class="refsect1" title="Property Details">
832
821
<a name="GimpPreviewArea.property-details"></a><h2>Property Details</h2>
833
 
<div class="refsect2" lang="en">
 
822
<div class="refsect2" title='The "check-size" property'>
834
823
<a name="GimpPreviewArea--check-size"></a><h3>The <code class="literal">"check-size"</code> property</h3>
835
824
<pre class="programlisting">  "check-size"               <a
836
825
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
839
828
<p>Default value: GIMP_CHECK_SIZE_MEDIUM_CHECKS</p>
840
829
</div>
841
830
<hr>
842
 
<div class="refsect2" lang="en">
 
831
<div class="refsect2" title='The "check-type" property'>
843
832
<a name="GimpPreviewArea--check-type"></a><h3>The <code class="literal">"check-type"</code> property</h3>
844
833
<pre class="programlisting">  "check-type"               <a
845
834
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
851
840
</div>
852
841
<div class="footer">
853
842
<hr>
854
 
          Generated by GTK-Doc V1.10</div>
 
843
          Generated by GTK-Doc V1.11</div>
855
844
</body>
856
845
</html>