Re: drawing colored lines



On Mon, 2010-06-14 at 21:15 +0100, N James Bridge wrote:
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 have found the answer... gtk_widget_modify_fg ()

Supplementary question - is there any way of getting an alpha channel,
other than with Cairo?
-- 
N James Bridge <james xmas demon co uk>


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