Imported Upstream version 2.8.16

This commit is contained in:
Ari Pollak
2015-11-24 14:17:30 -05:00
parent bf2f572083
commit 66d1b776a9
842 changed files with 251623 additions and 240362 deletions

View File

@ -2,13 +2,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GIMP Widgets Library Reference Manual: GimpUnitStore</title>
<title>GimpUnitStore: GIMP Widgets Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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="GimpStringComboBox.html" title="GimpStringComboBox">
<link rel="next" href="GimpUnitComboBox.html" title="GimpUnitComboBox">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -60,7 +60,7 @@
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</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">
<span class="returnvalue">gboolean</span>
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</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">
<span class="returnvalue">gdouble</span>
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
</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"><span class="type">gboolean</span></td>
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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"><span class="type">gboolean</span></td>
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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">
<span class="type">gchar</span> *</td>
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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"><span class="type">gint</span></td>
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></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">
<span class="type">gchar</span> *</td>
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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>
@ -193,7 +193,7 @@
</div>
<div class="refsect1">
<a name="GimpUnitStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
<span class="lineart">╰──</span> GimpUnitStore
</pre>
</div>
@ -201,132 +201,92 @@
<a name="GimpUnitStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpUnitStore implements
GtkTreeModel.</p>
<a href="http://library.gnome.org/devel/gtk3/GtkTreeModel.html">GtkTreeModel</a>.</p>
</div>
<div class="refsect1">
<a name="GimpUnitStore.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GimpUnitStore.functions_details"></a><h2>Functions</h2>
<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><span class="type">gint</span> num_values</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.35.9.2.5"></a><h4>Returns</h4>
<p></p>
</div>
gimp_unit_store_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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><span class="type">gboolean</span> has_pixels</code></em>);</pre>
<p>
</p>
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> 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"><span class="returnvalue">gboolean</span>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
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>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.35.9.4.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<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><span class="type">gboolean</span> has_percent</code></em>);</pre>
<p>
</p>
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> 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"><span class="returnvalue">gboolean</span>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
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>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.35.9.6.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<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><span class="type">gint</span> index</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
<p>
</p>
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</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> 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><span class="type">gdouble</span> first_value</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> first_value</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<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><span class="type">gint</span> index</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);</pre>
<p>
</p>
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</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> 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><span class="type">gdouble</span> first_resolution</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> first_resolution</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-unit-store-get-value"></a><h3>gimp_unit_store_get_value ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
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="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gint</span> index</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.35.9.11.5"></a><h4>Returns</h4>
<p></p>
</div>
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gimp-unit-store-get-values"></a><h3>gimp_unit_store_get_values ()</h3>
<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="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> *first_value</code></em>,
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</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> *first_value</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
@ -334,8 +294,6 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
<div class="refsect2">
<a name="GimpUnitStore-struct"></a><h3>GimpUnitStore</h3>
<pre class="programlisting">typedef struct _GimpUnitStore GimpUnitStore;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
@ -350,40 +308,34 @@ gimp_unit_store_get_values (<em class="parameter"><code><a class="link" href="Gi
void (*_gtk_reserved4) (void);
};
</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<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” <span class="type">gboolean</span></pre>
<p></p>
<pre class="programlisting"> “has-percent” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<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” <span class="type">gboolean</span></pre>
<p></p>
<pre class="programlisting"> “has-pixels” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<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” <span class="type">gchar</span> *</pre>
<p></p>
<pre class="programlisting"> “long-format” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Flags: Read / Write</p>
<p>Default value: "%p"</p>
</div>
<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” <span class="type">gint</span></pre>
<p></p>
<pre class="programlisting"> “num-values” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
@ -391,15 +343,13 @@ 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” <span class="type">gchar</span> *</pre>
<p></p>
<pre class="programlisting"> “short-format” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Flags: Read / Write</p>
<p>Default value: "%a"</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>