I have the following code:
from gtk import *
rcfile = """
pixmap_path "/home"
style "back" {
bg_pixmap[NORMAL] = "image.xpm"
}
widget "*mystyle" style "back"
"""
Everything works correctly. But the load of the image is very slow,
therefore I have tried to use the following thing:
from gtk import *
rcfile = """
pixmap_path "/home"
style "back" {
bg_pixmap[NORMAL] = "image.png"
}
widget "*mystyle" style "back"
"""
It does not load the PNG image, why?.
In other programs I have seen that they load PNG images without
problems.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk