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
d9e5214c
Commit
d9e5214c
authored
Oct 22, 1998
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beep => bell
deiconify(): New method
parent
877d2992
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Tools/pynche/PyncheWidget.py
Tools/pynche/PyncheWidget.py
+6
-3
No files found.
Tools/pynche/PyncheWidget.py
View file @
d9e5214c
...
...
@@ -90,7 +90,7 @@ class PyncheWidget:
# now create the top level window
root
=
self
.
__root
=
Toplevel
(
tkroot
,
class_
=
'Pynche'
,
menu
=
menubar
)
root
.
protocol
(
'WM_DELETE_WINDOW'
,
modal
and
self
.
__be
ep
or
self
.
__quit
)
modal
and
self
.
__be
ll
or
self
.
__quit
)
root
.
title
(
'Pynche %s'
%
version
)
root
.
iconname
(
'Pynche'
)
# Only bind accelerators for the File->Quit menu item if running as a
...
...
@@ -116,8 +116,8 @@ class PyncheWidget:
def
__quit
(
self
,
event
=
None
):
self
.
__tkroot
.
quit
()
def
__be
ep
(
self
,
event
=
None
):
self
.
__tkroot
.
be
ep
()
def
__be
ll
(
self
,
event
=
None
):
self
.
__tkroot
.
be
ll
()
def
__okay
(
self
,
event
=
None
):
self
.
__sb
.
withdraw_views
()
...
...
@@ -179,3 +179,6 @@ email : bwarsaw@python.org''' % __version__)
def
withdraw
(
self
):
self
.
__root
.
withdraw
()
def
deiconify
(
self
):
self
.
__root
.
deiconify
()
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