Re: [gtk-list] Colors
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Colors
- Date: Mon, 10 May 1999 14:23:39 -0400 (EDT)
On Mon, 10 May 1999, Martin Donlon wrote:
> I really am at a loss with this, the GTK tutorial only brushes the
> surface:/ I want to be able to draw an XOR'd primitive on a pixmap but I
> do't know how to create a Color Context (?) can anyone help please?
You don't need a color context, just set your foreground color to white
and call gdk_gc_set_function() to set the draw function to GDK_XOR.
] [Thread Prev