Re: A simple GdkDrawingArea question



Hi,

José Antonio Sánchez <getaceres gmail com> writes:

> I need a pointer to a graphic context and that's my problem. I don't
> know how to create a custom graphic context. I don't know how to parse
> a foreground or background color to the graphic context.

gdk_gc_new() is described in
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Graphics-Contexts.html
It also features gdk_gc_set_rgb_fg_color() and
gdk_gc_set_rgb_bg_color().


Sven



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