<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&#39;s and a GtkTextView. The problem is that i really can&#39;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 &quot;testing&quot;<br>{<br>&nbsp; bg[NORMAL] = &quot;blue&quot;<br>&nbsp; bg[ACTIVE] = &quot;blue&quot;<br>&nbsp; bg[SELECTED] = &quot;blue&quot;<br>&nbsp; text[NORMAL] = &quot;green&quot;<br>
&nbsp; text[ACTIVE] = &quot;green&quot;<br>&nbsp; text[SELECTED] = &quot;green&quot;<br><br>&nbsp; engine &quot;sapwood&quot;<br>&nbsp; {<br>&nbsp;   image {<br>&nbsp;     function = FOCUS<br>&nbsp;     file     = &quot;test.png&quot;<br>&nbsp;   }<br><br>&nbsp;   # Default<br>
&nbsp;   image {<br>&nbsp;     function = BOX<br>&nbsp;     file     = &quot;test.png&quot;<br>&nbsp;   }<br>&nbsp; }<br>}<br>widget_class &quot;*&quot; style &quot;testing&quot;<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&#39;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.&nbsp;<br>
<br><br>Best regards,<br>Christian Antila<br></p>