[9055] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: background colors revisited
daemon@ATHENA.MIT.EDU (Owen Taylor)
Mon Oct 5 11:13:14 1998
To: gtk-list@redhat.com
From: Owen Taylor <otaylor@redhat.com>
Date: 05 Oct 1998 11:16:30 -0400
In-Reply-To: Bryan D Jones's message of "Sun, 4 Oct 1998 15:40:02 -0700 (MST)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Bryan D Jones <bdj@U.Arizona.EDU> writes:
> I asked a couple of days ago on how to change the colors of a text
> entry and a scrolled window. Thanks to everyone who replied. However
> none of the methods suggested worked. Changing the the contents of the
> style structure and using rc files changed the border of them as well as
> the text within them. But the background of these widgets remained
> white. I found the structure of the text entry widget. The only thing
> that I guessed would contain the color for the background was the
> GdkWindow or the GdkPixmap. I looked at how these things were initialized
> in gtk_entry_new but my lack of years of programming experience left me at
> a loss. So I ask again if anyone has any ideas. Thank you much.
In an RC file:
base[NORMAL] = "#88ff88"
background color of text and entries is 'base'
foreground color of text and entries is 'text'
Regards,
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null