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
77b8049c
Commit
77b8049c
authored
Apr 16, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
8c480f7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Lib/lib-tk/Tkinter.py
Lib/lib-tk/Tkinter.py
+10
-10
No files found.
Lib/lib-tk/Tkinter.py
View file @
77b8049c
...
@@ -483,24 +483,24 @@ class Misc:
...
@@ -483,24 +483,24 @@ class Misc:
def
bell
(
self
,
displayof
=
0
):
def
bell
(
self
,
displayof
=
0
):
"""Ring a display's bell."""
"""Ring a display's bell."""
self
.
tk
.
call
((
'bell'
,)
+
self
.
_displayof
(
displayof
))
self
.
tk
.
call
((
'bell'
,)
+
self
.
_displayof
(
displayof
))
# Clipboard handling:
# Clipboard handling:
def
clipboard_get
(
self
,
**
kw
):
def
clipboard_get
(
self
,
**
kw
):
"""Retrieve data from the clipboard on window's display.
"""Retrieve data from the clipboard on window's display.
The window keyword defaults to the root window of the Tkinter
The window keyword defaults to the root window of the Tkinter
application.
application.
The type keyword specifies the form in which the data is
The type keyword specifies the form in which the data is
to be returned and should be an atom name such as STRING
to be returned and should be an atom name such as STRING
or FILE_NAME. Type defaults to STRING.
or FILE_NAME. Type defaults to STRING.
This command is equivalent to:
This command is equivalent to:
selection_get(CLIPBOARD)
selection_get(CLIPBOARD)
"""
"""
return
self
.
tk
.
call
((
'clipboard'
,
'get'
)
+
self
.
_options
(
kw
))
return
self
.
tk
.
call
((
'clipboard'
,
'get'
)
+
self
.
_options
(
kw
))
def
clipboard_clear
(
self
,
**
kw
):
def
clipboard_clear
(
self
,
**
kw
):
"""Clear the data in the Tk clipboard.
"""Clear the data in the Tk clipboard.
...
...
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