Re: [pygtk] Drawing a PNG on a gtk.DrawingArea

2009-09-12 Thread Fabrice Delente
2009/9/12 John Finlay > What happens if you try drawing the original pixbuf? > > John > Your hint was right, my rescaling went the wrong way; displaying the original pixbuf worked ok, I messed up the rescaling... Thanks! -- Fabrice DELENTE ___ pygtk

Re: [pygtk] Drawing a PNG on a gtk.DrawingArea

2009-09-12 Thread John Finlay
Fabrice DELENTE wrote: > Hello. > > I'm still struggling with displaying a PNG image on a gtk.DrawingArea. I > designed a glade interface that is basically a toplevel window with an hbox > in it. I then add() a gtk.DrawingArea in the hbox. > > I'm trying to display the image this way: > > fichi

[pygtk] Drawing a PNG on a gtk.DrawingArea

2009-09-12 Thread Fabrice DELENTE
Hello. I'm still struggling with displaying a PNG image on a gtk.DrawingArea. I designed a glade interface that is basically a toplevel window with an hbox in it. I then add() a gtk.DrawingArea in the hbox. I'm trying to display the image this way: fichier = "/home/fab/tex/courante/TES/part