Eric Mangold wrote:
> 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.
>
> 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
>
> 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.
What does your gtkrc file look like? Font handling on gtk 2.0 is quite
different to gtk 1.2 (or the gtk 1.3 win32 production branch, which was
used to port many 1.2 apps to windows). If your RC file looks something
like:
style "stylename" {
font = "somefontname"
}
...
Try changing it to:
style "stylename" {
font_name = "Sans 24"
}
...
James.
--
Email: [EMAIL PROTECTED] | Linux.conf.au 2003 Call for Papers out
WWW: http://www.daa.com.au/~james/ | http://conf.linux.org.au/cfp.html
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/