<p>Hello!<br><br>I have some really big problems. I have a deadline tomorrow and i REALLY need to change the background color of a couple of GtkEntry's and a GtkTextView. The problem is that i really can't figure out how to do that. I have googled my ass off, read every page in GTK+ manual, read the sapwood engine manual, and I have tried everything. But it really looks like it is impossible to change the background of a GtkEntry.<br>
</p><p></p><p>For the moment I use a .gtkrc file that looks like this:<br>style "testing"<br>{<br> bg[NORMAL] = "blue"<br> bg[ACTIVE] = "blue"<br> bg[SELECTED] = "blue"<br> text[NORMAL] = "green"<br>
text[ACTIVE] = "green"<br> text[SELECTED] = "green"<br><br> engine "sapwood"<br> {<br> image {<br> function = FOCUS<br> file = "test.png"<br> }<br><br> # Default<br>
image {<br> function = BOX<br> file = "test.png"<br> }<br> }<br>}<br>widget_class "*" style "testing"<br><br>All widgets get a background color, foreground color and a background image. The GtkEntry/GtkTextView gets a forground color, but the background color is untouched.<br>
<br>Can someone please confirm if this is a bug, or if I'm just doing anything wrong? The best solution would be if I was able to set a .png file as border, and another .png file when the GtkEntry/GtkTextView is focused. But as long as I can get a black background color I will be satisified. <br>
<br><br>Best regards,<br>Christian Antila<br></p>