Tkinter: wm_protocol() error on RedHat Linux 6.0

Matt Gushee mgushee at havenrock.com
Mon Jan 17 17:21:24 EST 2000


Fredrik Lundh writes:
 > Matt Gushee <mgushee at havenrock.com> wrote:

 > >  >   File "./sngui.py", line 164, in __init__
 > >  >     self.wm_protocol('WM_DELETE_WINDOW', self.quit)
 > >  > AttributeError: wm_protocol
 > > 
 > > He has tkinter-1.5.1-10.i386.rpm.
 > 
 > pre-1.5.2 releases don't have "wm_protocol".
 > 
 > for backwards compatibility, use the "protocol"
 > alias instead.

Oops. Thank you!

Matt Gushee




More information about the Python-list mailing list