I think connect_after makes more sense here

This commit is contained in:
Chris Jones 2009-03-21 01:39:49 +00:00
parent de62f1bda4
commit 3d60c96b44
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ text/plain
#here, we define some widget internal values
widget._expose_data = { 'color': color, 'coord' : coord }
#redraw by forcing an event
connec = widget.connect('expose-event', self.on_expose_event)
connec = widget.connect_after('expose-event', self.on_expose_event)
widget.window.invalidate_rect(rect, True)
widget.window.process_updates(True)
#finaly reset the values