[pygtk] dealing with images and entry

pachi at mmn-arquitectos.com pachi at mmn-arquitectos.com
Thu Dec 1 04:33:17 WST 2005


> I have a number of forms that are in postscript. I need to overlay data
> entry widgets on the graphics. I have converted all the image into
> bitmaps.
>
> At this point is see using a Image widget to store the image for the
> form and having to modify the image with data entry. What I would like
> is to have entry widget work on some container where I can set the
> background with an image and then set x,y position of the entry widget.
>
> I do not see a way of doing this. Am I overlooking something ?

I think what you may be looking for is the gtk.Layout widget, that allows
the positioning of other gtk+ widgets (including images and entry widgets)
using coordinates.

http://pygtk.org/pygtk2reference/class-gtklayout.html

Take care,

Rafael Villar Burke



More information about the pygtk mailing list