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>);
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>
75
+----GInitiallyUnowned
82
82
+----EogPrintPreview
85
<div class="refsect1" title="Implemented Interfaces">
85
<div class="refsect1">
86
86
<a name="EogPrintPreview.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
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>
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
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
112
<div class="refsect1" title="Description">
112
<div class="refsect1">
113
113
<a name="EogPrintPreview.description"></a><h2>Description</h2>
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>
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>
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>
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
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
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>
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.