summaryrefslogtreecommitdiffstats
path: root/devel-docs/libgimpwidgets/html/GimpUnitStore.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel-docs/libgimpwidgets/html/GimpUnitStore.html346
1 files changed, 346 insertions, 0 deletions
diff --git a/devel-docs/libgimpwidgets/html/GimpUnitStore.html b/devel-docs/libgimpwidgets/html/GimpUnitStore.html
new file mode 100644
index 0000000..4ad70a3
--- /dev/null
+++ b/devel-docs/libgimpwidgets/html/GimpUnitStore.html
@@ -0,0 +1,346 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<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 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">
+<link rel="next" href="GimpUnitComboBox.html" title="GimpUnitComboBox">
+<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</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="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#GimpUnitStore.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
+ <a href="#GimpUnitStore.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
+ <a href="#GimpUnitStore.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
+ <a href="#GimpUnitStore.properties" class="shortcut">Properties</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="GimpStringComboBox.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="GimpUnitComboBox.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="GimpUnitStore"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="GimpUnitStore.top_of_page"></a>GimpUnitStore</span></h2>
+<p>GimpUnitStore — A model for units</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="GimpUnitStore.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="GimpUnitStore.html" title="GimpUnitStore"><span class="returnvalue">GimpUnitStore</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-new" title="gimp_unit_store_new ()">gimp_unit_store_new</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-set-has-pixels" title="gimp_unit_store_set_has_pixels ()">gimp_unit_store_set_has_pixels</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<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>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-set-has-percent" title="gimp_unit_store_set_has_percent ()">gimp_unit_store_set_has_percent</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<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>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-set-pixel-value" title="gimp_unit_store_set_pixel_value ()">gimp_unit_store_set_pixel_value</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-set-pixel-values" title="gimp_unit_store_set_pixel_values ()">gimp_unit_store_set_pixel_values</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-set-resolution" title="gimp_unit_store_set_resolution ()">gimp_unit_store_set_resolution</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-set-resolutions" title="gimp_unit_store_set_resolutions ()">gimp_unit_store_set_resolutions</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<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>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GimpUnitStore.html#gimp-unit-store-get-values" title="gimp_unit_store_get_values ()">gimp_unit_store_get_values</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GimpUnitStore.properties"></a><h2>Properties</h2>
+<div class="informaltable"><table class="informaltable" border="0">
+<colgroup>
+<col width="150px" class="properties_type">
+<col width="300px" class="properties_name">
+<col width="200px" class="properties_flags">
+</colgroup>
+<tbody>
+<tr>
+<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"><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">
+<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"><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">
+<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>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GimpUnitStore.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="GimpUnitStore.html#GimpUnitStore-struct" title="GimpUnitStore">GimpUnitStore</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GimpUnitStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen"> GObject
+ <span class="lineart">╰──</span> GimpUnitStore
+</pre>
+</div>
+<div class="refsect1">
+<a name="GimpUnitStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
+<p>
+GimpUnitStore implements
+ <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>
+<p>A model for <a href="../html/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> views</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>
+</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>
+</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>
+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>
+<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>
+</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>
+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>
+<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>
+</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>...</code></em>);</pre>
+</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>
+</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>...</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"><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><span class="type">gint</span> 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="../html/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>...</code></em>);</pre>
+</div>
+</div>
+<div class="refsect1">
+<a name="GimpUnitStore.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="GimpUnitStore-struct"></a><h3>GimpUnitStore</h3>
+<pre class="programlisting">typedef struct _GimpUnitStore GimpUnitStore;</pre>
+</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>Whether the store has GIMP_UNIT_PERCENT.</p>
+<p>Owner: GimpUnitStore</p>
+<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>Whether the store has GIMP_UNIT_PIXELS.</p>
+<p>Owner: GimpUnitStore</p>
+<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>Format string for a long label.</p>
+<p>Owner: GimpUnitStore</p>
+<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>The number of values this store provides.</p>
+<p>Owner: GimpUnitStore</p>
+<p>Flags: Read / Write / Construct Only</p>
+<p>Allowed values: &gt;= 0</p>
+<p>Default value: 0</p>
+</div>
+<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>Format string for a short label.</p>
+<p>Owner: GimpUnitStore</p>
+<p>Flags: Read / Write</p>
+<p>Default value: "%a"</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.32</div>
+</body>
+</html> \ No newline at end of file