Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
45c8d342
Commit
45c8d342
authored
Oct 06, 1998
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better quitting
parent
d5bcf9a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
Tools/pynche/DetailsViewer.py
Tools/pynche/DetailsViewer.py
+1
-2
Tools/pynche/ListViewer.py
Tools/pynche/ListViewer.py
+1
-2
Tools/pynche/TextViewer.py
Tools/pynche/TextViewer.py
+1
-2
No files found.
Tools/pynche/DetailsViewer.py
View file @
45c8d342
...
...
@@ -52,7 +52,6 @@ Shift + Left == -25
Shift + Right == +25
"""
import
sys
from
Tkinter
import
*
STOP
=
'Stop'
...
...
@@ -153,7 +152,7 @@ class DetailsViewer:
self
.
__l2
.
configure
(
text
=
text
)
def
__quit
(
self
,
event
=
None
):
s
ys
.
exit
(
0
)
s
elf
.
__root
.
quit
(
)
def
__withdraw
(
self
,
event
=
None
):
self
.
__root
.
withdraw
()
...
...
Tools/pynche/ListViewer.py
View file @
45c8d342
...
...
@@ -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
):
s
ys
.
exit
(
0
)
s
elf
.
__root
.
quit
(
)
def
__withdraw
(
self
,
event
=
None
):
self
.
__root
.
withdraw
()
...
...
Tools/pynche/TextViewer.py
View file @
45c8d342
...
...
@@ -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
):
s
ys
.
exit
(
0
)
s
elf
.
__root
.
quit
(
)
def
__withdraw
(
self
,
event
=
None
):
self
.
__root
.
withdraw
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment