New upstream version 2.10.20
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GimpUnitStore: GIMP Widgets Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<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="GimpStringComboBox.html" title="GimpStringComboBox">
|
||||
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpUnitStore.html#gimp-unit-store-get-has-pixels" title="gimp_unit_store_get_has_pixels ()">gimp_unit_store_get_has_pixels</a> <span class="c_punctuation">()</span>
|
||||
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpUnitStore.html#gimp-unit-store-get-has-percent" title="gimp_unit_store_get_has_percent ()">gimp_unit_store_get_has_percent</a> <span class="c_punctuation">()</span>
|
||||
@ -116,7 +116,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpUnitStore.html#gimp-unit-store-get-value" title="gimp_unit_store_get_value ()">gimp_unit_store_get_value</a> <span class="c_punctuation">()</span>
|
||||
@ -143,29 +143,29 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GimpUnitStore.html#GimpUnitStore--has-percent" title="The “has-percent” property">has-percent</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GimpUnitStore.html#GimpUnitStore--has-pixels" title="The “has-pixels” property">has-pixels</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GimpUnitStore.html#GimpUnitStore--long-format" title="The “long-format” property">long-format</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GimpUnitStore.html#GimpUnitStore--num-values" title="The “num-values” property">num-values</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GimpUnitStore.html#GimpUnitStore--short-format" title="The “short-format” property">short-format</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -187,7 +187,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpUnitStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="/local/head/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GimpUnitStore
|
||||
</pre>
|
||||
</div>
|
||||
@ -195,7 +195,7 @@
|
||||
<a name="GimpUnitStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpUnitStore implements
|
||||
<a href="/local/head/share/gtk-doc/html/gtk2/GtkTreeModel.html#GtkTreeModel-struct">GtkTreeModel</a>.</p>
|
||||
<a href="https://developer.gnome.org/gtk3/GtkTreeModel.html#GtkTreeModel-struct">GtkTreeModel</a>.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpUnitStore.description"></a><h2>Description</h2>
|
||||
@ -206,19 +206,19 @@ GimpUnitStore implements
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-new"></a><h3>gimp_unit_store_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="returnvalue">GimpUnitStore</span></a> *
|
||||
gimp_unit_store_new (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_values</code></em>);</pre>
|
||||
gimp_unit_store_new (<em class="parameter"><code><span class="type">gint</span> num_values</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-set-has-pixels"></a><h3>gimp_unit_store_set_has_pixels ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_set_has_pixels (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_pixels</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> has_pixels</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-get-has-pixels"></a><h3>gimp_unit_store_get_has_pixels ()</h3>
|
||||
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_unit_store_get_has_pixels (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
@ -226,12 +226,12 @@ gimp_unit_store_get_has_pixels (<em class="parameter"><code><a class="link" href
|
||||
<a name="gimp-unit-store-set-has-percent"></a><h3>gimp_unit_store_set_has_percent ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_set_has_percent (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_percent</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> has_percent</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-get-has-percent"></a><h3>gimp_unit_store_get_has_percent ()</h3>
|
||||
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_unit_store_get_has_percent (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
@ -239,15 +239,15 @@ gimp_unit_store_get_has_percent (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gimp-unit-store-set-pixel-value"></a><h3>gimp_unit_store_set_pixel_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_set_pixel_value (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> index</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-set-pixel-values"></a><h3>gimp_unit_store_set_pixel_values ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_set_pixel_values (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> first_value</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> first_value</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
@ -255,24 +255,24 @@ gimp_unit_store_set_pixel_values (<em class="parameter"><code><a class="link" hr
|
||||
<a name="gimp-unit-store-set-resolution"></a><h3>gimp_unit_store_set_resolution ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_set_resolution (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> resolution</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> index</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-set-resolutions"></a><h3>gimp_unit_store_set_resolutions ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_set_resolutions (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> first_resolution</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> first_resolution</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-unit-store-get-value"></a><h3>gimp_unit_store_get_value ()</h3>
|
||||
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gimp_unit_store_get_value (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> index</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -280,7 +280,7 @@ gimp_unit_store_get_value (<em class="parameter"><code><a class="link" href="Gim
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="type">GimpUnitStore</span></a> *store</code></em>,
|
||||
<em class="parameter"><code><a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *first_value</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *first_value</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -295,7 +295,7 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
|
||||
<a name="GimpUnitStore.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GimpUnitStore--has-percent"></a><h3>The <code class="literal">“has-percent”</code> property</h3>
|
||||
<pre class="programlisting"> “has-percent” <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “has-percent” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the store has GIMP_UNIT_PERCENT.</p>
|
||||
<p>Owner: GimpUnitStore</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -304,7 +304,7 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpUnitStore--has-pixels"></a><h3>The <code class="literal">“has-pixels”</code> property</h3>
|
||||
<pre class="programlisting"> “has-pixels” <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “has-pixels” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the store has GIMP_UNIT_PIXELS.</p>
|
||||
<p>Owner: GimpUnitStore</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -313,7 +313,7 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpUnitStore--long-format"></a><h3>The <code class="literal">“long-format”</code> property</h3>
|
||||
<pre class="programlisting"> “long-format” <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “long-format” <span class="type">gchar</span> *</pre>
|
||||
<p>Format string for a long label.</p>
|
||||
<p>Owner: GimpUnitStore</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -322,7 +322,7 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpUnitStore--num-values"></a><h3>The <code class="literal">“num-values”</code> property</h3>
|
||||
<pre class="programlisting"> “num-values” <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “num-values” <span class="type">gint</span></pre>
|
||||
<p>The number of values this store provides.</p>
|
||||
<p>Owner: GimpUnitStore</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
@ -332,7 +332,7 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GimpUnitStore--short-format"></a><h3>The <code class="literal">“short-format”</code> property</h3>
|
||||
<pre class="programlisting"> “short-format” <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “short-format” <span class="type">gchar</span> *</pre>
|
||||
<p>Format string for a short label.</p>
|
||||
<p>Owner: GimpUnitStore</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
|
Reference in New Issue
Block a user