Re: [gtk-list] Re: background colors
- From: Scott Stone <sstone ume pht co jp>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: background colors
- Date: Sat, 3 Oct 1998 00:31:37 +0900 (JST)
On Fri, 2 Oct 1998, Marin Purgar - PMC wrote:
> Scott Stone wrote:
>
> >On Thu, 1 Oct 1998, Bryan D Jones wrote:
> >
> >> Could someone be so kind as to tell me how to change the background
> colors
> >> of a text_entry widget and scolled_window widget. It's not documented in
> >> the tutorial. Thank you much.
> >
> >You have to mess with the rcfiles. Check out the section in the docs on
> >the rcfile format. This was baffling me too - I was looking through all
> >the gtk source thinking, "How the he** do I change widget colors??", when
> >I stumbled upon that. You'd think that this procedure would be documented
> >better.. it's not intuitive to me that I should have to use an .rc file to
> >change colors.
>
>
> Check out docs/styles.txt. You can set the style of the widget trough .rc
> files but also in runtime using styles.
using styles ...? every time I try that, it changes the style for *every
widget*. each widget's style pointer points to the same memory address,
according to gdb.
>
> bb4now,
> PMC
>
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@turbolinux.com>
<sstone@pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com http://armadillo.pht.co.jp
http://www.pht.co.jp http://www.turbolinux.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]