Gtk, Setting GtkWindow Background from gtkrc file.
- by PP
I am trying to set background image to GtkWindow through gtkrc file
using pixmap engine but it is not working out following is the rc file.
style "theme-window" = "default"
{
xthickness = 1
ythickness = 1
GtkButton::inner-border = {10, 10, 10, 10}
text[NORMAL] = "#FFFFFF"
text[ACTIVE] = "#000000"
text[PRELIGHT] = "#FFFFFF"
text[INSENSITIVE] = "#787878"
text[SELECTED] = "#FFFFFF"
engine "pixmap"
{
image
{
function = FLAT_BOX
state = NORMAL
recolorable = TRUE
file = "NarrowVideo.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
image
{
function = FLAT_BOX
state = ACTIVE
recolorable = TRUE
file = "NarrowVideo.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
}
}
class "GtkWindow" style "theme-window"