[pygtk] Drawing widget

A.T.Hofkamp a.t.hofkamp at tue.nl
Fri Jun 27 16:07:28 WST 2008


Frédéric wrote:
> Hello,
> 
> I would like to make a progress widget wich will display a representation
> (little square) of pictures beeing shot during a panoramic shooting. See
> file attached.
> 
> Ideally, I would like to display all squares (just the border, in fact),
> in black, and depending of the sequence (moving, shooting), change the
> color, or even fill them once the picture has been shot. So, it could be
> nice to have each square as an object, and just change its properties,
> instead of re-drawing it.
> 
> Is it possible with default GTK widgets? How?

Use a DrawingArea widget and draw it yourself.

Albert



More information about the pygtk mailing list