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,24 +33,24 @@
|
||||
<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="#id2581577" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585468" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2561219" class="shortcut">Description</a>
|
||||
<a href="#id2567607" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2581266" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2561592" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2581321" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2561647" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2581343" class="shortcut">Properties</a>
|
||||
<a href="#id2561668" class="shortcut">Properties</a>
|
||||
 | 
|
||||
<a href="#id2561177" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2567565" 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>
|
||||
<a name="id2581577"></a><span class="refentrytitle">GimpChainButton</span>
|
||||
<a name="id2585468"></a><span class="refentrytitle">GimpChainButton</span>
|
||||
</h2>
|
||||
<p>GimpChainButton — Widget to visually connect two entry widgets.</p>
|
||||
</td>
|
||||
@ -72,7 +72,7 @@ gboolean <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_cha
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2581266"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2561592"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
@ -85,20 +85,20 @@ gboolean <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_cha
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2581321"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2561647"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpChainButton implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2581343"></a><h2>Properties</h2>
|
||||
<a name="id2561668"></a><h2>Properties</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a href="GimpChainButton.html#GimpChainButton--position">position</a>" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2561177"></a><h2>Signals</h2>
|
||||
<a name="id2567565"></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,
|
||||
@ -106,7 +106,7 @@ GimpChainButton implements
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2561219"></a><h2>Description</h2>
|
||||
<a name="id2567607"></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
|
||||
@ -123,20 +123,20 @@ necessary.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2561262"></a><h2>Details</h2>
|
||||
<a name="id2567649"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2561272"></a><h3>
|
||||
<a name="id2567660"></a><h3>
|
||||
<a name="GimpChainButton-struct"></a>GimpChainButton</h3>
|
||||
<a class="indexterm" name="id2561284"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
|
||||
<a class="indexterm" name="id2567672"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2561300"></a><h3>
|
||||
<a name="id2567688"></a><h3>
|
||||
<a name="GimpChainPosition"></a>enum GimpChainPosition</h3>
|
||||
<a class="indexterm" name="id2561313"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2567701"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_CHAIN_TOP,
|
||||
GIMP_CHAIN_LEFT,
|
||||
@ -150,9 +150,9 @@ necessary.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2577696"></a><h3>
|
||||
<a name="id2549771"></a><h3>
|
||||
<a name="gimp-chain-button-new"></a>gimp_chain_button_new ()</h3>
|
||||
<a class="indexterm" name="id2577707"></a><pre class="programlisting">GtkWidget* gimp_chain_button_new (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
|
||||
<a class="indexterm" name="id2549782"></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>
|
||||
@ -170,15 +170,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>position</code></em> :</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</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.
|
||||
@ -189,9 +187,9 @@ for more than two widgets, but the look is optimized for two.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2577802"></a><h3>
|
||||
<a name="id2549877"></a><h3>
|
||||
<a name="gimp-chain-button-set-active"></a>gimp_chain_button_set_active ()</h3>
|
||||
<a class="indexterm" name="id2577813"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
|
||||
<a class="indexterm" name="id2549889"></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
|
||||
@ -203,14 +201,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>button</code></em> :</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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>active</code></em> :</span></td>
|
||||
<td> The new state.
|
||||
</td>
|
||||
</tr>
|
||||
@ -219,9 +215,9 @@ unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to r
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2577918"></a><h3>
|
||||
<a name="id2549993"></a><h3>
|
||||
<a name="gimp-chain-button-get-active"></a>gimp_chain_button_get_active ()</h3>
|
||||
<a class="indexterm" name="id2577931"></a><pre class="programlisting">gboolean gimp_chain_button_get_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
|
||||
<a class="indexterm" name="id2550006"></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>
|
||||
@ -231,14 +227,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>button</code></em> :</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</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>
|
||||
@ -247,11 +241,11 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2586413"></a><h2>Property Details</h2>
|
||||
<a name="id2582411"></a><h2>Property Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2586424"></a><h3>
|
||||
<a name="id2582422"></a><h3>
|
||||
<a name="GimpChainButton--position"></a>The "<code class="literal">position</code>" property</h3>
|
||||
<a class="indexterm" name="id2586438"></a><pre class="programlisting"> "position" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
|
||||
<a class="indexterm" name="id2582435"></a><pre class="programlisting"> "position" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
|
||||
<p>
|
||||
The position in which the chain button will be used.</p>
|
||||
<p>
|
||||
@ -263,11 +257,11 @@ The position in which the chain button will be used.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2586476"></a><h2>Signal Details</h2>
|
||||
<a name="id2582472"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2586487"></a><h3>
|
||||
<a name="id2582483"></a><h3>
|
||||
<a name="GimpChainButton-toggled"></a>The "toggled" signal</h3>
|
||||
<a class="indexterm" name="id2586494"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
|
||||
<a class="indexterm" name="id2582490"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
|
||||
gpointer user_data) : Run first</pre>
|
||||
<p>
|
||||
|
||||
@ -276,15 +270,13 @@ The position in which the chain button will be used.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gimpchainbutton</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gimpchainbutton</code></em> :</span></td>
|
||||
<td>the object which received the signal.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>user data set when the signal handler was connected.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -292,7 +284,7 @@ The position in which the chain button will be used.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2586565"></a><h2>See Also</h2>
|
||||
<a name="id2582561"></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>.
|
||||
|
||||
Reference in New Issue
Block a user