~bratsche/oif/eog-rotate-gesture-2

« back to all changes in this revision

Viewing changes to doc/reference/html/EogPrintPreview.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-05 11:18:27 UTC
  • mfrom: (1.14.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100805111827-mg8n4etd5pj7btti
Tags: 2.31.5-0ubuntu1
* New upstream versions:
  - New toolbar button and 'P' shortcut to pause the slideshow (lp: #272552)
  - Rename "Image Collection" to "Image Gallery" 
  - Update totem-scrsaver to use GDBus 
  - Render SVGs natively when zoomed 
  - Print SVGs as vector image 
  - Embed page setup in print dialog 
  - Various UI improvements 
  - Further GSEAL-compatibility work 
* debian/control.in:
  - require librsvg, updated glib and gtk requirements
* debian/control.in, debian/patches/99_autoconf.patch, debian/rules:
  - run autoreconf at build time now

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch03.html" title="Printing">
9
9
<link rel="prev" href="ch03.html" title="Printing">
10
10
<link rel="next" href="EogPrintImageSetup.html" title="EogPrintImageSetup">
11
 
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
34
34
                  <a href="#EogPrintPreview.signals" class="shortcut">Signals</a>
35
35
</td></tr>
36
36
</table>
37
 
<div class="refentry" title="EogPrintPreview">
 
37
<div class="refentry">
38
38
<a name="EogPrintPreview"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
40
40
<td valign="top">
43
43
</td>
44
44
<td valign="top" align="right"></td>
45
45
</tr></table></div>
46
 
<div class="refsynopsisdiv" title="Synopsis">
 
46
<div class="refsynopsisdiv">
47
47
<a name="EogPrintPreview.synopsis"></a><h2>Synopsis</h2>
48
48
<pre class="synopsis">                    <a class="link" href="EogPrintPreview.html#EogPrintPreview-struct" title="EogPrintPreview">EogPrintPreview</a>;
49
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="EogPrintPreview.html#eog-print-preview-new" title="eog_print_preview_new ()">eog_print_preview_new</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
50
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="EogPrintPreview.html#eog-print-preview-new-with-pixbuf" title="eog_print_preview_new_with_pixbuf ()">eog_print_preview_new_with_pixbuf</a>   (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
 
49
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="EogPrintPreview.html#eog-print-preview-new" title="eog_print_preview_new ()">eog_print_preview_new</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
 
50
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="EogPrintPreview.html#eog-print-preview-new-with-pixbuf" title="eog_print_preview_new_with_pixbuf ()">eog_print_preview_new_with_pixbuf</a>   (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);
51
51
<span class="returnvalue">void</span>                <a class="link" href="EogPrintPreview.html#eog-print-preview-set-page-margins" title="eog_print_preview_set_page_margins ()">eog_print_preview_set_page_margins</a>  (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
52
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> l_margin</code></em>,
53
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> r_margin</code></em>,
54
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> t_margin</code></em>,
55
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> b_margin</code></em>);
 
52
                                                         <em class="parameter"><code><span class="type">gfloat</span> l_margin</code></em>,
 
53
                                                         <em class="parameter"><code><span class="type">gfloat</span> r_margin</code></em>,
 
54
                                                         <em class="parameter"><code><span class="type">gfloat</span> t_margin</code></em>,
 
55
                                                         <em class="parameter"><code><span class="type">gfloat</span> b_margin</code></em>);
56
56
<span class="returnvalue">void</span>                <a class="link" href="EogPrintPreview.html#eog-print-preview-set-from-page-setup" title="eog_print_preview_set_from_page_setup ()">eog_print_preview_set_from_page_setup</a>
57
57
                                                        (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
58
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a> *setup</code></em>);
 
58
                                                         <em class="parameter"><code><span class="type">GtkPageSetup</span> *setup</code></em>);
59
59
<span class="returnvalue">void</span>                <a class="link" href="EogPrintPreview.html#eog-print-preview-get-image-position" title="eog_print_preview_get_image_position ()">eog_print_preview_get_image_position</a>
60
60
                                                        (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
61
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x</code></em>,
62
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y</code></em>);
 
61
                                                         <em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
 
62
                                                         <em class="parameter"><code><span class="type">gdouble</span> *y</code></em>);
63
63
<span class="returnvalue">void</span>                <a class="link" href="EogPrintPreview.html#eog-print-preview-set-image-position" title="eog_print_preview_set_image_position ()">eog_print_preview_set_image_position</a>
64
64
                                                        (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
65
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
66
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>);
 
65
                                                         <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
 
66
                                                         <em class="parameter"><code><span class="type">gdouble</span> y</code></em>);
67
67
<span class="returnvalue">void</span>                <a class="link" href="EogPrintPreview.html#eog-print-preview-set-scale" title="eog_print_preview_set_scale ()">eog_print_preview_set_scale</a>         (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
68
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> scale</code></em>);
 
68
                                                         <em class="parameter"><code><span class="type">gfloat</span> scale</code></em>);
69
69
</pre>
70
70
</div>
71
 
<div class="refsect1" title="Object Hierarchy">
 
71
<div class="refsect1">
72
72
<a name="EogPrintPreview.object-hierarchy"></a><h2>Object Hierarchy</h2>
73
73
<pre class="synopsis">
74
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
75
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
76
 
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
77
 
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
78
 
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
79
 
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
80
 
                                 +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkFrame.html">GtkFrame</a>
81
 
                                       +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkAspectFrame.html">GtkAspectFrame</a>
 
74
  GObject
 
75
   +----GInitiallyUnowned
 
76
         +----GtkObject
 
77
               +----GtkWidget
 
78
                     +----GtkContainer
 
79
                           +----GtkBin
 
80
                                 +----GtkFrame
 
81
                                       +----GtkAspectFrame
82
82
                                             +----EogPrintPreview
83
83
</pre>
84
84
</div>
85
 
<div class="refsect1" title="Implemented Interfaces">
 
85
<div class="refsect1">
86
86
<a name="EogPrintPreview.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
87
87
<p>
88
88
EogPrintPreview implements
89
 
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
 
89
 AtkImplementorIface,  GtkBuildable and  GtkSizeRequest.</p>
90
90
</div>
91
 
<div class="refsect1" title="Properties">
 
91
<div class="refsect1">
92
92
<a name="EogPrintPreview.properties"></a><h2>Properties</h2>
93
93
<pre class="synopsis">
94
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image" title='The "image" property'>image</a>"                    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>*              : Read / Write
95
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image-scale" title='The "image-scale" property'>image-scale</a>"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
96
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image-x-align" title='The "image-x-align" property'>image-x-align</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
97
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image-y-align" title='The "image-y-align" property'>image-y-align</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
98
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-bottom-margin" title='The "page-bottom-margin" property'>page-bottom-margin</a>"       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
99
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-left-margin" title='The "page-left-margin" property'>page-left-margin</a>"         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
100
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-right-margin" title='The "page-right-margin" property'>page-right-margin</a>"        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
101
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-top-margin" title='The "page-top-margin" property'>page-top-margin</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
102
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--paper-height" title='The "paper-height" property'>paper-height</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
103
 
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--paper-width" title='The "paper-width" property'>paper-width</a>"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
 
94
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image" title='The "image" property'>image</a>"                    <span class="type">GObject</span>*              : Read / Write
 
95
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image-scale" title='The "image-scale" property'>image-scale</a>"              <span class="type">gfloat</span>                : Read / Write
 
96
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image-x-align" title='The "image-x-align" property'>image-x-align</a>"            <span class="type">gfloat</span>                : Read / Write
 
97
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--image-y-align" title='The "image-y-align" property'>image-y-align</a>"            <span class="type">gfloat</span>                : Read / Write
 
98
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-bottom-margin" title='The "page-bottom-margin" property'>page-bottom-margin</a>"       <span class="type">gfloat</span>                : Read / Write
 
