8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpButton.html" title="GimpButton">
10
10
<link rel="next" href="GimpColorArea.html" title="GimpColorArea">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
22
<link rel="index" href="libgimpwidgets-index.html" title="Index">
23
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
24
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
25
<link rel="index" href="libgimpwidgets-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
26
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
28
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
29
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
37
23
<tr><td colspan="5" class="shortcuts">
38
24
<a href="#GimpChainButton.synopsis" class="shortcut">Top</a>
40
<a href="#GimpChainButton.description" class="shortcut">Description</a>
42
<a href="#GimpChainButton.object-hierarchy" class="shortcut">Object Hierarchy</a>
44
<a href="#GimpChainButton.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
46
<a href="#GimpChainButton.properties" class="shortcut">Properties</a>
48
<a href="#GimpChainButton.signals" class="shortcut">Signals</a>
26
<a href="#GimpChainButton.description" class="shortcut">Description</a>
28
<a href="#GimpChainButton.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#GimpChainButton.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
<a href="#GimpChainButton.properties" class="shortcut">Properties</a>
34
<a href="#GimpChainButton.signals" class="shortcut">Signals</a>
51
37
<div class="refentry" title="GimpChainButton">
59
45
</tr></table></div>
60
46
<div class="refsynopsisdiv" title="Synopsis">
61
47
<a name="GimpChainButton.synopsis"></a><h2>Synopsis</h2>
62
<pre class="synopsis">
63
<a class="link" href="GimpChainButton.html#GimpChainButton-struct" title="GimpChainButton">GimpChainButton</a>;
48
<pre class="synopsis"> <a class="link" href="GimpChainButton.html#GimpChainButton-struct" title="GimpChainButton">GimpChainButton</a>;
64
49
enum <a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a>;
66
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
67
>GtkWidget</a> * <a class="link" href="GimpChainButton.html#gimp-chain-button-new" title="gimp_chain_button_new ()">gimp_chain_button_new</a> (<a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> position);
68
void <a class="link" href="GimpChainButton.html#gimp-chain-button-set-active" title="gimp_chain_button_set_active ()">gimp_chain_button_set_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
70
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
71
>gboolean</a> active);
73
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
74
>gboolean</a> <a class="link" href="GimpChainButton.html#gimp-chain-button-get-active" title="gimp_chain_button_get_active ()">gimp_chain_button_get_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
50
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GimpChainButton.html#gimp-chain-button-new" title="gimp_chain_button_new ()">gimp_chain_button_new</a> (<em class="parameter"><code><a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition"><span class="type">GimpChainPosition</span></a> position</code></em>);
51
<span class="returnvalue">void</span> <a class="link" href="GimpChainButton.html#gimp-chain-button-set-active" title="gimp_chain_button_set_active ()">gimp_chain_button_set_active</a> (<em class="parameter"><code><a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> *button</code></em>,
52
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);
53
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpChainButton.html#gimp-chain-button-get-active" title="gimp_chain_button_get_active ()">gimp_chain_button_get_active</a> (<em class="parameter"><code><a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> *button</code></em>);
77
56
<div class="refsect1" title="Object Hierarchy">
78
57
<a name="GimpChainButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
79
58
<pre class="synopsis">
81
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
84
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
85
>GInitiallyUnowned</a>
87
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
90
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
93
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
96
href="http://library.gnome.org/devel/gtk/unstable/GtkTable.html"
59
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
60
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
61
+----<a href="/usr/share/gtk-doc/html/gtk/GtkObject.html">GtkObject</a>
62
+----<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html">GtkWidget</a>
63
+----<a href="/usr/share/gtk-doc/html/gtk/GtkContainer.html">GtkContainer</a>
64
+----<a href="/usr/share/gtk-doc/html/gtk/GtkTable.html">GtkTable</a>
98
65
+----GimpChainButton
102
69
<a name="GimpChainButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
104
71
GimpChainButton implements
106
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
107
>GtkBuildable</a> and AtkImplementorIface.</p>
72
AtkImplementorIface and <a href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
109
74
<div class="refsect1" title="Properties">
110
75
<a name="GimpChainButton.properties"></a><h2>Properties</h2>
111
76
<pre class="synopsis">
112
"<a class="link" href="GimpChainButton.html#GimpChainButton--position" title='The "position" property'>position</a>" <a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only
77
"<a class="link" href="GimpChainButton.html#GimpChainButton--position" title='The "position" property'>position</a>" <a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition"><span class="type">GimpChainPosition</span></a> : Read / Write / Construct Only
115
80
<div class="refsect1" title="Signals">
161
126
<div class="refsect2" title="gimp_chain_button_new ()">
162
127
<a name="gimp-chain-button-new"></a><h3>gimp_chain_button_new ()</h3>
163
<pre class="programlisting"><a
164
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
165
>GtkWidget</a> * gimp_chain_button_new (<a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> position);</pre>
128
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gimp_chain_button_new (<em class="parameter"><code><a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition"><span class="type">GimpChainPosition</span></a> position</code></em>);</pre>
167
130
Creates a new <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> widget.
172
135
you want to connect. This widget looks best when attached
173
136
to a table taking up two columns (or rows respectively) next
174
137
to the widgets that it is supposed to connect. It may work
175
for more than two widgets, but the look is optimized for two.</p>
138
for more than two widgets, but the look is optimized for two.
178
140
<div class="variablelist"><table border="0">
179
141
<col align="left" valign="top">
182
144
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
183
<td> The position you are going to use for the button
145
<td>The position you are going to use for the button
184
146
with respect to the widgets you want to chain.
198
160
<div class="refsect2" title="gimp_chain_button_set_active ()">
199
161
<a name="gimp-chain-button-set-active"></a><h3>gimp_chain_button_set_active ()</h3>
200
<pre class="programlisting">void gimp_chain_button_set_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
202
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
203
>gboolean</a> active);</pre>
205
Sets the state of the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> to be either locked (<a
206
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
207
><code class="literal">TRUE</code></a>) or
209
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
210
><code class="literal">FALSE</code></a>) and changes the showed pixmap to reflect the new state.</p>
162
<pre class="programlisting"><span class="returnvalue">void</span> gimp_chain_button_set_active (<em class="parameter"><code><a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> *button</code></em>,
163
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);</pre>
165
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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) or
166
unlocked (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) and changes the showed pixmap to reflect the new state.
213
168
<div class="variablelist"><table border="0">
214
169
<col align="left" valign="top">
217
172
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
218
<td> Pointer to a <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
173
<td>Pointer to a <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
222
177
<td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td>
230
185
<div class="refsect2" title="gimp_chain_button_get_active ()">
231
186
<a name="gimp-chain-button-get-active"></a><h3>gimp_chain_button_get_active ()</h3>
232
<pre class="programlisting"><a
233
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
234
>gboolean</a> gimp_chain_button_get_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
236
Checks the state of the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
187
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_chain_button_get_active (<em class="parameter"><code><a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> *button</code></em>);</pre>
189
Checks the state of the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
239
191
<div class="variablelist"><table border="0">
240
192
<col align="left" valign="top">
243
195
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
244
<td> Pointer to a <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
196
<td>Pointer to a <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.
248
200
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
250
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
251
><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).
201
<td> <a href="/usr/share/gtk-doc/html/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).
259
209
<a name="GimpChainButton.property-details"></a><h2>Property Details</h2>
260
210
<div class="refsect2" title='The "position" property'>
261
211
<a name="GimpChainButton--position"></a><h3>The <code class="literal">"position"</code> property</h3>
262
<pre class="programlisting"> "position" <a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
264
The position in which the chain button will be used.</p>
212
<pre class="programlisting"> "position" <a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition"><span class="type">GimpChainPosition</span></a> : Read / Write / Construct Only</pre>
214
The position in which the chain button will be used.
267
216
<p>Default value: GIMP_CHAIN_TOP</p>
268
<p>Since GIMP 2.4</p>
217
<p class="since">Since GIMP 2.4</p>
271
220
<div class="refsect1" title="Signal Details">
272
221
<a name="GimpChainButton.signal-details"></a><h2>Signal Details</h2>
273
222
<div class="refsect2" title='The "toggled" signal'>
274
223
<a name="GimpChainButton-toggled"></a><h3>The <code class="literal">"toggled"</code> signal</h3>
275
<pre class="programlisting">void user_function (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
277
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
278
>gpointer</a> user_data) : Run First</pre>
224
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> *gimpchainbutton,
225
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
281
228
<div class="variablelist"><table border="0">