~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): Sebastien Bacher
  • Date: 2008-10-10 00:13:42 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20081010001342-uja9qine9uybggd9
Tags: 2.6.1-1ubuntu1
* Sync new bugfix version on debian (lp: #280345, #280848)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

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