I attached a very simple exemple that adds text and an image in a
button. This code works under linux (evert GTK version) but not under
windows (GTK2.10.6 / pygtk2.10.3). Ttext is displayed, but not image.

Do I use button badly or is it a win32 bug ?

-- 
Yann

PNG image

import gtk

w = gtk.Window()
b = gtk.Button()
i = gtk.Image()
b.set_image(i)
b.set_label('')
i.set_from_file('asterix.png')
w.add(b)
w.show_all()
gtk.main()
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to