mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +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 @@ You can turn off Update On Click if all you want to see is the alias for a
|
|||
given name, without selecting the color.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from Tkinter import *
|
||||
import ColorDB
|
||||
|
||||
|
|
@ -123,7 +122,7 @@ class ListViewer:
|
|||
self.__sb.update_views(self.__red, self.__green, self.__blue)
|
||||
|
||||
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