[pygtk] Draw text over image

Rafael rfsbsb at gmail.com
Fri Jul 11 04:24:50 WST 2008


Hi,

I'm new to pygtk and gtk and have been doing some tests and most of them are
very successful (thanks for the excelent tutorial and api documentation)!

I have a question, and hope you could help me. I have a gtk.Image within a
eventbox. The image is resized when the containter is resized. I want to
write some text over this image and resize the text (proportional). My text
is a pango layout.

I've made most part of it, but there are 2 problems: sometimes, when the
eventbox is resized the text simply disapear and allways there's a flash
when the text is refreshed.

Ok, probably that isn't the correct way to do this task, and that's why I'm
here. Could anybody help me find the best way to write a text over an image
(that's all I need for now)?

I've been looking on google and list archive but I didn't found anything
about draw a text over an image.

Thank you in advance!
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080710/2a3ad538/attachment.html 


More information about the pygtk mailing list