I've written a Python app that uses PyGTK. It runs fine on Linux and looks great. It also runs fine on Windows, but it looks absolutely awful. The default GTK theme looks absolutely nothing like the native Windows GUI elements.
Is there anything I can do to make my Python app look a little better? Perhaps some function I can call to change to theme to something a little nicer?
Edit: using the rc_parse()
function suggested in the answer below, I now have:
import pygtk,gtk
gtk.rc_parse("C:\\Program Files\\Common Files\\GTK\\2.0\\share\\themes\\Bluecurve\\gtk-2.0\\gtkrc")
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
button = gtk.Button()
button.set_label("Hello")
window.add(button)
button.show()
window.show()
gtk.main()
...but it's not working.