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-05-26 01:23:12.895491. hosted by webfaction.