[9399] 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 (Dave Cole)
Mon Oct 19 06:13:18 1998

To: gtk-list@redhat.com
From: Dave Cole <dave@dccs.com.au>
Date: 19 Oct 1998 20:12:46 +1000
In-Reply-To: Scott Stone's message of "Mon, 19 Oct 1998 19:09:01 +0900 (JST)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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

- Dave

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS dpu s-:+ a C++$ ULS++$ P+++$>++++ L++>+++$ E+>++ W N++ !o K w++$ O !M-
!V(-) PS+ PE- Y+ PGP !t-- 5++ X R tv b+ DI+++ D G e++ h--- r+++ y++++
------END GEEK CODE BLOCK------

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


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