Re: Pointer to info on color, etc.
- From: Havoc Pennington <hp redhat com>
- To: Vicki Stanfield <vicki dialupnet com>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: Pointer to info on color, etc.
- Date: 18 May 2001 01:52:31 -0400
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]