47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimppalette.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
52
>gchar</a>* <a class="link" href="libgimp-gimppalette.html#gimp-palette-new" title="gimp_palette_new ()">gimp_palette_new</a> (const <a
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
57
>gchar</a>* <a class="link" href="libgimp-gimppalette.html#gimp-palette-duplicate" title="gimp_palette_duplicate ()">gimp_palette_duplicate</a> (const <a
58
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
61
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
62
>gchar</a>* <a class="link" href="libgimp-gimppalette.html#gimp-palette-rename" title="gimp_palette_rename ()">gimp_palette_rename</a> (const <a
63
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
67
>gchar</a> *new_name);
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
70
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-delete" title="gimp_palette_delete ()">gimp_palette_delete</a> (const <a
71
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
74
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
75
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-info" title="gimp_palette_get_info ()">gimp_palette_get_info</a> (const <a
76
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
80
>gint</a> *num_colors);
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
83
>gint</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-columns" title="gimp_palette_get_columns ()">gimp_palette_get_columns</a> (const <a
84
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
87
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
88
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-columns" title="gimp_palette_set_columns ()">gimp_palette_set_columns</a> (const <a
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
92
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
95
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
96
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-add-entry" title="gimp_palette_add_entry ()">gimp_palette_add_entry</a> (const <a
97
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
100
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
101
>gchar</a> *entry_name,
103
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
50
gchar* <a class="link" href="libgimp-gimppalette.html#gimp-palette-new" title="gimp_palette_new ()">gimp_palette_new</a> (const gchar *name);
51
gchar* <a class="link" href="libgimp-gimppalette.html#gimp-palette-duplicate" title="gimp_palette_duplicate ()">gimp_palette_duplicate</a> (const gchar *name);
52
gchar* <a class="link" href="libgimp-gimppalette.html#gimp-palette-rename" title="gimp_palette_rename ()">gimp_palette_rename</a> (const gchar *name,
53
const gchar *new_name);
54
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-delete" title="gimp_palette_delete ()">gimp_palette_delete</a> (const gchar *name);
55
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-info" title="gimp_palette_get_info ()">gimp_palette_get_info</a> (const gchar *name,
57
gint <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-columns" title="gimp_palette_get_columns ()">gimp_palette_get_columns</a> (const gchar *name);
58
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-columns" title="gimp_palette_set_columns ()">gimp_palette_set_columns</a> (const gchar *name,
60
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-add-entry" title="gimp_palette_add_entry ()">gimp_palette_add_entry</a> (const gchar *name,
61
const gchar *entry_name,
63
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
104
64
>GimpRGB</a> *color,
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
107
>gint</a> *entry_num);
109
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
110
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-delete-entry" title="gimp_palette_delete_entry ()">gimp_palette_delete_entry</a> (const <a
111
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
114
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
115
>gint</a> entry_num);
117
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
118
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-get-color" title="gimp_palette_entry_get_color ()">gimp_palette_entry_get_color</a> (const <a
119
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
122
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
125
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
126
>GimpRGB</a> *color);
128
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
129
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-set-color" title="gimp_palette_entry_set_color ()">gimp_palette_entry_set_color</a> (const <a
130
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
133
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
136
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
137
>GimpRGB</a> *color);
139
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
140
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-get-name" title="gimp_palette_entry_get_name ()">gimp_palette_entry_get_name</a> (const <a
141
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
144
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
147
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
148
>gchar</a> **entry_name);
150
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
151
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-set-name" title="gimp_palette_entry_set_name ()">gimp_palette_entry_set_name</a> (const <a
152
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
155
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
158
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
159
>gchar</a> *entry_name);
161
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
162
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-foreground" title="gimp_palette_get_foreground ()">gimp_palette_get_foreground</a> (<a
163
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
164
>GimpRGB</a> *foreground);
166
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
167
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-background" title="gimp_palette_get_background ()">gimp_palette_get_background</a> (<a
168
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
169
>GimpRGB</a> *background);
171
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
172
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-foreground" title="gimp_palette_set_foreground ()">gimp_palette_set_foreground</a> (const <a
173
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
174
>GimpRGB</a> *foreground);
176
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
177
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-background" title="gimp_palette_set_background ()">gimp_palette_set_background</a> (const <a
178
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
179
>GimpRGB</a> *background);
181
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
182
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-default-colors" title="gimp_palette_set_default_colors ()">gimp_palette_set_default_colors</a> (void);
184
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
185
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-swap-colors" title="gimp_palette_swap_colors ()">gimp_palette_swap_colors</a> (void);
187
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
188
>gboolean</a> <a class="link" href="libgimp-gimppalette.html#gimp-palette-is-editable" title="gimp_palette_is_editable ()">gimp_palette_is_editable</a> (const <a
189
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
66
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-delete-entry" title="gimp_palette_delete_entry ()">gimp_palette_delete_entry</a> (const gchar *name,
68
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-get-color" title="gimp_palette_entry_get_color ()">gimp_palette_entry_get_color</a> (const gchar *name,
71
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
73
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-set-color" title="gimp_palette_entry_set_color ()">gimp_palette_entry_set_color</a> (const gchar *name,
76
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
78
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-get-name" title="gimp_palette_entry_get_name ()">gimp_palette_entry_get_name</a> (const gchar *name,
81
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-set-name" title="gimp_palette_entry_set_name ()">gimp_palette_entry_set_name</a> (const gchar *name,
83
const gchar *entry_name);
84
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-foreground" title="gimp_palette_get_foreground ()">gimp_palette_get_foreground</a> (<a
85
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
86
>GimpRGB</a> *foreground);
87
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-background" title="gimp_palette_get_background ()">gimp_palette_get_background</a> (<a
88
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
89
>GimpRGB</a> *background);
90
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-foreground" title="gimp_palette_set_foreground ()">gimp_palette_set_foreground</a> (const <a
91
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
92
>GimpRGB</a> *foreground);
93
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-background" title="gimp_palette_set_background ()">gimp_palette_set_background</a> (const <a
94
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
95
>GimpRGB</a> *background);
96
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-default-colors" title="gimp_palette_set_default_colors ()">gimp_palette_set_default_colors</a> (void);
97
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-swap-colors" title="gimp_palette_swap_colors ()">gimp_palette_swap_colors</a> (void);
98
gboolean <a class="link" href="libgimp-gimppalette.html#gimp-palette-is-editable" title="gimp_palette_is_editable ()">gimp_palette_is_editable</a> (const gchar *name);
193
101
<div class="refsect1" lang="en">