Hi,
Im trying to get pygtk2 running under Windows with Python 2.2.1 and using a custom theme to make it look like native Windows controls.
I have pygtk running and rendering properly using the port provided by Cedric Gustin, from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/beta/PyGtk-1.99.10.win32.exe and using the latest 2.0.x dll's from http://www.gimp.org/win32 . The only problem remaining is to make gtk use a custom gtkrc.
gtk-2.0 for win32 is themable. As an example, you can try the thinice engine that I compiled for win32 :
http://www.mapr.ucl.ac.be/~gustin/win32_ports/beta/gtk-thinice-engine-win32-2.0.1.tar.gz
To use it, simply add a gtkrc file in %root%/etc/gtk-2.0, where %root% is the directory where you installed the gtk+ for win32 files, with the following text :
gtk-theme-name = "ThinIce"
That's all.
Other gtk-2.0 themes are available on freshmeat at
http://themes.freshmeat.net/browse/958/?topic_id=958
I'm not aware of any "Redmond" theme though !
Cedric
Using filemon (from SysInternals) I was able to tell that gtk was looking for a gtkrc at C:\windows\system\etc\gtk-2.0\gtkrc_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
However, providing a file there doesn't seem to have any effect. Im trying to use the gtkrc from the win32 port of xchat (based on gtk1.3.x), with a huge font so I can tell it's working. So, perhaps the gtkrc format has changed since then and it's not telling me?
Any and all ideas are appreciated.
Thanks, -Eric
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
