Hi all

I have been experimenting with GtkDrawingArea, drawing mathematical
functions. Can anyone tell me how to change the foreground color (to
red, say)? I want to do this in the program, not with the color chooser
widget. It's easy enough with Cairo but I can't figure out how to do it
with GDK. I've tried gdk_gc_set_rgb_fg_color () and can get it to
compile but the program then crashes.

thanks... James Bridge
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to