Re: background colors revisited
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list redhat com
- Subject: Re: background colors revisited
- Date: 05 Oct 1998 11:16:30 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]