> In other words, if I only update a small piece of the pixmap, is there
> any way to synthesize the expose event to tell it to only update the
> drawingarea from that small piece?
Look at at the 'event' structure of the expose event. It contains the
attribute 'area', which is a 4-tuple describing the rectangular area that
has changed.
An example (this code is not complete but only shows how to do it):
def on_expose(widget, event, *args):
# get the area
area = event.area
# redraw the area
widget.draw_pixmap(gc, destination, area[1], area[2], area[0], area[1], area[2],
area[3])
This is the way I handle this problem.
Bye, Martin Grimme - http://www.pycage.de
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk