[pygtk] Notebook tabposition with Windows Problem
Hugo Teso
dixieflatl at gmail.com
Mon Jun 13 21:54:39 WST 2011
Hi Lucas,
I had the same problem recently. I solved it by creating a simple gtkrc
file on the data directory of my project and loading it during app startup.
To know if this is also your problem try to remove/rename the gtkrc file
on your python directory and see if tabs are shown properly.
C:\Python26\Lib\site-packages\gtk-2.0\runtime\etc\gtk-2.0
The contents of the gtkrc file I use on my app are:
gtk-theme-name = "Raleigh"
gtk-button-images = 1
And I load it like this:
# Load the theme (this fixes a bug on windows)
if sys.platform == "win32":
gtk.rc_add_default_file('gtkrc')
Hope this helps you.
Regards,
More information about the pygtk
mailing list