~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpButton.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GimpButton</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
9
 
<link rel="prev" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
 
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.6 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
 
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
15
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
16
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
17
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
18
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
19
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
20
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;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-deprecated.html" title="Index of deprecated symbols">
21
26
</head>
22
27
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
28
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
24
29
<tr valign="middle">
25
 
<td><a accesskey="p" href="libgimpwidgets-hierarchy.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
30
<td><a accesskey="p" href="GimpBrowser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
31
<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
32
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
29
34
<td><a accesskey="n" href="GimpChainButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
35
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
32
 
                  &#160;|&#160;
33
 
                  <a href="#desc" class="shortcut">Description</a>
34
 
                  &#160;|&#160;
35
 
                  <a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
36
 
                  &#160;|&#160;
37
 
                  <a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
 
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2573597" class="shortcut">Top</a>
 
37
                  &#160;|&#160;
 
38
                  <a href="#id2578029" class="shortcut">Description</a>
 
39
                  &#160;|&#160;
 
40
                  <a href="#id2558098" class="shortcut">Object Hierarchy</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id2577983" class="shortcut">Implemented Interfaces</a>
 
43
                  &#160;|&#160;
 
44
                  <a href="#id2578004" class="shortcut">Signals</a></nobr></td></tr>
38
45
</table>
39
46
<div class="refentry" lang="en">
40
47
<a name="GimpButton"></a><div class="titlepage"></div>
41
48
<div class="refnamediv"><table width="100%"><tr>
42
49
<td valign="top">
43
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpButton</span></h2>
 
50
<h2>
 
51
<a name="id2573597"></a><span class="refentrytitle">GimpButton</span>
 
52
</h2>
44
53
<p>GimpButton &#8212; A <span class="type">GtkButton</span> with a little extra functionality.</p>
45
54
</td>
46
 
<td valign="top" align="right"></td>
 
55
<td valign="top" align="right"><img src="gimp-button.png"></td>
47
56
</tr></table></div>
48
57
<div class="refsynopsisdiv">
49
 
<a name="synopsis"></a><h2>Synopsis</h2>
 
58
<h2>Synopsis</h2>
50
59
<pre class="synopsis">
51
60
 
52
61
 
53
62
 
54
 
            <a href="GimpButton.html#GimpButton-struct">GimpButton</a>;
55
 
GtkWidget*  <a href="GimpButton.html#gimp-button-new">gimp_button_new</a>                 (void);
56
 
void        <a href="GimpButton.html#gimp-button-extended-clicked">gimp_button_extended_clicked</a>    (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
57
 
                                             GdkModifierType state);
 
63
                    <a href="GimpButton.html#GimpButton-struct">GimpButton</a>;
 
64
GtkWidget*          <a href="GimpButton.html#gimp-button-new">gimp_button_new</a>                     (void);
 
65
void                <a href="GimpButton.html#gimp-button-extended-clicked">gimp_button_extended_clicked</a>        (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
 
66
                                                         GdkModifierType state);
58
67
 
59
68
</pre>
60
69
</div>
61
70
<div class="refsect1" lang="en">
62
 
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
 
71
<a name="id2558098"></a><h2>Object Hierarchy</h2>
63
72
<pre class="synopsis">
64
73
 
65
74
  GObject
74
83
</pre>
75
84
</div>
76
85
<div class="refsect1" lang="en">
77
 
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
 
86
<a name="id2577983"></a><h2>Implemented Interfaces</h2>
78
87
<p>
79
88
GimpButton implements
80
89
 AtkImplementorIface.</p>
81
90
</div>
82
91
<div class="refsect1" lang="en">
83
 
<a name="signal_proto"></a><h2>Signals</h2>
 
92
<a name="id2578004"></a><h2>Signals</h2>
84
93
<pre class="synopsis">
85
94
 
86
 
"<a href="GimpButton.html#GimpButton-extended-clicked">extended-clicked</a>"
87
 
            void        user_function      (<a href="GimpButton.html" title="GimpButton">GimpButton</a>      *gimpbutton,
88
 
                                            GdkModifierType *arg1,
89
 
                                            gpointer         user_data)       : Run first
 
95
  "<a href="GimpButton.html#GimpButton-extended-clicked">extended-clicked</a>"                               : Run First
90
96
</pre>
91
97
</div>
92
98
<div class="refsect1" lang="en">
93
 
<a name="desc"></a><h2>Description</h2>
 
99
<a name="id2578029"></a><h2>Description</h2>
94
100
<p>
95
101
<a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <span class="type">GtkButton</span> widget that allows
96
102
to distinguish a normal click from a click that was performed with
98
104
</p>
99
105
</div>
100
106
<div class="refsect1" lang="en">
101
 
<a name="details"></a><h2>Details</h2>
 
107
<a name="id2572738"></a><h2>Details</h2>
102
108
<div class="refsect2" lang="en">
103
 
