[pygtk] Custom theme

Jeffrey Barish jeff_barish at earthlink.net
Sat Jun 26 07:12:39 WST 2010


I would like to associate a theme with my application so the application 
looks the same regardless of the theme selected for the desktop.  I found a 
theme that I like, so I copied all the images and the gtkrc (the contents of 
the gtk-2.0 directory for the theme) into a theme directory below the root 
for my application.  I call gtk.rc_parse('relative path to gtkrc') before 
doing anything else in my main program.  What I get is that a few of the 
widgets have the correct style, but most have the default style for the 
desktop.  Any idea what I'm doing wrong?
-- 
Jeffrey Barish



More information about the pygtk mailing list