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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/GimpPaletteSelectButton.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
<a name="GimpPaletteSelectButton.synopsis"></a><h2>Synopsis</h2>
57
57
<pre class="synopsis">
58
58
                    <a class="link" href="GimpPaletteSelectButton.html#GimpPaletteSelectButton-struct" title="GimpPaletteSelectButton">GimpPaletteSelectButton</a>;
59
 
<a
60
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
 
>GtkWidget</a>*          <a class="link" href="GimpPaletteSelectButton.html#gimp-palette-select-button-new" title="gimp_palette_select_button_new ()">gimp_palette_select_button_new</a>      (const <a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
63
 
>gchar</a> *title,
64
 
                                                         const <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
66
 
>gchar</a> *palette_name);
67
 
const <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
69
 
>gchar</a>*        <a class="link" href="GimpPaletteSelectButton.html#gimp-palette-select-button-get-palette" title="gimp_palette_select_button_get_palette ()">gimp_palette_select_button_get_palette</a>
 
59
GtkWidget*          <a class="link" href="GimpPaletteSelectButton.html#gimp-palette-select-button-new" title="gimp_palette_select_button_new ()">gimp_palette_select_button_new</a>      (const gchar *title,
 
60
                                                         const gchar *palette_name);
 
61
const gchar*        <a class="link" href="GimpPaletteSelectButton.html#gimp-palette-select-button-get-palette" title="gimp_palette_select_button_get_palette ()">gimp_palette_select_button_get_palette</a>
70
62
                                                        (<a class="link" href="GimpPaletteSelectButton.html" title="GimpPaletteSelectButton">GimpPaletteSelectButton</a> *button);
71
63
void                <a class="link" href="GimpPaletteSelectButton.html#gimp-palette-select-button-set-palette" title="gimp_palette_select_button_set_palette ()">gimp_palette_select_button_set_palette</a>
72
64
                                                        (<a class="link" href="GimpPaletteSelectButton.html" title="GimpPaletteSelectButton">GimpPaletteSelectButton</a> *button,
73
 
                                                         const <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
75
 
>gchar</a> *palette_name);
 
65
                                                         const gchar *palette_name);
76
66
</pre>
77
67
</div>
78
68
<div class="refsect1" lang="en">
79
69
<a name="GimpPaletteSelectButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
80
70
<pre class="synopsis">
81
 
  <a
82
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
83
 
>GObject</a>
84
 
   +----<a
85
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
86
 
>GInitiallyUnowned</a>
87
 
         +----<a
88
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
89
 
>GtkObject</a>
90
 
               +----<a
91
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
92
 
>GtkWidget</a>
93
 
                     +----<a
94
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
95
 
>GtkContainer</a>
96
 
                           +----<a
97
 
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
98
 
>GtkBox</a>
99
 
                                 +----<a
100
 
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
101
 
>GtkHBox</a>
 
71
  GObject
 
72
   +----GInitiallyUnowned
 
73
         +----GtkObject
 
74
               +----GtkWidget
 
75
                     +----GtkContainer
 
76
                           +----GtkBox
 
77
                                 +----GtkHBox
102
78
                                       +----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
103
79
                                             +----GimpPaletteSelectButton
104
80
</pre>
112
88
<div class="refsect1" lang="en">
113
89
<a name="GimpPaletteSelectButton.properties"></a><h2>Properties</h2>
114
90
<pre class="synopsis">
115
 
  "<a class="link" href="GimpPaletteSelectButton.html#GimpPaletteSelectButton--palette-name" title='The "palette-name" property'>palette-name</a>"             <a
116
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
117
 
>gchar</a>*                : Read / Write
118
 
  "<a class="link" href="GimpPaletteSelectButton.html#GimpPaletteSelectButton--title" title='The "title" property'>title</a>"                    <a
119
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
120
 
>gchar</a>*                : Read / Write / Construct Only
 
91
  "<a class="link" href="GimpPaletteSelectButton.html#GimpPaletteSelectButton--palette-name" title='The "palette-name" property'>palette-name</a>"             gchar*                : Read / Write
 
92
  "<a class="link" href="GimpPaletteSelectButton.html#GimpPaletteSelectButton--title" title='The "title" property'>title</a>"                    gchar*                : Read / Write / Construct Only
121
93
</pre>
122
94
</div>
123
95
<div class="refsect1" lang="en">
144
116
<hr>
145
117
<div class="refsect2" lang="en">
146
118
<a name="gimp-palette-select-button-new"></a><h3>gimp_palette_select_button_new ()</h3>
147
 
<pre class="programlisting"><a
148
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
149
 
>GtkWidget</a>*          gimp_palette_select_button_new      (const <a
150
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
151
 
>gchar</a> *title,
152
 
                                                         const <a
153
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
154
 
>gchar</a> *palette_name);</pre>
 