<a name="id2548288"></a><h3>
 
109
<a name="id2572749"></a><h3>
104
110
<a name="GimpButton-struct"></a>GimpButton</h3>
105
 
<a class="indexterm" name="id2548300"></a><pre class="programlisting">typedef struct _GimpButton GimpButton;</pre>
 
111
<a class="indexterm" name="id2572762"></a><pre class="programlisting">typedef struct _GimpButton GimpButton;</pre>
106
112
<p>
107
113
 
108
114
</p>
109
115
</div>
110
116
<hr>
111
117
<div class="refsect2" lang="en">
112
 
<a name="id2548315"></a><h3>
 
118
<a name="id2572777"></a><h3>
113
119
<a name="gimp-button-new"></a>gimp_button_new ()</h3>
114
 
<a class="indexterm" name="id2548327"></a><pre class="programlisting">GtkWidget*  gimp_button_new                 (void);</pre>
 
120
<a class="indexterm" name="id2572789"></a><pre class="programlisting">GtkWidget*          gimp_button_new                     (void);</pre>
115
121
<p>
116
122
Creates a new <a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.</p>
117
123
<p>
120
126
<div class="variablelist"><table border="0">
121
127
<col align="left" valign="top">
122
128
<tbody><tr>
123
 
<td>
124
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
129
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
125
130
<td> A pointer to the new <a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.
126
131
</td>
127
132
</tr></tbody>
129
134
</div>
130
135
<hr>
131
136
<div class="refsect2" lang="en">
132
 
<a name="id2538523"></a><h3>
 
137
<a name="id2572844"></a><h3>
133
138
<a name="gimp-button-extended-clicked"></a>gimp_button_extended_clicked ()</h3>
134
 
<a class="indexterm" name="id2538534"></a><pre class="programlisting">void        gimp_button_extended_clicked    (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
135
 
                                             GdkModifierType state);</pre>
 
139
<a class="indexterm" name="id2572855"></a><pre class="programlisting">void                gimp_button_extended_clicked        (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
 
140
                                                         GdkModifierType state);</pre>
136
141
<p>
137
142
Emits the button's "extended_clicked" signal.</p>
138
143
<p>
142
147
<col align="left" valign="top">
143
148
<tbody>
144
149
<tr>
145
 
<td>
146
 
<span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
 
150
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
147
151
<td> a <a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a>.
148
152
</td>
149
153
</tr>
150
154
<tr>
151
 
<td>
152
 
<span class="term"><em class="parameter"><code>state</code></em>&#160;:</span></td>
 
155
<td><span class="term"><em class="parameter"><code>state</code></em>&#160;:</span></td>
153
156
<td>  a state as found in <span class="type">GdkEventButton-</span>&gt;state, e.g. <span class="type">GDK_SHIFT_MASK</span>.
154
157
</td>
155
158
</tr>
158
161
</div>
159
162
</div>
160
163
<div class="refsect1" lang="en">
161
 
<a name="signals"></a><h2>Signal Details</h2>
 
164
<a name="id2574944"></a><h2>Signal Details</h2>
162
165
<div class="refsect2" lang="en">
163
 
<a name="id2538640"></a><h3>
 
166
<a name="id2574955"></a><h3>
164
167
<a name="GimpButton-extended-clicked"></a>The "extended-clicked" signal</h3>
165
 
<a class="indexterm" name="id2538648"></a><pre class="programlisting">void        user_function                  (<a href="GimpButton.html" title="GimpButton">GimpButton</a>      *gimpbutton,
166
 
                                            GdkModifierType *arg1,
167
 
                                            gpointer         user_data)       : Run first</pre>
 
168
<a class="indexterm" name="id2574963"></a><pre class="programlisting">void                user_function                      (<a href="GimpButton.html" title="GimpButton">GimpButton</a>     *gimpbutton,
 
169
                                                        GdkModifierType arg1,
 
170
                                                        gpointer        user_data)       : Run First</pre>
168
171
<p>
169
172
 
170
173
</p>
172
175
<col align="left" valign="top">
173
176
<tbody>
174
177
<tr>
175
 
<td>
176
 
<span class="term"><em class="parameter"><code>gimpbutton</code></em>&#160;:</span></td>
 
178
<td><span class="term"><em class="parameter"><code>gimpbutton</code></em>&#160;:</span></td>
177
179
<td>the object which received the signal.
178
180
</td>
179
181
</tr>
180
182
<tr>
181
 
<td>
182
 
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
 
183
<td><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
183
184
<td>the state of modifier keys when the button was clicked
184
185
 
185
186
</td>
186
187
</tr>
187
188
<tr>
188
 
<td>
189
 
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
189
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
190
190
<td>user data set when the signal handler was connected.</td>
191
191
</tr>
192
192
</tbody>