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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimppalettes.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:
47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimppalettes.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
50
 
<a
51
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
52
 
>gboolean</a>            <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-refresh" title="gimp_palettes_refresh ()">gimp_palettes_refresh</a>               (void);
53
 
<a
54
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
55
 
>gchar</a>**             <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-get-list" title="gimp_palettes_get_list ()">gimp_palettes_get_list</a>              (const <a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
57
 
>gchar</a> *filter,
58
 
                                                         <a
59
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
60
 
>gint</a> *num_palettes);
61
 
<a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
63
 
>gchar</a>*              <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-get-palette" title="gimp_palettes_get_palette ()">gimp_palettes_get_palette</a>           (<a
64
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
65
 
>gint</a> *num_colors);
66
 
<a
67
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
68
 
>gboolean</a>            <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-set-palette" title="gimp_palettes_set_palette ()">gimp_palettes_set_palette</a>           (const <a
69
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
70
 
>gchar</a> *name);
71
 
<a
72
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
73
 
>gchar</a>*              <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-get-palette-entry" title="gimp_palettes_get_palette_entry ()">gimp_palettes_get_palette_entry</a>     (const <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
75
 
>gchar</a> *name,
76
 
                                                         <a
77
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
78
 
>gint</a> entry_num,
79
 
                                                         <a
80
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
81
 
>gint</a> *num_colors,
82
 
                                                         <a
83
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
50
gboolean            <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-refresh" title="gimp_palettes_refresh ()">gimp_palettes_refresh</a>               (void);
 
51
gchar**             <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-get-list" title="gimp_palettes_get_list ()">gimp_palettes_get_list</a>              (const gchar *filter,
 
52
                                                         gint *num_palettes);
 
53
gchar*              <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-get-palette" title="gimp_palettes_get_palette ()">gimp_palettes_get_palette</a>           (gint *num_colors);
 
54
gboolean            <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-set-palette" title="gimp_palettes_set_palette ()">gimp_palettes_set_palette</a>           (const gchar *name);
 
55
gchar*              <a class="link" href="libgimp-gimppalettes.html#gimp-palettes-get-palette-entry" title="gimp_palettes_get_palette_entry ()">gimp_palettes_get_palette_entry</a>     (const gchar *name,
 
56
                                                         gint entry_num,
 
57
                                                         gint *num_colors,
 
58
                                                         <a
 
59
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
84
60
>GimpRGB</a> *color);
85
61
</pre>
86
62
</div>
94
70
<a name="libgimp-gimppalettes.details"></a><h2>Details</h2>
95
71
<div class="refsect2" lang="en">
96
72
<a name="gimp-palettes-refresh"></a><h3>gimp_palettes_refresh ()</h3>
97
 
<pre class="programlisting"><a
98
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
99
 
>gboolean</a>            gimp_palettes_refresh               (void);</pre>
 
73
<pre class="programlisting">gboolean            gimp_palettes_refresh               (void);</pre>
100
74
<p>
101
75
Refreshes current palettes. This function always succeeds.
102
76
</p>
118
92
<hr>
119
93
<div class="refsect2" lang="en">
120
94
<a name="gimp-palettes-get-list"></a><h3>gimp_palettes_get_list ()</h3>
121
 
<pre class="programlisting"><a
122
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
123
 
>gchar</a>**             gimp_palettes_get_list              (const <a
124
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
125
 
>gchar</a> *filter,
126
 
                                                         <a
127
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
128
 
>gint</a> *num_palettes);</pre>
 
95
<pre class="programlisting">gchar**             gimp_palettes_get_list              (const gchar *filter,
 
96
                                                         gint *num_palettes);</pre>
129
97
<p>
130
98
Retrieves a list of all of the available palettes
131
99
</p>
160
128
<hr>
161
129
<div class="refsect2" lang="en">
162
130
<a name="gimp-palettes-get-palette"></a><h3>gimp_palettes_get_palette ()</h3>
163
 
<pre class="programlisting"><a
164
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
165
 
>gchar</a>*              gimp_palettes_get_palette           (<a
166
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
167
 
>gint</a> *num_colors);</pre>
 
131
<pre class="programlisting">gchar*              gimp_palettes_get_palette           (gint *num_colors);</pre>
168
132
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
169
133
<h3 class="title">Warning</h3>
170
134
<p><code class="literal">gimp_palettes_get_palette</code> is deprecated and should not be used in newly-written code.</p>
194
158
<hr>
195
159
<div class="refsect2" lang="en">
196
160
<a name="gimp-palettes-set-palette"></a><h3>gimp_palettes_set_palette ()</h3>
197
 
<pre class="programlisting"><a
198
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
199
 
>gboolean</a>            gimp_palettes_set_palette           (const <a
200
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
201
 
>gchar</a> *name);</pre>
 
161
<pre class="programlisting">gboolean            gimp_palettes_set_palette           (const gchar *name);</pre>
202
162
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
203
163
<h3 class="title">Warning</h3>
204
164
<p><code class="literal">gimp_palettes_set_palette</code> is deprecated and should not be used in newly-written code.</p>
227
187
<hr>
228
188
<div class="refsect2" lang="en">
229
189
<a name="gimp-palettes-get-palette-entry"></a><h3>gimp_palettes_get_palette_entry ()</h3>
230
 
<pre class="programlisting"><a
231
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
232
 
>gchar</a>*              gimp_palettes_get_palette_entry     (const <a
233
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
234
 
>gchar</a> *name,
235
 
                                                         <a
236
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
237
 
>gint</a> entry_num,
238
 
                                                         <a
239
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
240
 
>gint</a> *num_colors,
241
 
                                                         <a
242
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
190
<pre class="programlisting">gchar*              gimp_palettes_get_palette_entry     (const gchar *name,
 
191
                                                         gint entry_num,
 
192
                                                         gint *num_colors,
 
193
                                                         <a
 
194
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
243
195
>GimpRGB</a> *color);</pre>
244
196
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
245
197
<h3 class="title">Warning</h3>