99
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-left-margin" title='The "page-left-margin" property'>page-left-margin</a>"         <span class="type">gfloat</span>                : Read / Write
 
100
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-right-margin" title='The "page-right-margin" property'>page-right-margin</a>"        <span class="type">gfloat</span>                : Read / Write
 
101
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--page-top-margin" title='The "page-top-margin" property'>page-top-margin</a>"          <span class="type">gfloat</span>                : Read / Write
 
102
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--paper-height" title='The "paper-height" property'>paper-height</a>"             <span class="type">gfloat</span>                : Read / Write
 
103
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview--paper-width" title='The "paper-width" property'>paper-width</a>"              <span class="type">gfloat</span>                : Read / Write
104
104
</pre>
105
105
</div>
106
 
<div class="refsect1" title="Signals">
 
106
<div class="refsect1">
107
107
<a name="EogPrintPreview.signals"></a><h2>Signals</h2>
108
108
<pre class="synopsis">
109
109
  "<a class="link" href="EogPrintPreview.html#EogPrintPreview-image-moved" title='The "image-moved" signal'>image-moved</a>"                                    : Run First
110
110
</pre>
111
111
</div>
112
 
<div class="refsect1" title="Description">
 
112
<div class="refsect1">
113
113
<a name="EogPrintPreview.description"></a><h2>Description</h2>
114
114
<p>
115
115
</p>
116
116
</div>
117
 
<div class="refsect1" title="Details">
 
117
<div class="refsect1">
118
118
<a name="EogPrintPreview.details"></a><h2>Details</h2>
119
 
<div class="refsect2" title="EogPrintPreview">
 
119
<div class="refsect2">
120
120
<a name="EogPrintPreview-struct"></a><h3>EogPrintPreview</h3>
121
121
<pre class="programlisting">typedef struct _EogPrintPreview EogPrintPreview;</pre>
122
122
<p>
123
123
</p>
124
124
</div>
125
125
<hr>
126
 
<div class="refsect2" title="eog_print_preview_new ()">
 
126
<div class="refsect2">
127
127
<a name="eog-print-preview-new"></a><h3>eog_print_preview_new ()</h3>
128
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         eog_print_preview_new               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
128
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         eog_print_preview_new               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
129
129
<p>
130
130
Creates a new <a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> widget, setting it to the default values,
131
131
and leaving the page empty. You still need to set the <a class="link" href="EogPrintPreview.html#EogPrintPreview--image" title='The "image" property'><span class="type">"image"</span></a>
141
141
</table></div>
142
142
</div>
143
143
<hr>
144
 
<div class="refsect2" title="eog_print_preview_new_with_pixbuf ()">
 
144
<div class="refsect2">
145
145
<a name="eog-print-preview-new-with-pixbuf"></a><h3>eog_print_preview_new_with_pixbuf ()</h3>
146
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         eog_print_preview_new_with_pixbuf   (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
 
146
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         eog_print_preview_new_with_pixbuf   (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre>
147
147
<p>
148
 
Creates a new <a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> widget, and sets the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to preview
 
148
Creates a new <a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> widget, and sets the <span class="type">GdkPixbuf</span> to preview
149
149
on it.
150
150
</p>
151
151
<div class="variablelist"><table border="0">
153
153
<tbody>
154
154
<tr>
155
155
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
156
 
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
 
156
<td>a <span class="type">GdkPixbuf</span>
157
157
</td>
158
158
</tr>
159
159
<tr>
165
165
</table></div>
166
166
</div>
167
167
<hr>
168
 
<div class="refsect2" title="eog_print_preview_set_page_margins ()">
 
168
<div class="refsect2">
169
169
<a name="eog-print-preview-set-page-margins"></a><h3>eog_print_preview_set_page_margins ()</h3>
170
170
<pre class="programlisting"><span class="returnvalue">void</span>                eog_print_preview_set_page_margins  (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
171
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> l_margin</code></em>,
172
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> r_margin</code></em>,
173
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> t_margin</code></em>,
174
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> b_margin</code></em>);</pre>
 
171
                                                         <em class="parameter"><code><span class="type">gfloat</span> l_margin</code></em>,
 
172
                                                         <em class="parameter"><code><span class="type">gfloat</span> r_margin</code></em>,
 
173
                                                         <em class="parameter"><code><span class="type">gfloat</span> t_margin</code></em>,
 
174
                                                         <em class="parameter"><code><span class="type">gfloat</span> b_margin</code></em>);</pre>
175
175
<p>
176
176
Manually set the margins, in inches.
177
177
</p>
207
207
</table></div>
208
208
</div>
209
209
<hr>
210
 
<div class="refsect2" title="eog_print_preview_set_from_page_setup ()">
 
210
<div class="refsect2">
211
211
<a name="eog-print-preview-set-from-page-setup"></a><h3>eog_print_preview_set_from_page_setup ()</h3>
212
212
<pre class="programlisting"><span class="returnvalue">void</span>                eog_print_preview_set_from_page_setup
213
213
                                                        (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
214
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a> *setup</code></em>);</pre>
 
214
                                                         <em class="parameter"><code><span class="type">GtkPageSetup</span> *setup</code></em>);</pre>