119
<pre class="programlisting">GtkWidget*          gimp_palette_select_button_new      (const gchar *title,
 
120
                                                         const gchar *palette_name);</pre>
155
121
<p>
156
 
Creates a new <a
157
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
158
 
><span class="type">GtkWidget</span></a> that completely controls the selection of
 
122
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
159
123
a palette.  This widget is suitable for placement in a table in a
160
124
plug-in dialog.</p>
161
125
<p>
166
130
<tbody>
167
131
<tr>
168
132
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
169
 
<td>        Title of the dialog to use or <a
170
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
171
 
><code class="literal">NULL</code></a> to use the default title.
 
133
<td>        Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
172
134
</td>
173
135
</tr>
174
136
<tr>
178
140
</tr>
179
141
<tr>
180
142
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
181
 
<td> A <a
182
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
183
 
><span class="type">GtkWidget</span></a> that you can use in your UI.
 
143
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
184
144
 
185
145
</td>
186
146
</tr>
192
152
<hr>
193
153
<div class="refsect2" lang="en">
194
154
<a name="gimp-palette-select-button-get-palette"></a><h3>gimp_palette_select_button_get_palette ()</h3>
195
 
<pre class="programlisting">const <a
196
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
197
 
>gchar</a>*        gimp_palette_select_button_get_palette
 
155
<pre class="programlisting">const gchar*        gimp_palette_select_button_get_palette
198
156
                                                        (<a class="link" href="GimpPaletteSelectButton.html" title="GimpPaletteSelectButton">GimpPaletteSelectButton</a> *button);</pre>
199
157
<p>
200
158
Retrieves the name of currently selected palette.</p>
225
183
<a name="gimp-palette-select-button-set-palette"></a><h3>gimp_palette_select_button_set_palette ()</h3>
226
184
<pre class="programlisting">void                gimp_palette_select_button_set_palette
227
185
                                                        (<a class="link" href="GimpPaletteSelectButton.html" title="GimpPaletteSelectButton">GimpPaletteSelectButton</a> *button,
228
 
                                                         const <a
229
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
230
 
>gchar</a> *palette_name);</pre>
 
186
                                                         const gchar *palette_name);</pre>
231
187
<p>
232
188
Sets the current palette for the palette select button.</p>
233
189
<p>
243
199
</tr>
244
200
<tr>
245
201
<td><p><span class="term"><em class="parameter"><code>palette_name</code></em> :</span></p></td>
246
 
<td> Palette name to set; <a
247
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
248
 
><code class="literal">NULL</code></a> means no change.
 
202
<td> Palette name to set; <code class="literal">NULL</code> means no change.
249
203
</td>
250
204
</tr>
251
205
</tbody>
258
212
<a name="GimpPaletteSelectButton.property-details"></a><h2>Property Details</h2>
259
213
<div class="refsect2" lang="en">
260
214
<a name="GimpPaletteSelectButton--palette-name"></a><h3>The <code class="literal">"palette-name"</code> property</h3>
261
 
<pre class="programlisting">  "palette-name"             <a
262
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
263
 
>gchar</a>*                : Read / Write</pre>
 
215
<pre class="programlisting">  "palette-name"             gchar*                : Read / Write</pre>
264
216
<p>
265
217
The name of the currently selected palette.</p>
266
218
<p>
273
225
<hr>
274
226
<div class="refsect2" lang="en">
275
227
<a name="GimpPaletteSelectButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
276
 
<pre class="programlisting">  "title"                    <a
277
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
278
 
>gchar</a>*                : Read / Write / Construct Only</pre>
 
228
<pre class="programlisting">  "title"                    gchar*                : Read / Write / Construct Only</pre>
279
229
<p>
280
230
The title to be used for the palette selection popup dialog.</p>
281
231
<p>
291
241
<div class="refsect2" lang="en">
292
242
<a name="GimpPaletteSelectButton-palette-set"></a><h3>The <code class="literal">"palette-set"</code> signal</h3>
293
243
<pre class="programlisting">void                user_function                      (<a class="link" href="GimpPaletteSelectButton.html" title="GimpPaletteSelectButton">GimpPaletteSelectButton</a> *widget,
294
 
                                                        <a
295
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
296
 
>gchar</a>                   *palette_name,
297
 
                                                        <a
298
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
299
 
>gboolean</a>                 dialog_closing,
300
 
                                                        <a
301
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
302
 
>gpointer</a>                 user_data)           : Run First</pre>
 
244
                                                        gchar                   *palette_name,
 
245
                                                        gboolean                 dialog_closing,
 
246
                                                        gpointer                 user_data)           : Run First</pre>
303
247
<p>
304
248
The ::palette-set signal is emitted when the user selects a palette.</p>
305
249
<p>