[pygtk] Draw text over image

A.T.Hofkamp a.t.hofkamp at tue.nl
Tue Aug 5 18:34:25 WST 2008


[Sorry Rafael, I pressed the 'send' button instead of cancel]

Rafael wrote:
> Hi,
> 
> 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.

Why don't you use a DrawingArea, and render the image and the text yourself?



Albert


More information about the pygtk mailing list