535 lines
22 KiB
HTML
535 lines
22 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>GimpZoomModel</title>
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
|
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
|
|
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
|
<link rel="prev" href="GimpUnitMenu.html" title="GimpUnitMenu">
|
|
<link rel="next" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
|
|
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
|
<link rel="stylesheet" href="style.css" type="text/css">
|
|
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
|
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
|
|
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
|
|
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
|
|
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
|
|
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
|
|
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
|
|
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
|
|
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
|
|
<link rel="index" href="libgimpwidgets-index.html" title="Index">
|
|
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
|
|
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
|
|
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
|
|
</head>
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
|
<tr valign="middle">
|
|
<td><a accesskey="p" href="GimpUnitMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
|
<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
|
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
|
<td><a accesskey="n" href="libgimpwidgets-cell-renderers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
|
</tr>
|
|
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2598121" class="shortcut">Top</a>
|
|
 | 
|
|
<a href="#id2655234" class="shortcut">Description</a>
|
|
 | 
|
|
<a href="#id2655110" class="shortcut">Object Hierarchy</a>
|
|
 | 
|
|
<a href="#id2655134" class="shortcut">Properties</a>
|
|
 | 
|
|
<a href="#id2655209" class="shortcut">Signals</a></nobr></td></tr>
|
|
</table>
|
|
<div class="refentry" lang="en">
|
|
<a name="GimpZoomModel"></a><div class="titlepage"></div>
|
|
<div class="refnamediv"><table width="100%"><tr>
|
|
<td valign="top">
|
|
<h2>
|
|
<a name="id2598121"></a><span class="refentrytitle">GimpZoomModel</span>
|
|
</h2>
|
|
<p>GimpZoomModel</p>
|
|
</td>
|
|
<td valign="top" align="right"></td>
|
|
</tr></table></div>
|
|
<div class="refsynopsisdiv">
|
|
<h2>Synopsis</h2>
|
|
<pre class="synopsis">
|
|
|
|
|
|
|
|
<a class="link" href="GimpZoomModel.html#GimpZoomModel-struct">GimpZoomModel</a>;
|
|
enum <a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a>;
|
|
<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>* <a class="link" href="GimpZoomModel.html#gimp-zoom-model-new">gimp_zoom_model_new</a> (void);
|
|
void <a class="link" href="GimpZoomModel.html#gimp-zoom-model-set-range">gimp_zoom_model_set_range</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> min,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> max);
|
|
void <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom">gimp_zoom_model_zoom</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> scale);
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-factor">gimp_zoom_model_get_factor</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);
|
|
void <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-fraction">gimp_zoom_model_get_fraction</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gint"
|
|
>gint</a> *numerator,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gint"
|
|
>gint</a> *denominator);
|
|
<a
|
|
href="../gtk/GtkWidget.html"
|
|
>GtkWidget</a>* <a class="link" href="GimpZoomModel.html#gimp-zoom-button-new">gimp_zoom_button_new</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
|
|
<a
|
|
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
|
|
>GtkIconSize</a> icon_size);
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom-step">gimp_zoom_model_zoom_step</a> (<a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> scale);
|
|
|
|
</pre>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2655110"></a><h2>Object Hierarchy</h2>
|
|
<pre class="synopsis">
|
|
|
|
<a
|
|
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
|
|
>GObject</a>
|
|
+----GimpZoomModel
|
|
</pre>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2655134"></a><h2>Properties</h2>
|
|
<pre class="synopsis">
|
|
|
|
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--fraction">fraction</a>" <a
|
|
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
|
>gchararray</a> : Read
|
|
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--maximum">maximum</a>" <a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> : Read / Write
|
|
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--minimum">minimum</a>" <a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> : Read / Write
|
|
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--percentage">percentage</a>" <a
|
|
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
|
>gchararray</a> : Read
|
|
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--value">value</a>" <a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> : Read / Write
|
|
</pre>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2655209"></a><h2>Signals</h2>
|
|
<pre class="synopsis">
|
|
|
|
"<a class="link" href="GimpZoomModel.html#GimpZoomModel-zoomed">zoomed</a>" : Run Last
|
|
</pre>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2655234"></a><h2>Description</h2>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2653916"></a><h2>Details</h2>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2653926"></a><h3>
|
|
<a name="GimpZoomModel-struct"></a>GimpZoomModel</h3>
|
|
<a class="indexterm" name="id2653938"></a><pre class="programlisting">typedef struct _GimpZoomModel GimpZoomModel;</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2653954"></a><h3>
|
|
<a name="GimpZoomType"></a>enum GimpZoomType</h3>
|
|
<a class="indexterm" name="id2653967"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_ZOOM_IN, /*< desc="Zoom in" >*/
|
|
GIMP_ZOOM_OUT, /*< desc="Zoom out" >*/
|
|
GIMP_ZOOM_IN_MORE, /*< skip >*/
|
|
GIMP_ZOOM_OUT_MORE, /*< skip >*/
|
|
GIMP_ZOOM_IN_MAX, /*< skip >*/
|
|
GIMP_ZOOM_OUT_MAX, /*< skip >*/
|
|
GIMP_ZOOM_TO /*< skip >*/
|
|
} GimpZoomType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2653987"></a><h3>
|
|
<a name="gimp-zoom-model-new"></a>gimp_zoom_model_new ()</h3>
|
|
<a class="indexterm" name="id2654000"></a><pre class="programlisting"><a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>* gimp_zoom_model_new (void);</pre>
|
|
<p>
|
|
Creates a new <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>.</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody><tr>
|
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
|
<td> a new <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>.
|
|
|
|
Since GIMP 2.4
|
|
</td>
|
|
</tr></tbody>
|
|
</table></div>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2654055"></a><h3>
|
|
<a name="gimp-zoom-model-set-range"></a>gimp_zoom_model_set_range ()</h3>
|
|
<a class="indexterm" name="id2654066"></a><pre class="programlisting">void gimp_zoom_model_set_range (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> min,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> max);</pre>
|
|
<p>
|
|
Sets the allowed range of the <em class="parameter"><code>model</code></em>.
|
|
</p>
|
|
<p>
|
|
Since GIMP 2.4</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
|
<td> a <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
|
|
<td> new lower limit for zoom factor
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
|
|
<td> new upper limit for zoom factor
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2645978"></a><h3>
|
|
<a name="gimp-zoom-model-zoom"></a>gimp_zoom_model_zoom ()</h3>
|
|
<a class="indexterm" name="id2645989"></a><pre class="programlisting">void gimp_zoom_model_zoom (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> scale);</pre>
|
|
<p>
|
|
Since GIMP 2.4</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
|
<td> a <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>zoom_type</code></em> :</span></p></td>
|
|
<td> the <a class="link" href="GimpZoomModel.html#GimpZoomType"><span class="type">GimpZoomType</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
|
|
<td> ignored unless <em class="parameter"><code>zoom_type</code></em> == <code class="literal">GIMP_ZOOM_TO</code>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646112"></a><h3>
|
|
<a name="gimp-zoom-model-get-factor"></a>gimp_zoom_model_get_factor ()</h3>
|
|
<a class="indexterm" name="id2646123"></a><pre class="programlisting"><a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> gimp_zoom_model_get_factor (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);</pre>
|
|
<p>
|
|
Retrieves the current zoom factor of <em class="parameter"><code>model</code></em>.</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
|
<td> a <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
|
<td> the current scale factor
|
|
|
|
Since GIMP 2.4
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646196"></a><h3>
|
|
<a name="gimp-zoom-model-get-fraction"></a>gimp_zoom_model_get_fraction ()</h3>
|
|
<a class="indexterm" name="id2646208"></a><pre class="programlisting">void gimp_zoom_model_get_fraction (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gint"
|
|
>gint</a> *numerator,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gint"
|
|
>gint</a> *denominator);</pre>
|
|
<p>
|
|
Retrieves the current zoom factor of <em class="parameter"><code>model</code></em> as a fraction.
|
|
</p>
|
|
<p>
|
|
Since GIMP 2.4</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
|
<td> a <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>numerator</code></em> :</span></p></td>
|
|
<td> return location for numerator
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>denominator</code></em> :</span></p></td>
|
|
<td> return location for denominator
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646501"></a><h3>
|
|
<a name="gimp-zoom-button-new"></a>gimp_zoom_button_new ()</h3>
|
|
<a class="indexterm" name="id2646512"></a><pre class="programlisting"><a
|
|
href="../gtk/GtkWidget.html"
|
|
>GtkWidget</a>* gimp_zoom_button_new (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
|
|
<a
|
|
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
|
|
>GtkIconSize</a> icon_size);</pre>
|
|
<p>
|
|
</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
|
<td> a <a class="link" href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>zoom_type</code></em> :</span></p></td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>icon_size</code></em> :</span></p></td>
|
|
<td> use 0 for a button with text labels
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
|
<td> a newly created GtkButton
|
|
|
|
Since GIMP 2.4
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646622"></a><h3>
|
|
<a name="gimp-zoom-model-zoom-step"></a>gimp_zoom_model_zoom_step ()</h3>
|
|
<a class="indexterm" name="id2646633"></a><pre class="programlisting"><a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> gimp_zoom_model_zoom_step (<a class="link" href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> scale);</pre>
|
|
<p>
|
|
Utility function to calculate a new scale factor.</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>zoom_type</code></em> :</span></p></td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
|
|
<td> ignored unless <em class="parameter"><code>zoom_type</code></em> == <code class="literal">GIMP_ZOOM_TO</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
|
<td> the new scale factor
|
|
|
|
Since GIMP 2.4
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2646732"></a><h2>Property Details</h2>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646742"></a><h3>
|
|
<a name="GimpZoomModel--fraction"></a>The <code class="literal">"fraction"</code> property</h3>
|
|
<a class="indexterm" name="id2646756"></a><pre class="programlisting"> "fraction" <a
|
|
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
|
>gchararray</a> : Read</pre>
|
|
<p></p>
|
|
<p>Default value: "1:1"</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646780"></a><h3>
|
|
<a name="GimpZoomModel--maximum"></a>The <code class="literal">"maximum"</code> property</h3>
|
|
<a class="indexterm" name="id2646794"></a><pre class="programlisting"> "maximum" <a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> : Read / Write</pre>
|
|
<p></p>
|
|
<p>Allowed values: [0.00390625,256]</p>
|
|
<p>Default value: 256</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646820"></a><h3>
|
|
<a name="GimpZoomModel--minimum"></a>The <code class="literal">"minimum"</code> property</h3>
|
|
<a class="indexterm" name="id2646834"></a><pre class="programlisting"> "minimum" <a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> : Read / Write</pre>
|
|
<p></p>
|
|
<p>Allowed values: [0.00390625,256]</p>
|
|
<p>Default value: 0.00390625</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2646863"></a><h3>
|
|
<a name="GimpZoomModel--percentage"></a>The <code class="literal">"percentage"</code> property</h3>
|
|
<a class="indexterm" name="id2646877"></a><pre class="programlisting"> "percentage" <a
|
|
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
|
|
>gchararray</a> : Read</pre>
|
|
<p></p>
|
|
<p>Default value: "100%"</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2660364"></a><h3>
|
|
<a name="GimpZoomModel--value"></a>The <code class="literal">"value"</code> property</h3>
|
|
<a class="indexterm" name="id2660376"></a><pre class="programlisting"> "value" <a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> : Read / Write</pre>
|
|
<p></p>
|
|
<p>Allowed values: [0.00390625,256]</p>
|
|
<p>Default value: 1</p>
|
|
</div>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2660403"></a><h2>Signal Details</h2>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2660413"></a><h3>
|
|
<a name="GimpZoomModel-zoomed"></a>The <code class="literal">"zoomed"</code> signal</h3>
|
|
<a class="indexterm" name="id2660425"></a><pre class="programlisting">void user_function (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> old_factor,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gdouble"
|
|
>gdouble</a> new_factor,
|
|
<a
|
|
href="../glib/glib-Basic-Types.html#gpointer"
|
|
>gpointer</a> user_data) : Run Last</pre>
|
|
<p>
|
|
Emitted when the zoom factor of the zoom model changes.</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
|
<td> the object that received the signal
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>old_factor</code></em> :</span></p></td>
|
|
<td> the zoom factor before it changes
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>new_factor</code></em> :</span></p></td>
|
|
<td> the zoom factor after it has changed.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
|
<td>user data set when the signal handler was connected.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
</div>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2660541"></a><div class="refsect2" lang="en"><a name="id2660542"></a></div>
|
|
<hr>
|
|
<div class="refsect2" lang="en"><a name="id2660543"></a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|