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



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]