mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Better quitting
This commit is contained in:
parent
d5bcf9a343
commit
45c8d34216
3 changed files with 3 additions and 6 deletions
|
@ -15,7 +15,6 @@ button and drag it through some text. The Insertion is the insertion cursor
|
|||
in the text window (which only has a background).
|
||||
"""
|
||||
|
||||
import sys
|
||||
from Tkinter import *
|
||||
import ColorDB
|
||||
|
||||
|
@ -89,7 +88,7 @@ textual displays.''')
|
|||
self.__toggletrack()
|
||||
|
||||
def __quit(self, event=None):
|
||||
sys.exit(0)
|
||||
self.__root.quit()
|
||||
|
||||
def __withdraw(self, event=None):
|
||||
self.__root.withdraw()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue