Imported Upstream version 2.3.13
This commit is contained in:
@ -19,10 +19,10 @@
|
||||
<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="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
<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">
|
||||
@ -33,20 +33,20 @@
|
||||
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="GimpMemsizeEntry.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="#id2568275" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578807" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2603461" class="shortcut">Description</a>
|
||||
<a href="#id2605504" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2603384" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2594597" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2603421" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
|
||||
<a href="#id2605464" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="GimpIntStore"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2568275"></a><span class="refentrytitle">GimpIntStore</span>
|
||||
<a name="id2578807"></a><span class="refentrytitle">GimpIntStore</span>
|
||||
</h2>
|
||||
<p>GimpIntStore — A model for integer based name-value pairs (e.g. enums)</p>
|
||||
</td>
|
||||
@ -68,7 +68,7 @@ gboolean <a href="GimpIntStore.html#gimp-int-store-lookup-by-value">gimp_int_
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2603384"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2594597"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
@ -78,32 +78,32 @@ gboolean <a href="GimpIntStore.html#gimp-int-store-lookup-by-value">gimp_int_
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2603421"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2605464"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpIntStore implements
|
||||
GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest and GtkTreeSortable.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2603461"></a><h2>Description</h2>
|
||||
<a name="id2605504"></a><h2>Description</h2>
|
||||
<p>
|
||||
A model for integer based name-value pairs (e.g. enums)
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2556163"></a><h2>Details</h2>
|
||||
<a name="id2605521"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2556173"></a><h3>
|
||||
<a name="id2605532"></a><h3>
|
||||
<a name="GimpIntStore-struct"></a>GimpIntStore</h3>
|
||||
<a class="indexterm" name="id2556186"></a><pre class="programlisting">typedef struct _GimpIntStore GimpIntStore;</pre>
|
||||
<a class="indexterm" name="id2605544"></a><pre class="programlisting">typedef struct _GimpIntStore GimpIntStore;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2556201"></a><h3>
|
||||
<a name="id2605560"></a><h3>
|
||||
<a name="GimpIntStoreColumns"></a>enum GimpIntStoreColumns</h3>
|
||||
<a class="indexterm" name="id2556213"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2605572"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_INT_STORE_VALUE,
|
||||
GIMP_INT_STORE_LABEL,
|
||||
@ -119,9 +119,9 @@ A model for integer based name-value pairs (e.g. enums)
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2556232"></a><h3>
|
||||
<a name="id2601659"></a><h3>
|
||||
<a name="gimp-int-store-new"></a>gimp_int_store_new ()</h3>
|
||||
<a class="indexterm" name="id2556246"></a><pre class="programlisting">GtkListStore* gimp_int_store_new (void);</pre>
|
||||
<a class="indexterm" name="id2601673"></a><pre class="programlisting">GtkListStore* gimp_int_store_new (void);</pre>
|
||||
<p>
|
||||
Creates a <span class="type">GtkListStore</span> with a number of useful columns.
|
||||
<a href="GimpIntStore.html" title="GimpIntStore"><span class="type">GimpIntStore</span></a> is especially useful if the items you want to store
|
||||
@ -132,8 +132,7 @@ are identified using an integer value.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a new <a href="GimpIntStore.html" title="GimpIntStore"><span class="type">GimpIntStore</span></a>.
|
||||
|
||||
</td>
|
||||
@ -144,9 +143,9 @@ are identified using an integer value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601923"></a><h3>
|
||||
<a name="id2601740"></a><h3>
|
||||
<a name="gimp-int-store-lookup-by-value"></a>gimp_int_store_lookup_by_value ()</h3>
|
||||
<a class="indexterm" name="id2601937"></a><pre class="programlisting">gboolean gimp_int_store_lookup_by_value (GtkTreeModel *model,
|
||||
<a class="indexterm" name="id2601754"></a><pre class="programlisting">gboolean gimp_int_store_lookup_by_value (GtkTreeModel *model,
|
||||
gint value,
|
||||
GtkTreeIter *iter);</pre>
|
||||
<p>
|
||||
@ -158,26 +157,22 @@ Iterate over the <em class="parameter"><code>model</code></em> looking for <em c
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>model</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>model</code></em> :</span></td>
|
||||
<td> a <a href="GimpIntStore.html" title="GimpIntStore"><span class="type">GimpIntStore</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td> an integer value to lookup in the <em class="parameter"><code>model</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>iter</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>iter</code></em> :</span></td>
|
||||
<td> return location for the iter of the given <em class="parameter"><code>value</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> <code class="literal">TRUE</code> if the value has been located and <em class="parameter"><code>iter</code></em> is
|
||||
valid, <code class="literal">FALSE</code> otherwise.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user