215
215
<p>
216
 
Sets up the page properties from a <a href="http://library.gnome.org/devel/gtk/unstable/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a>. Useful when using the
 
216
Sets up the page properties from a <span class="type">GtkPageSetup</span>. Useful when using the
217
217
widget with the GtkPrint API.
218
218
</p>
219
219
<div class="variablelist"><table border="0">
226
226
</tr>
227
227
<tr>
228
228
<td><p><span class="term"><em class="parameter"><code>setup</code></em> :</span></p></td>
229
 
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a> to set the properties from
 
229
<td>a <span class="type">GtkPageSetup</span> to set the properties from
230
230
</td>
231
231
</tr>
232
232
</tbody>
233
233
</table></div>
234
234
</div>
235
235
<hr>
236
 
<div class="refsect2" title="eog_print_preview_get_image_position ()">
 
236
<div class="refsect2">
237
237
<a name="eog-print-preview-get-image-position"></a><h3>eog_print_preview_get_image_position ()</h3>
238
238
<pre class="programlisting"><span class="returnvalue">void</span>                eog_print_preview_get_image_position
239
239
                                                        (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
240
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x</code></em>,
241
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y</code></em>);</pre>
 
240
                                                         <em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
 
241
                                                         <em class="parameter"><code><span class="type">gdouble</span> *y</code></em>);</pre>
242
242
<p>
243
243
Gets current image position in inches, relative to the margins. A
244
244
(0, 0) position is the intersection between the left and top margins.
253
253
</tr>
254
254
<tr>
255
255
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
256
 
<td>a pointer to a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore it
 
256
<td>a pointer to a <span class="type">gdouble</span>, or <a href="/opt/gnome-3.0/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore it
257
257
</td>
258
258
</tr>
259
259
<tr>
260
260
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
261
 
<td>a pointer to a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore it
 
261
<td>a pointer to a <span class="type">gdouble</span>, or <a href="/opt/gnome-3.0/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore it
262
262
</td>
263
263
</tr>
264
264
</tbody>
265
265
</table></div>
266
266
</div>
267
267
<hr>
268
 
<div class="refsect2" title="eog_print_preview_set_image_position ()">
 
268
<div class="refsect2">
269
269
<a name="eog-print-preview-set-image-position"></a><h3>eog_print_preview_set_image_position ()</h3>
270
270
<pre class="programlisting"><span class="returnvalue">void</span>                eog_print_preview_set_image_position
271
271
                                                        (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
272
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
273
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>);</pre>
 
272
                                                         <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
 
273
                                                         <em class="parameter"><code><span class="type">gdouble</span> y</code></em>);</pre>
274
274
<p>
275
275
Sets the image position. You can pass -1 to one of the coordinates if you
276
276
only want to set the other.
297
297
</table></div>
298
298
</div>
299
299
<hr>
300
 
<div class="refsect2" title="eog_print_preview_set_scale ()">
 
