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
1ac8d53b
Commit
1ac8d53b
authored
Jul 06, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change whitespace in two places to silence tabnanny.
Also fix spelling tupel -> tuple.
parent
6262e56d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Lib/lib-tk/Tkinter.py
Lib/lib-tk/Tkinter.py
+4
-4
No files found.
Lib/lib-tk/Tkinter.py
View file @
1ac8d53b
...
...
@@ -91,7 +91,7 @@ try: _cnfmerge = _tkinter._cnfmerge
except
AttributeError
:
pass
class
Event
:
"""Container for the properties of an event.
"""Container for the properties of an event.
Instances of this type are generated if one of the following events occurs:
...
...
@@ -677,12 +677,12 @@ class Misc:
return
getint
(
self
.
tk
.
call
(
'winfo'
,
'pointerx'
,
self
.
_w
))
def
winfo_pointerxy
(
self
):
"""Return a tup
el
of x and y coordinates of the pointer on the root window."""
"""Return a tup
le
of x and y coordinates of the pointer on the root window."""
return
self
.
_getints
(
self
.
tk
.
call
(
'winfo'
,
'pointerxy'
,
self
.
_w
))
def
winfo_pointery
(
self
):
"""Return the y coordinate of the pointer on the root window."""
return
getint
(
return
getint
(
self
.
tk
.
call
(
'winfo'
,
'pointery'
,
self
.
_w
))
def
winfo_reqheight
(
self
):
"""Return requested height of this widget."""
...
...
@@ -693,7 +693,7 @@ class Misc:
return
getint
(
self
.
tk
.
call
(
'winfo'
,
'reqwidth'
,
self
.
_w
))
def
winfo_rgb
(
self
,
color
):
"""Return tup
el
of decimal values for red, green, blue for
"""Return tup
le
of decimal values for red, green, blue for
COLOR in this widget."""
return
self
.
_getints
(
self
.
tk
.
call
(
'winfo'
,
'rgb'
,
self
.
_w
,
color
))
...
...
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