Re: A simple GdkDrawingArea question

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

 



Thanks. That was a problem of colormaps. Using
gdk_gc_set_rgb_fg_color() made it.


On Fri, 29 Oct 2004 14:28:22 +0200, Sven Neumann <sven@xxxxxxxx> wrote:
> Hi,
> 
> José Antonio Sánchez <getaceres@xxxxxxxxx> 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
>
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux