Imported Upstream version 2.4.0~rc3

This commit is contained in:
Ari Pollak
2010-08-11 01:23:08 -04:00
parent 4be5597e32
commit f35d8506c6
668 changed files with 59324 additions and 37769 deletions

View File

@ -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="#id2599902" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2606392" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2608754" class="shortcut">Description</a>
<a href="#id2586916" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2603228" class="shortcut">Object Hierarchy</a>
<a href="#id2610572" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2603283" class="shortcut">Implemented Interfaces</a>
<a href="#id2610626" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2603310" class="shortcut">Properties</a>
<a href="#id2610654" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2608729" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2586891" 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="id2599902"></a><span class="refentrytitle">GimpChainButton</span>
<a name="id2606392"></a><span class="refentrytitle">GimpChainButton</span>
</h2>
<p>GimpChainButton &#8212; Widget to visually connect two entry widgets.</p>
</td>
@ -64,48 +64,66 @@
<a class="link" href="GimpChainButton.html#GimpChainButton-struct">GimpChainButton</a>;
enum <a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a>;
GtkWidget* <a class="link" href="GimpChainButton.html#gimp-chain-button-new">gimp_chain_button_new</a> (<a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpChainButton.html#gimp-chain-button-new">gimp_chain_button_new</a> (<a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);
void <a class="link" href="GimpChainButton.html#gimp-chain-button-set-active">gimp_chain_button_set_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);
gboolean <a class="link" href="GimpChainButton.html#gimp-chain-button-get-active">gimp_chain_button_get_active</a> (<a class="link" 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 class="link" href="GimpChainButton.html#gimp-chain-button-get-active">gimp_chain_button_get_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2603228"></a><h2>Object Hierarchy</h2>
<a name="id2610572"></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="id2603283"></a><h2>Implemented Interfaces</h2>
<a name="id2610626"></a><h2>Implemented Interfaces</h2>
<p>
GimpChainButton implements
AtkImplementorIface and GtkBuildable.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2603310"></a><h2>Properties</h2>
<a name="id2610654"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpChainButton.html#GimpChainButton--position">position</a>" <a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2608729"></a><h2>Signals</h2>
<a name="id2586891"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GimpChainButton.html#GimpChainButton-toggled">toggled</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2608754"></a><h2>Description</h2>
<a name="id2586916"></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="id2608797"></a><h2>Details</h2>
<a name="id2586958"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2608808"></a><h3>
<a name="id2586969"></a><h3>
<a name="GimpChainButton-struct"></a>GimpChainButton</h3>
<a class="indexterm" name="id2608819"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
<a class="indexterm" name="id2586981"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608836"></a><h3>
<a name="id2586997"></a><h3>
<a name="GimpChainPosition"></a>enum GimpChainPosition</h3>
<a class="indexterm" name="id2608848"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2587010"></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="id2608865"></a><h3>
<a name="id2587027"></a><h3>
<a name="gimp-chain-button-new"></a>gimp_chain_button_new ()</h3>
<a class="indexterm" name="id2584698"></a><pre class="programlisting">GtkWidget* gimp_chain_button_new (<a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
<a class="indexterm" name="id2578023"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_chain_button_new (<a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
<p>
Creates a new <a class="link" 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="id2584794"></a><h3>
<a name="id2578119"></a><h3>
<a name="gimp-chain-button-set-active"></a>gimp_chain_button_set_active ()</h3>
<a class="indexterm" name="id2584805"></a><pre class="programlisting">void gimp_chain_button_set_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);</pre>
<a class="indexterm" name="id2578130"></a><pre class="programlisting">void gimp_chain_button_set_active (<a class="link" 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 class="link" 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 class="link" 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="id2584911"></a><h3>
<a name="id2578235"></a><h3>
<a name="gimp-chain-button-get-active"></a>gimp_chain_button_get_active ()</h3>
<a class="indexterm" name="id2584924"></a><pre class="programlisting">gboolean gimp_chain_button_get_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<a class="indexterm" name="id2578248"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_chain_button_get_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<p>
Checks the state of the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
<p>
@ -232,7 +260,9 @@ Checks the state of the <a class="link" href="GimpChainButton.html" title="GimpC
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <code class="literal">TRUE</code> if the <a class="link" 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 class="link" 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 class="link" href="GimpChainButton.html" title="GimpC
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2582812"></a><h2>Property Details</h2>
<a name="id2573281"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2582823"></a><h3>
<a name="id2573292"></a><h3>
<a name="GimpChainButton--position"></a>The "<code class="literal">position</code>" property</h3>
<a class="indexterm" name="id2582836"></a><pre class="programlisting"> "position" <a class="link" href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2573306"></a><pre class="programlisting"> "position" <a class="link" 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="id2582874"></a><h2>Signal Details</h2>
<a name="id2573344"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2582885"></a><h3>
<a name="id2573355"></a><h3>
<a name="GimpChainButton-toggled"></a>The "toggled" signal</h3>
<a class="indexterm" name="id2582893"></a><pre class="programlisting">void user_function (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2573362"></a><pre class="programlisting">void user_function (<a class="link" 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="id2582962"></a><h2>See Also</h2>
<a name="id2573431"></a><h2>See Also</h2>
<p>
You may want to use the convenience function <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new"><code class="function">gimp_coordinates_new()</code></a> to set
up two GimpSizeEntries (see <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>) linked with a <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.