Imported Upstream version 2.4.0~rc1
This commit is contained in:
@ -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="#id2583849" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2579084" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2597152" class="shortcut">Description</a>
|
||||
<a href="#id2592449" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2589503" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2590376" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2589558" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2590431" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2589580" class="shortcut">Properties</a>
|
||||
<a href="#id2590452" class="shortcut">Properties</a>
|
||||
 | 
|
||||
<a href="#id2597127" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2592424" 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="id2583849"></a><span class="refentrytitle">GimpChainButton</span>
|
||||
<a name="id2579084"></a><span class="refentrytitle">GimpChainButton</span>
|
||||
</h2>
|
||||
<p>GimpChainButton — Widget to visually connect two entry widgets.</p>
|
||||
</td>
|
||||
@ -64,48 +64,66 @@
|
||||
|
||||
<a href="GimpChainButton.html#GimpChainButton-struct">GimpChainButton</a>;
|
||||
enum <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a>;
|
||||
GtkWidget* <a href="GimpChainButton.html#gimp-chain-button-new">gimp_chain_button_new</a> (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpChainButton.html#gimp-chain-button-new">gimp_chain_button_new</a> (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);
|
||||
void <a href="GimpChainButton.html#gimp-chain-button-set-active">gimp_chain_button_set_active</a> (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
|
||||
gboolean active);
|
||||
gboolean <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_chain_button_get_active</a> (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> active);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_chain_button_get_active</a> (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2589503"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2590376"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkTable
|
||||
<a
|
||||
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
|
||||
>GObject</a>
|
||||
+----<a
|
||||
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
|
||||
>GInitiallyUnowned</a>
|
||||
+----<a
|
||||
href="../gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="../gtk/GtkTable.html"
|
||||
>GtkTable</a>
|
||||
+----GimpChainButton
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2589558"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2590431"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpChainButton implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2589580"></a><h2>Properties</h2>
|
||||
<a name="id2590452"></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="id2597127"></a><h2>Signals</h2>
|
||||
<a name="id2592424"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a href="GimpChainButton.html#GimpChainButton-toggled">toggled</a>" : Run First
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2597152"></a><h2>Description</h2>
|
||||
<a name="id2592449"></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
|
||||
@ -122,20 +140,20 @@ necessary.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2597195"></a><h2>Details</h2>
|
||||
<a name="id2592492"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2597206"></a><h3>
|
||||
<a name="id2592503"></a><h3>
|
||||
<a name="GimpChainButton-struct"></a>GimpChainButton</h3>
|
||||
<a class="indexterm" name="id2597217"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
|
||||
<a class="indexterm" name="id2592514"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2597234"></a><h3>
|
||||
<a name="id2592531"></a><h3>
|
||||
<a name="GimpChainPosition"></a>enum GimpChainPosition</h3>
|
||||
<a class="indexterm" name="id2597246"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2592543"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_CHAIN_TOP,
|
||||
GIMP_CHAIN_LEFT,
|
||||
@ -149,9 +167,11 @@ necessary.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2597263"></a><h3>
|
||||
<a name="id2592560"></a><h3>
|
||||
<a name="gimp-chain-button-new"></a>gimp_chain_button_new ()</h3>
|
||||
<a class="indexterm" name="id2597274"></a><pre class="programlisting">GtkWidget* gimp_chain_button_new (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
|
||||
<a class="indexterm" name="id2587885"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* 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>
|
||||
@ -186,13 +206,19 @@ for more than two widgets, but the look is optimized for two.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2585458"></a><h3>
|
||||
<a name="id2587981"></a><h3>
|
||||
<a name="gimp-chain-button-set-active"></a>gimp_chain_button_set_active ()</h3>
|
||||
<a class="indexterm" name="id2585469"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
|
||||
gboolean active);</pre>
|
||||
<a class="indexterm" name="id2587992"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> 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
|
||||
unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to reflect the new state.</p>
|
||||
Sets the state of the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> to be either locked (<a
|
||||
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
|
||||
><code class="literal">TRUE</code></a>) or
|
||||
unlocked (<a
|
||||
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
|
||||
><code class="literal">FALSE</code></a>) and changes the showed pixmap to reflect the new state.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -214,9 +240,11 @@ unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to r
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2585574"></a><h3>
|
||||
<a name="id2588098"></a><h3>
|
||||
<a name="gimp-chain-button-get-active"></a>gimp_chain_button_get_active ()</h3>
|
||||
<a class="indexterm" name="id2585588"></a><pre class="programlisting">gboolean gimp_chain_button_get_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
|
||||
<a class="indexterm" name="id2588111"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> 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>
|
||||
@ -232,7 +260,9 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
|
||||
</tr>
|
||||
<tr>
|
||||
<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> <a
|
||||
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
|
||||
><code class="literal">TRUE</code></a> if the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> is active (locked).
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -240,11 +270,11 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2575211"></a><h2>Property Details</h2>
|
||||
<a name="id2579948"></a><h2>Property Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2575222"></a><h3>
|
||||
<a name="id2579958"></a><h3>
|
||||
<a name="GimpChainButton--position"></a>The "<code class="literal">position</code>" property</h3>
|
||||
<a class="indexterm" name="id2575236"></a><pre class="programlisting"> "position" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
|
||||
<a class="indexterm" name="id2579972"></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>
|
||||
@ -256,12 +286,14 @@ The position in which the chain button will be used.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2575273"></a><h2>Signal Details</h2>
|
||||
<a name="id2580009"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2575284"></a><h3>
|
||||
<a name="id2580020"></a><h3>
|
||||
<a name="GimpChainButton-toggled"></a>The "toggled" signal</h3>
|
||||
<a class="indexterm" name="id2575292"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<a class="indexterm" name="id2580028"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> user_data) : Run First</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -283,7 +315,7 @@ The position in which the chain button will be used.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2575361"></a><h2>See Also</h2>
|
||||
<a name="id2580097"></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