View Single Post
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#1
Hello all,

I apologise for asking a basic question. Suppose I have the code:

Code:
PixBuf = gtk.gdk.pixbuf_new_from_file("image.png")
Image = gtk.image_new_from_pixbuf(PixBuf)
(I then add the image to the Hildon window in the "standard" manner),
and suppose I want to draw a rectangle (say) on top of the displayed PNG. How do I get round to doing this?

Thanks!