drawing colored lines
- From: N James Bridge <james xmas demon co uk>
- To: gtk-app-devel <gtk-app-devel-list gnome org>
- Subject: drawing colored lines
- Date: Mon, 14 Jun 2010 21:15:38 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]