Re: Getting colors from GtkColorSelection



Hm, now that I found out that it's

gtk_color_selection_palette_to_string()

I should use, I can't seem to find a way to get a GdkColor* that points
to the first color in the palette. I need this to be able to read all 20
colors using something like this:

gchar *colors_string;
colorname = gtk_color_selection_palette_to_string (&first_color, 20);

right?

gtk_color_selection_get_current_color() only gives the current color
value.

Any ideas on how to do this?

Best regards,
Aron Stansvik

Attachment: pgpM2wkUFcAjw.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]