Try using the color list in rgb.txt (I believe this comes standard with
X11). Once you have chosen a color from the list you can do the following;
GdkColor color;
...
gdk_color_parse("red", &color);
gdk_color_alloc(gdk_colormap_get_system(), &color);
...
Hope this helps.
-- Stupid Genius
> ----------
> From: Billy Patton[SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 6:34 AM
> To: gtk
> Subject: colors
>
> For lack of a better method I've started doing colors in the following
> manner :
> guint32 white = 0x00ffffff;
> guint32 black = 0x00000000;
>
> I need many more colors. Does anyone have a list in this form anywhere
> ?
>
>
>
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list