Catching the Expose Event

June 01, 1998 | Fredrik Lundh

from Tkinter import *

def update(event):
    print "expose", event.widget

frame = Frame(width=500, height=500)
frame.bind("<Expose>", update)
frame.pack()

mainloop()
 

A Django site. this page was rendered by a django application in 0.01s 2012-01-12 18:32:58.552443. hosted by webfaction.