Re: Pointer to info on color, etc.



Vicki Stanfield <vicki dialupnet com> writes:
> I am trying to figure out how to create a window with a background
> color and text of a different color. I understand that this involves
> a graphics context and GDK, but I can't find a simple example. Can
> anyone point me to a very simple example of such a thing?
> 

I finally wrote down the definitive Setting Widget Colors FAQ:

  http://pobox.com/~hp/gtk-colors.html

If you mean how do you use colors with a drawing area, see the
"scribble" example in the GTK tutorial.

Havoc




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