[pygtk] rc_parse() not working after update to gtk2

Marco Mariani marco at sferacarta.com
Thu Jul 29 22:05:14 WST 2004


Dear list,

the upgrade of my app from gtk 1.2 (pygtk 0.6.9) to 2.0.0 (2.0.0) is
going well, but I am not able to change the styles: basically, even the
simplest rc file is ignored, both fonts and colors.

Is there something I am not aware of?

Thanks



pixmap_path "/home/marco/gfx"

style "gtk-default"
{
  font = "-adobe-helvetica-medium-r-normal-*-10-*-*-*-*-*-*"
}

style "button"
{
  bg[PRELIGHT] = { 0.20, 0.60, 0.80 }
}

widget_class "GtkWidget" style "gtk-default"
widget_class "GtkButton" style "button"



More information about the pygtk mailing list