Re: How to change GtkEntry background

>Thanks, but I already tried that -- that gets me a single pixel wide
>line around the border, but it doesn't affect the text background.

did you set the 

    base[ACTIVE] = {  }
    base[NORMAL] = {  }
    base[SELECTED] = {  }
    base[INSENSITIVE] = {  }

components to the style?

in GTK, when text is drawn in widgets like a GtkEntry, the background
uses the style's "base" color, not the "bg" color. this is documented
in the reference docs, in the section on RC files.


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