Does GTK support a standard mapping from color names to RGB values? If
not, is there a standard that's commonly followd?
I'm creating an application where the user can enter a color by name.
For example the name White will be the value #FF and Black will be
#00. I thought GTK might suppo
Hello.
I think gdk_color_parse() function is what you're looking for. But be
aware that this function will return 16-bit RGB components (not the
usual 8-bit ones).
Cheers,
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
Hello,
I have an application which uses GTK-Plot in following manner:
canvas = gtk_plot_canvas_new()
my_plot = gtk_plot_new_with_size()
child = gtk_plot_canvas_plot_new(my_plot)
gtk_plot_canvas_put_child(canvas,child)
however,
I can capture the visible plot with gdk_pixbuf_get_from_drawable fr