4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GimpAspectPreview</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
<link rel="up" href="libgimpui.html" title="Part III. GIMP User Interface Library">
9
<link rel="prev" href="libgimp-gimpexport.html" title="gimpexport">
10
<link rel="next" href="GimpDrawablePreview.html" title="GimpDrawablePreview">
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
8
<link rel="up" href="libgimpui.html" title="Part II. GIMP User Interface Library">
9
<link rel="prev" href="GimpDrawablePreview.html" title="GimpDrawablePreview">
10
<link rel="next" href="GimpZoomPreview.html" title="GimpZoomPreview">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
14
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
13
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
18
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
20
<link rel="index" href="libgimp-index.html" title="Index">
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
24
27
<tr valign="middle">
25
<td><a accesskey="p" href="libgimp-gimpexport.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
28
<td><a accesskey="p" href="GimpDrawablePreview.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
29
<td><a accesskey="u" href="libgimpui.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
30
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
<td><a accesskey="n" href="GimpDrawablePreview.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
32
<td><a accesskey="n" href="GimpZoomPreview.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2527748" class="shortcut">Top</a>
33
<a href="#id2651204" class="shortcut">Description</a>
35
<a href="#id2651507" class="shortcut">Object Hierarchy</a>
37
<a href="#id2651184" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574738" class="shortcut">Top</a>
36
<a href="#id2710424" class="shortcut">Description</a>
38
<a href="#id2600625" class="shortcut">Object Hierarchy</a>
40
<a href="#id2713062" class="shortcut">Implemented Interfaces</a>
42
<a href="#id2713082" class="shortcut">Properties</a></nobr></td></tr>
39
44
<div class="refentry" lang="en">
40
45
<a name="GimpAspectPreview"></a><div class="titlepage"></div>
41
46
<div class="refnamediv"><table width="100%"><tr>
44
<a name="id2527748"></a><span class="refentrytitle">GimpAspectPreview</span>
49
<a name="id2574738"></a><span class="refentrytitle">GimpAspectPreview</span>
46
51
<p>GimpAspectPreview — A widget providing a preview with fixed aspect ratio.</p>
56
<a href="GimpAspectPreview.html#GimpAspectPreview-struct">GimpAspectPreview</a>;
57
GtkWidget* <a href="GimpAspectPreview.html#gimp-aspect-preview-new">gimp_aspect_preview_new</a> (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
61
<a href="GimpAspectPreview.html#GimpAspectPreview-struct">GimpAspectPreview</a>;
62
GtkWidget* <a href="GimpAspectPreview.html#gimp-aspect-preview-new">gimp_aspect_preview_new</a> (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
62
67
<div class="refsect1" lang="en">
63
<a name="id2651507"></a><h2>Object Hierarchy</h2>
68
<a name="id2600625"></a><h2>Object Hierarchy</h2>
64
69
<pre class="synopsis">
79
84
<div class="refsect1" lang="en">
80
<a name="id2651184"></a><h2>Implemented Interfaces</h2>
85
<a name="id2713062"></a><h2>Implemented Interfaces</h2>
82
87
GimpAspectPreview implements
83
88
AtkImplementorIface.</p>
85
90
<div class="refsect1" lang="en">
86
<a name="id2651204"></a><h2>Description</h2>
91
<a name="id2713082"></a><h2>Properties</h2>
92
<pre class="synopsis">
94
"<a href="GimpAspectPreview.html#GimpAspectPreview--drawable">drawable</a>" gpointer : Read / Write / Construct Only
97
<div class="refsect1" lang="en">
98
<a name="id2710424"></a><h2>Description</h2>
88
100
A widget providing a preview with fixed aspect ratio.
91
103
<div class="refsect1" lang="en">
92
<a name="id2651220"></a><h2>Details</h2>
104
<a name="id2710440"></a><h2>Details</h2>
93
105
<div class="refsect2" lang="en">
94
<a name="id2651231"></a><h3>
106
<a name="id2710451"></a><h3>
95
107
<a name="GimpAspectPreview-struct"></a>GimpAspectPreview</h3>
96
<a class="indexterm" name="id2651242"></a><pre class="programlisting">typedef struct _GimpAspectPreview GimpAspectPreview;</pre>
108
<a class="indexterm" name="id2710462"></a><pre class="programlisting">typedef struct _GimpAspectPreview GimpAspectPreview;</pre>
102
114
<div class="refsect2" lang="en">
103
<a name="id2651258"></a><h3>
115
<a name="id2710478"></a><h3>
104
116
<a name="gimp-aspect-preview-new"></a>gimp_aspect_preview_new ()</h3>
105
<a class="indexterm" name="id2651269"></a><pre class="programlisting">GtkWidget* gimp_aspect_preview_new (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
106
gboolean *toggle);</pre>
117
<a class="indexterm" name="id2710491"></a><pre class="programlisting">GtkWidget* gimp_aspect_preview_new (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
118
gboolean *toggle);</pre>
120
Creates a new <a href="GimpAspectPreview.html" title="GimpAspectPreview"><span class="type">GimpAspectPreview</span></a> widget for <em class="parameter"><code>drawable</code></em>. See also
121
<a href="GimpDrawablePreview.html#gimp-drawable-preview-new"><code class="function">gimp_drawable_preview_new()</code></a>.</p>
111
126
<col align="left" valign="top">
115
<span class="term"><em class="parameter"><code>drawable</code></em> :</span></td>
121
<span class="term"><em class="parameter"><code>toggle</code></em> :</span></td>
127
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
129
<td><span class="term"><em class="parameter"><code>drawable</code></em> :</span></td>
130
<td> a <a href="libgimp-gimpdrawable.html#GimpDrawable"><span class="type">GimpDrawable</span></a>
134
<td><span class="term"><em class="parameter"><code>toggle</code></em> :</span></td>
135
<td> pointer to a <span class="type">gboolean</span> variable to sync with the "Preview"
136
check-button or <code class="literal">NULL</code>
140
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>