Imported Upstream version 2.8.18
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GimpRuler: GIMP Widgets Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" 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="GimpPreview.html" title="GimpPreview">
|
||||
<link rel="next" href="GimpScrolledPreview.html" title="GimpScrolledPreview">
|
||||
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -37,7 +37,7 @@
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpRuler.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
@ -45,7 +45,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
<a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpRuler.html#gimp-ruler-new" title="gimp_ruler_new ()">gimp_ruler_new</a> <span class="c_punctuation">()</span>
|
||||
@ -61,7 +61,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>
|
||||
<a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpRuler.html#gimp-ruler-get-unit" title="gimp_ruler_get_unit ()">gimp_ruler_get_unit</a> <span class="c_punctuation">()</span>
|
||||
@ -77,7 +77,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpRuler.html#gimp-ruler-get-position" title="gimp_ruler_get_position ()">gimp_ruler_get_position</a> <span class="c_punctuation">()</span>
|
||||
@ -120,7 +120,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpRuler.properties"></a><h2>Properties</h2>
|
||||
<div class="informaltable"><table border="0">
|
||||
<div class="informaltable"><table class="informaltable" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="properties_type">
|
||||
<col width="300px" class="properties_name">
|
||||
@ -128,32 +128,32 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--lower" title="The “lower” property">lower</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--max-size" title="The “max-size” property">max-size</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="http://library.gnome.org/devel/gtk3/gtk2-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a></td>
|
||||
<td class="property_type"><a href="/usr/share/gtk-doc/html/gtk2gtk2-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--orientation" title="The “orientation” property">orientation</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--position" title="The “position” property">position</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a></td>
|
||||
<td class="property_type"><a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--unit" title="The “unit” property">unit</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--upper" title="The “upper” property">upper</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -162,14 +162,14 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpRuler.style-properties"></a><h2>Style Properties</h2>
|
||||
<div class="informaltable"><table border="0">
|
||||
<div class="informaltable"><table class="informaltable" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="style_properties_type">
|
||||
<col width="300px" class="style_properties_name">
|
||||
<col width="200px" class="style_properties_flags">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GimpRuler.html#GimpRuler--s-font-scale" title="The “font-scale” style property">font-scale</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr></tbody>
|
||||
@ -177,7 +177,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpRuler.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
@ -190,10 +190,10 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpRuler.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkObject.html">GtkObject</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkWidget.html">GtkWidget</a>
|
||||
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkObject.html#GtkObject-struct">GtkObject</a>
|
||||
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> GimpRuler
|
||||
</pre>
|
||||
</div>
|
||||
@ -201,7 +201,7 @@
|
||||
<a name="GimpRuler.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpRuler implements
|
||||
AtkImplementorIface and <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
|
||||
AtkImplementorIface and <a href="/usr/share/gtk-doc/html/gtk2GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a>.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpRuler.description"></a><h2>Description</h2>
|
||||
@ -211,12 +211,12 @@ GimpRuler implements
|
||||
<a name="GimpRuler.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-ruler-new"></a><h3>gimp_ruler_new ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gimp_ruler_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/gtk2-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gimp_ruler_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk2gtk2-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
|
||||
<p>Creates a new ruler.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.2.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-new.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -230,7 +230,7 @@ gimp_ruler_new (<em class="parameter"><code><a href="http://library.gnome.org/de
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.2.6"></a><h4>Returns</h4>
|
||||
<a name="gimp-ruler-new.returns"></a><h4>Returns</h4>
|
||||
<p> a new <a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> widget.</p>
|
||||
</div>
|
||||
<p class="since">Since: GIMP 2.8</p>
|
||||
@ -240,11 +240,11 @@ gimp_ruler_new (<em class="parameter"><code><a href="http://library.gnome.org/de
|
||||
<a name="gimp-ruler-set-unit"></a><h3>gimp_ruler_set_unit ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_ruler_set_unit (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>,
|
||||
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
|
||||
<p>This sets the unit of the ruler.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.3.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-set-unit.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -258,7 +258,7 @@ gimp_ruler_set_unit (<em class="parameter"><code><a class="link" href="GimpRuler
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>unit</p></td>
|
||||
<td class="parameter_description"><p>the <a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> to set the ruler to</p></td>
|
||||
<td class="parameter_description"><p>the <a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> to set the ruler to</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -269,11 +269,11 @@ gimp_ruler_set_unit (<em class="parameter"><code><a class="link" href="GimpRuler
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-ruler-get-unit"></a><h3>gimp_ruler_get_unit ()</h3>
|
||||
<pre class="programlisting"><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>
|
||||
<pre class="programlisting"><a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>
|
||||
gimp_ruler_get_unit (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.4.4"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-get-unit.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -287,7 +287,7 @@ gimp_ruler_get_unit (<em class="parameter"><code><a class="link" href="GimpRuler
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.4.5"></a><h4>Returns</h4>
|
||||
<a name="gimp-ruler-get-unit.returns"></a><h4>Returns</h4>
|
||||
<p> the unit currently used in the <em class="parameter"><code>ruler</code></em>
|
||||
widget.</p>
|
||||
</div>
|
||||
@ -298,11 +298,11 @@ widget.</p>
|
||||
<a name="gimp-ruler-set-position"></a><h3>gimp_ruler_set_position ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_ruler_set_position (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> position</code></em>);</pre>
|
||||
<p>This sets the position of the ruler.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.5.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-set-position.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -327,11 +327,11 @@ gimp_ruler_set_position (<em class="parameter"><code><a class="link" href="GimpR
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-ruler-get-position"></a><h3>gimp_ruler_get_position ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
gimp_ruler_get_position (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.6.4"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-get-position.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -345,7 +345,7 @@ gimp_ruler_get_position (<em class="parameter"><code><a class="link" href="GimpR
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.6.5"></a><h4>Returns</h4>
|
||||
<a name="gimp-ruler-get-position.returns"></a><h4>Returns</h4>
|
||||
<p> the current position of the <em class="parameter"><code>ruler</code></em>
|
||||
widget.</p>
|
||||
</div>
|
||||
@ -356,13 +356,13 @@ widget.</p>
|
||||
<a name="gimp-ruler-set-range"></a><h3>gimp_ruler_set_range ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_ruler_set_range (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> lower</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> upper</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max_size</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> lower</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> upper</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max_size</code></em>);</pre>
|
||||
<p>This sets the range of the ruler.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.7.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-set-range.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -400,14 +400,14 @@ leave for the text</p></td>
|
||||
<a name="gimp-ruler-get-range"></a><h3>gimp_ruler_get_range ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_ruler_get_range (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *lower</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *upper</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max_size</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *lower</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *upper</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max_size</code></em>);</pre>
|
||||
<p>Retrieves values indicating the range and current position of a <a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a>.
|
||||
See <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler_set_range ()"><code class="function">gimp_ruler_set_range()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.8.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-get-range.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -421,18 +421,18 @@ See <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>lower</p></td>
|
||||
<td class="parameter_description"><p>location to store lower limit of the ruler, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_description"><p>location to store lower limit of the ruler, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>upper</p></td>
|
||||
<td class="parameter_description"><p>location to store upper limit of the ruler, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_description"><p>location to store upper limit of the ruler, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>max_size</p></td>
|
||||
<td class="parameter_description"><p>location to store the maximum size of the ruler used when
|
||||
calculating the space to leave for the text, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
||||
calculating the space to leave for the text, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -445,15 +445,15 @@ calculating the space to leave for the text, or <a href="https://developer.gnome
|
||||
<a name="gimp-ruler-add-track-widget"></a><h3>gimp_ruler_add_track_widget ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_ruler_add_track_widget (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
||||
<p>Adds a "track widget" to the ruler. The ruler will connect to
|
||||
GtkWidget:motion-notify-event: on the track widget and update its
|
||||
position marker accordingly. The marker is correctly updated also
|
||||
for the track widget's children, regardless of whether they are
|
||||
ordinary children of off-screen children.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.9.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-add-track-widget.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -480,12 +480,12 @@ ordinary children of off-screen children.</p>
|
||||
<a name="gimp-ruler-remove-track-widget"></a><h3>gimp_ruler_remove_track_widget ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a> *ruler</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk2GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
||||
<p>Removes a previously added track widget from the ruler. See
|
||||
<a class="link" href="GimpRuler.html#gimp-ruler-add-track-widget" title="gimp_ruler_add_track_widget ()"><code class="function">gimp_ruler_add_track_widget()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.31.10.10.5"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<a name="gimp-ruler-remove-track-widget.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
@ -519,7 +519,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<a name="GimpRuler.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--lower"></a><h3>The <code class="literal">“lower”</code> property</h3>
|
||||
<pre class="programlisting"> “lower” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “lower” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<p>Lower limit of ruler.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -527,7 +527,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--max-size"></a><h3>The <code class="literal">“max-size”</code> property</h3>
|
||||
<pre class="programlisting"> “max-size” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “max-size” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<p>Maximum size of the ruler.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -535,7 +535,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--orientation"></a><h3>The <code class="literal">“orientation”</code> property</h3>
|
||||
<pre class="programlisting"> “orientation” <a href="http://library.gnome.org/devel/gtk3/gtk2-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a></pre>
|
||||
<pre class="programlisting"> “orientation” <a href="/usr/share/gtk-doc/html/gtk2gtk2-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a></pre>
|
||||
<p>The orientation of the ruler.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_ORIENTATION_HORIZONTAL</p>
|
||||
@ -543,7 +543,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--position"></a><h3>The <code class="literal">“position”</code> property</h3>
|
||||
<pre class="programlisting"> “position” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “position” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<p>Position of mark on the ruler.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -551,7 +551,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--unit"></a><h3>The <code class="literal">“unit”</code> property</h3>
|
||||
<pre class="programlisting"> “unit” <a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a></pre>
|
||||
<pre class="programlisting"> “unit” <a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a></pre>
|
||||
<p>Unit of ruler.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,65535]</p>
|
||||
@ -560,7 +560,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--upper"></a><h3>The <code class="literal">“upper”</code> property</h3>
|
||||
<pre class="programlisting"> “upper” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “upper” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<p>Upper limit of ruler.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -570,7 +570,7 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
<a name="GimpRuler.style-property-details"></a><h2>Style Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GimpRuler--s-font-scale"></a><h3>The <code class="literal">“font-scale”</code> style property</h3>
|
||||
<pre class="programlisting"> “font-scale” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “font-scale” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 0.833333</p>
|
||||
@ -578,6 +578,6 @@ gimp_ruler_remove_track_widget (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user