300
<div class="refsect2">
301
301
<a name="eog-print-preview-set-scale"></a><h3>eog_print_preview_set_scale ()</h3>
302
302
<pre class="programlisting"><span class="returnvalue">void</span>                eog_print_preview_set_scale         (<em class="parameter"><code><a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview</code></em>,
303
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> scale</code></em>);</pre>
 
303
                                                         <em class="parameter"><code><span class="type">gfloat</span> scale</code></em>);</pre>
304
304
<p>
305
305
Sets the scale for the image.
306
306
</p>
321
321
</table></div>
322
322
</div>
323
323
</div>
324
 
<div class="refsect1" title="Property Details">
 
324
<div class="refsect1">
325
325
<a name="EogPrintPreview.property-details"></a><h2>Property Details</h2>
326
 
<div class="refsect2" title='The "image" property'>
 
326
<div class="refsect2">
327
327
<a name="EogPrintPreview--image"></a><h3>The <code class="literal">"image"</code> property</h3>
328
 
<pre class="programlisting">  "image"                    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>*              : Read / Write</pre>
 
328
<pre class="programlisting">  "image"                    <span class="type">GObject</span>*              : Read / Write</pre>
329
329
<p>
330
330
The "image" property defines the image that is previewed
331
331
in the widget.
332
332
</p>
333
333
</div>
334
334
<hr>
335
 
<div class="refsect2" title='The "image-scale" property'>
 
335
<div class="refsect2">
336
336
<a name="EogPrintPreview--image-scale"></a><h3>The <code class="literal">"image-scale"</code> property</h3>
337
 
<pre class="programlisting">  "image-scale"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
337
<pre class="programlisting">  "image-scale"              <span class="type">gfloat</span>                : Read / Write</pre>
338
338
<p>
339
339
The "image-scale" property defines the scaling of the image
340
340
that the user wants for the printing.
343
343
<p>Default value: 1</p>
344
344
</div>
345
345
<hr>
346
 
<div class="refsect2" title='The "image-x-align" property'>
 
346
<div class="refsect2">
347
347
<a name="EogPrintPreview--image-x-align"></a><h3>The <code class="literal">"image-x-align"</code> property</h3>
348
 
<pre class="programlisting">  "image-x-align"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
348
<pre class="programlisting">  "image-x-align"            <span class="type">gfloat</span>                : Read / Write</pre>
349
349
<p>
350
350
The "image-x-align" property defines the horizontal alignment
351
351
of the image in the widget.
354
354
<p>Default value: 0.5</p>
355
355
</div>
356
356
<hr>
357
 
<div class="refsect2" title='The "image-y-align" property'>
 
357
<div class="refsect2">
358
358
<a name="EogPrintPreview--image-y-align"></a><h3>The <code class="literal">"image-y-align"</code> property</h3>
359
 
<pre class="programlisting">  "image-y-align"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
359
<pre class="programlisting">  "image-y-align"            <span class="type">gfloat</span>                : Read / Write</pre>
360
360
<p>
361
361
The "image-y-align" property defines the horizontal alignment
362
362
of the image in the widget.
365
365
<p>Default value: 0.5</p>
366
366
</div>
367
367
<hr>
368
 
<div class="refsect2" title='The "page-bottom-margin" property'>
 
368
<div class="refsect2">
369
369
<a name="EogPrintPreview--page-bottom-margin"></a><h3>The <code class="literal">"page-bottom-margin"</code> property</h3>
370
 
<pre class="programlisting">  "page-bottom-margin"       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
370
<pre class="programlisting">  "page-bottom-margin"       <span class="type">gfloat</span>                : Read / Write</pre>
371
371
<p>
372
372
The size of the page's bottom margin, in inches.
373
373
</p>
375
375
<p>Default value: 0.56</p>
376
376
</div>
377
377
<hr>
378
 
<div class="refsect2" title='The "page-left-margin" property'>
 
