Imported Upstream version 2.2.14

This commit is contained in:
Ari Pollak
2010-08-11 01:17:12 -04:00
parent 70ad8213cf
commit a2f097051e
490 changed files with 35329 additions and 58398 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpChainButton</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpButton.html" title="GimpButton">
<link rel="next" href="GimpColorArea.html" title="GimpColorArea">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
@ -28,25 +28,29 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorArea.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="#top_of_page" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2568710" class="shortcut">Top</a>
&#160;|&#160;
<a href="#desc" class="shortcut">Description</a>
<a href="#id2579877" class="shortcut">Description</a>
&#160;|&#160;
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
<a href="#id2572929" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2572984" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2573006" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpChainButton"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpChainButton</span></h2>
<h2>
<a name="id2568710"></a><span class="refentrytitle">GimpChainButton</span>
</h2>
<p>GimpChainButton &#8212; Widget to visually connect two entry widgets.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="synopsis"></a><h2>Synopsis</h2>
<h2>Synopsis</h2>
<pre class="synopsis">
@ -61,7 +65,7 @@ gboolean <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_cha
</pre>
</div>
<div class="refsect1" lang="en">
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
<a name="id2572929"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
@ -74,13 +78,13 @@ gboolean <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_cha
</pre>
</div>
<div class="refsect1" lang="en">
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
<a name="id2572984"></a><h2>Implemented Interfaces</h2>
<p>
GimpChainButton implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="signal_proto"></a><h2>Signals</h2>
<a name="id2573006"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpChainButton.html#GimpChainButton-toggled">toggled</a>" void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
@ -88,7 +92,7 @@ GimpChainButton implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="desc"></a><h2>Description</h2>
<a name="id2579877"></a><h2>Description</h2>
<p>
This widget provides a button showing either a linked or a broken
chain that can be used to link two entries, spinbuttons, colors
@ -105,20 +109,20 @@ necessary.
</p>
</div>
<div class="refsect1" lang="en">
<a name="details"></a><h2>Details</h2>
<a name="id2579920"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2554134"></a><h3>
<a name="id2579931"></a><h3>
<a name="GimpChainButton-struct"></a>GimpChainButton</h3>
<a class="indexterm" name="id2554145"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
<a class="indexterm" name="id2579943"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2554161"></a><h3>
<a name="id2579959"></a><h3>
<a name="GimpChainPosition"></a>enum GimpChainPosition</h3>
<a class="indexterm" name="id2554173"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2579971"></a><pre class="programlisting">typedef enum
{
GIMP_CHAIN_TOP,
GIMP_CHAIN_LEFT,
@ -132,9 +136,9 @@ necessary.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2554190"></a><h3>
<a name="id2579988"></a><h3>
<a name="gimp-chain-button-new"></a>gimp_chain_button_new ()</h3>
<a class="indexterm" name="id2554202"></a><pre class="programlisting">GtkWidget* gimp_chain_button_new (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
<a class="indexterm" name="id2580000"></a><pre class="programlisting">GtkWidget* gimp_chain_button_new (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
<p>
Creates a new <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> widget.
</p>
@ -152,15 +156,13 @@ for more than two widgets, but the look is optimized for two.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
<td> The position you are going to use for the button
with respect to the widgets you want to chain.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> Pointer to the new <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>, which is inactive
by default. Use <a href="GimpChainButton.html#gimp-chain-button-set-active"><code class="function">gimp_chain_button_set_active()</code></a> to
change its state.
@ -171,9 +173,9 @@ for more than two widgets, but the look is optimized for two.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2476485"></a><h3>
<a name="id2509458"></a><h3>
<a name="gimp-chain-button-set-active"></a>gimp_chain_button_set_active ()</h3>
<a class="indexterm" name="id2476496"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
<a class="indexterm" name="id2509469"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);</pre>
<p>
Sets the state of the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> to be either locked (<code class="literal">TRUE</code>) or
@ -185,14 +187,12 @@ unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to r
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
<td> Pointer to a <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>active</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>active</code></em>&#160;:</span></td>
<td> The new state.
</td>
</tr>
@ -201,9 +201,9 @@ unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to r
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2476600"></a><h3>
<a name="id2509573"></a><h3>
<a name="gimp-chain-button-get-active"></a>gimp_chain_button_get_active ()</h3>
<a class="indexterm" name="id2476613"></a><pre class="programlisting">gboolean gimp_chain_button_get_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<a class="indexterm" name="id2509586"></a><pre class="programlisting">gboolean gimp_chain_button_get_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<p>
Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
<p>
@ -213,14 +213,12 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
<td> Pointer to a <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> is active (locked).
</td>
</tr>
@ -229,11 +227,11 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
</div>
</div>
<div class="refsect1" lang="en">
<a name="signals"></a><h2>Signal Details</h2>
<a name="id2514864"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2481658"></a><h3>
<a name="id2514875"></a><h3>
<a name="GimpChainButton-toggled"></a>The "toggled" signal</h3>
<a class="indexterm" name="id2481665"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
<a class="indexterm" name="id2514883"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
gpointer user_data) : Run first</pre>
<p>
@ -242,15 +240,13 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gimpchainbutton</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>gimpchainbutton</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
@ -258,7 +254,7 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2481733"></a><h2>See Also</h2>
<a name="id2514952"></a><h2>See Also</h2>
<p>
You may want to use the convenience function <a href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new"><code class="function">gimp_coordinates_new()</code></a> to set
up two GimpSizeEntries (see <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>) linked with a <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.