]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Turns out that 'winfo id' returns the id as a hex string, with 0x prefix.
authorGuido van Rossum <guido@python.org>
Fri, 19 Jun 1998 04:35:45 +0000 (04:35 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Jun 1998 04:35:45 +0000 (04:35 +0000)
commitcef4c844df324979f25ffec172c141a5d5c4672e
treed7d8f41e839568346ac229a115a5c7ddac7ade49
parent268824e089060dcc5d62a538cc19db6652daaa79
Turns out that 'winfo id' returns the id as a hex string, with 0x prefix.
The int() function (aliased to getint()) doesn't handle that, so we must
use self.tk.getint() again...
Lib/lib-tk/Tkinter.py