378
<div class="refsect2">
379
379
<a name="EogPrintPreview--page-left-margin"></a><h3>The <code class="literal">"page-left-margin"</code> property</h3>
380
 
<pre class="programlisting">  "page-left-margin"         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
380
<pre class="programlisting">  "page-left-margin"         <span class="type">gfloat</span>                : Read / Write</pre>
381
381
<p>
382
382
The size of the page's left margin, in inches.
383
383
</p>
385
385
<p>Default value: 0.25</p>
386
386
</div>
387
387
<hr>
388
 
<div class="refsect2" title='The "page-right-margin" property'>
 
388
<div class="refsect2">
389
389
<a name="EogPrintPreview--page-right-margin"></a><h3>The <code class="literal">"page-right-margin"</code> property</h3>
390
 
<pre class="programlisting">  "page-right-margin"        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
390
<pre class="programlisting">  "page-right-margin"        <span class="type">gfloat</span>                : Read / Write</pre>
391
391
<p>
392
392
The size of the page's right margin, in inches.
393
393
</p>
395
395
<p>Default value: 0.25</p>
396
396
</div>
397
397
<hr>
398
 
<div class="refsect2" title='The "page-top-margin" property'>
 
398
<div class="refsect2">
399
399
<a name="EogPrintPreview--page-top-margin"></a><h3>The <code class="literal">"page-top-margin"</code> property</h3>
400
 
<pre class="programlisting">  "page-top-margin"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
400
<pre class="programlisting">  "page-top-margin"          <span class="type">gfloat</span>                : Read / Write</pre>
401
401
<p>
402
402
The size of the page's top margin, in inches.
403
403
</p>
405
405
<p>Default value: 0.25</p>
406
406
</div>
407
407
<hr>
408
 
<div class="refsect2" title='The "paper-height" property'>
 
408
<div class="refsect2">
409
409
<a name="EogPrintPreview--paper-height"></a><h3>The <code class="literal">"paper-height"</code> property</h3>
410
 
<pre class="programlisting">  "paper-height"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
410
<pre class="programlisting">  "paper-height"             <span class="type">gfloat</span>                : Read / Write</pre>
411
411
<p>
412
412
The height of the previewed paper, in inches.
413
413
</p>
415
415
<p>Default value: 11</p>
416
416
</div>
417
417
<hr>
418
 
<div class="refsect2" title='The "paper-width" property'>
 
418
<div class="refsect2">
419
419
<a name="EogPrintPreview--paper-width"></a><h3>The <code class="literal">"paper-width"</code> property</h3>
420
 
<pre class="programlisting">  "paper-width"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
 
420
<pre class="programlisting">  "paper-width"              <span class="type">gfloat</span>                : Read / Write</pre>
421
421
<p>
422
422
The width of the previewed paper, in inches.
423
423
</p>
425
425
<p>Default value: 8.5</p>
426
426
</div>
427
427
</div>
428
 
<div class="refsect1" title="Signal Details">
 
428
<div class="refsect1">
429
429
<a name="EogPrintPreview.signal-details"></a><h2>Signal Details</h2>
430
 
<div class="refsect2" title='The "image-moved" signal'>
 
430
<div class="refsect2">
431
431
<a name="EogPrintPreview-image-moved"></a><h3>The <code class="literal">"image-moved"</code> signal</h3>
432
432
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="EogPrintPreview.html" title="EogPrintPreview"><span class="type">EogPrintPreview</span></a> *preview,
433
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : Run First</pre>
 
433
                                                        <span class="type">gpointer</span>         user_data)      : Run First</pre>
434
434
<p>
435
435
The <a class="link" href="EogPrintPreview.html#EogPrintPreview-image-moved" title='The "image-moved" signal'><span class="type">"image-moved"</span></a> signal is emitted when the position
436
436
of the image is changed.
454
454
</div>
455
455
<div class="footer">
456
456
<hr>
457
 
          Generated by GTK-Doc V1.15</div>
 
457
          Generated by GTK-Doc V1.15.1</div>
458
458
</body>
459
459
</html>
 
 
b'\\ No newline at end of file'