8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpBrowser.html" title="GimpBrowser">
10
10
<link rel="next" href="GimpChainButton.html" title="GimpChainButton">
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="#GimpButton.synopsis" class="shortcut">Top</a>
40
<a href="#GimpButton.description" class="shortcut">Description</a>
42
<a href="#GimpButton.object-hierarchy" class="shortcut">Object Hierarchy</a>
44
<a href="#GimpButton.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
46
<a href="#GimpButton.signals" class="shortcut">Signals</a>
26
<a href="#GimpButton.description" class="shortcut">Description</a>
28
<a href="#GimpButton.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#GimpButton.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
<a href="#GimpButton.signals" class="shortcut">Signals</a>
49
35
<div class="refentry" title="GimpButton">
51
37
<div class="refnamediv"><table width="100%"><tr>
53
39
<h2><span class="refentrytitle"><a name="GimpButton.top_of_page"></a>GimpButton</span></h2>
55
href="http://library.gnome.org/devel/gtk/unstable/GtkButton.html"
56
><span class="type">GtkButton</span></a> with a little extra functionality.</p>
40
<p>GimpButton — A <a href="/usr/share/gtk-doc/html/gtk/GtkButton.html"><span class="type">GtkButton</span></a> with a little extra functionality.</p>
58
42
<td valign="top" align="right"><img src="gimp-button.png"></td>
59
43
</tr></table></div>
60
44
<div class="refsynopsisdiv" title="Synopsis">
61
45
<a name="GimpButton.synopsis"></a><h2>Synopsis</h2>
62
<pre class="synopsis">
63
<a class="link" href="GimpButton.html#GimpButton-struct" title="GimpButton">GimpButton</a>;
65
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
66
>GtkWidget</a> * <a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> (void);
67
void <a class="link" href="GimpButton.html#gimp-button-extended-clicked" title="gimp_button_extended_clicked ()">gimp_button_extended_clicked</a> (<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
69
href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"
70
>GdkModifierType</a> state);
46
<pre class="synopsis"> <a class="link" href="GimpButton.html#GimpButton-struct" title="GimpButton">GimpButton</a>;
47
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<span class="returnvalue">void</span> <a class="link" href="GimpButton.html#gimp-button-extended-clicked" title="gimp_button_extended_clicked ()">gimp_button_extended_clicked</a> (<em class="parameter"><code><a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> *button</code></em>,
49
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>);
73
52
<div class="refsect1" title="Object Hierarchy">
74
53
<a name="GimpButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
75
54
<pre class="synopsis">
77
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
80
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
81
>GInitiallyUnowned</a>
83
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
86
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
89
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
92
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
95
href="http://library.gnome.org/devel/gtk/unstable/GtkButton.html"
55
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
56
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
57
+----<a href="/usr/share/gtk-doc/html/gtk/GtkObject.html">GtkObject</a>
58
+----<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html">GtkWidget</a>
59
+----<a href="/usr/share/gtk-doc/html/gtk/GtkContainer.html">GtkContainer</a>
60
+----<a href="/usr/share/gtk-doc/html/gtk/GtkBin.html">GtkBin</a>
61
+----<a href="/usr/share/gtk-doc/html/gtk/GtkButton.html">GtkButton</a>
98
63
+----<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
102
67
<a name="GimpButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
104
69
GimpButton implements
106
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
107
>GtkBuildable</a>, AtkImplementorIface and <a
108
href="http://library.gnome.org/devel/gtk/unstable/GtkActivatable.html"
109
>GtkActivatable</a>.</p>
70
AtkImplementorIface, <a href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and <a href="/usr/share/gtk-doc/html/gtk/GtkActivatable.html">GtkActivatable</a>.</p>
111
72
<div class="refsect1" title="Signals">
112
73
<a name="GimpButton.signals"></a><h2>Signals</h2>
117
78
<div class="refsect1" title="Description">
118
79
<a name="GimpButton.description"></a><h2>Description</h2>
120
<a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <a
121
href="http://library.gnome.org/devel/gtk/unstable/GtkButton.html"
122
><span class="type">GtkButton</span></a> widget that allows
81
<a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <a href="/usr/share/gtk-doc/html/gtk/GtkButton.html"><span class="type">GtkButton</span></a> widget that allows
123
82
to distinguish a normal click from a click that was performed with
124
83
modifier keys pressed.
136
95
<div class="refsect2" title="gimp_button_new ()">
137
96
<a name="gimp-button-new"></a><h3>gimp_button_new ()</h3>
138
<pre class="programlisting"><a
139
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
140
>GtkWidget</a> * gimp_button_new (void);</pre>
142
Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.</p>
97
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gimp_button_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
99
Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.
145
101
<div class="variablelist"><table border="0">
146
102
<col align="left" valign="top">
155
111
<div class="refsect2" title="gimp_button_extended_clicked ()">
156
112
<a name="gimp-button-extended-clicked"></a><h3>gimp_button_extended_clicked ()</h3>
157
<pre class="programlisting">void gimp_button_extended_clicked (<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
159
href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"
160
>GdkModifierType</a> state);</pre>
162
Emits the button's "extended_clicked" signal.</p>
113
<pre class="programlisting"><span class="returnvalue">void</span> gimp_button_extended_clicked (<em class="parameter"><code><a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> *button</code></em>,
114
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> state</code></em>);</pre>
116
Emits the button's "extended_clicked" signal.
165
118
<div class="variablelist"><table border="0">
166
119
<col align="left" valign="top">
169
122
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
170
<td> a <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a>.
123
<td>a <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a>.
174
127
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
175
<td> a state as found in <span class="type">GdkEventButton-</span>>state, e.g. <span class="type">GDK_SHIFT_MASK</span>.
128
<td>a state as found in <a href="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a>->state, e.g. <a href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GDK-SHIFT-MASK:CAPS"><span class="type">GDK_SHIFT_MASK</span></a>.
183
136
<a name="GimpButton.signal-details"></a><h2>Signal Details</h2>
184
137
<div class="refsect2" title='The "extended-clicked" signal'>
185
138
<a name="GimpButton-extended-clicked"></a><h3>The <code class="literal">"extended-clicked"</code> signal</h3>
186
<pre class="programlisting">void user_function (<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a> *gimpbutton,
188
href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkModifierType"
189
>GdkModifierType</a> arg1,
191
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
192
>gpointer</a> user_data) : Run First</pre>
139
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> *gimpbutton,
140
<a href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> arg1,
141
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
195
144
<div class="variablelist"><table border="0">