[9400] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Ok, what's wrong with GtkEntry...

daemon@ATHENA.MIT.EDU (Scott Stone)
Mon Oct 19 06:30:07 1998

Date: Mon, 19 Oct 1998 19:29:32 +0900 (JST)
From: Scott Stone <sstone@ume.pht.co.jp>
To: gtk-list@redhat.com
In-Reply-To: <m3u310oo69.fsf@term1.dccs.com.au>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

On 19 Oct 1998, Dave Cole wrote:

> >>>>> "Scott" == Scott Stone <sstone@ume.pht.co.jp> writes:
> 
> Scott> I've set up a style in my rc file to tell all GtkEntry widgets
> Scott> to have a certain background color.  I've put it in all five
> Scott> possible states.  The widget DOES respond to some of these, and
> Scott> it DOES respond to the font I have set, but it INSISTS on a
> Scott> white background for the entry, which is unacceptable.  Doing a
> Scott> gdb on it reveals that in fact it the 'normal' BG is getting
> Scott> reset somehow.  What's going on?  This is the only widget type
> Scott> that I've found so far that ignores my orders.  How do I make
> Scott> it do what I want?
> 
> Try using the BASE style instead of the BG for the GtkEntry.  That one
> works for me.

thanks, that works perfectly!

Note to gtk maintainers - this is NOT documented anywhere that I can see.
If I'm mistaken, please tell me where this is documented...?

--------------------------------------------------
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


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post