Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ac4e3 commit b9d6724Copy full SHA for b9d6724
1 file changed
Lib/tkinter/__init__.py
@@ -845,8 +845,7 @@ def winfo_height(self):
845
self.tk.call('winfo', 'height', self._w))
846
def winfo_id(self):
847
"""Return identifier ID for this widget."""
848
- return self.tk.getint(
849
- self.tk.call('winfo', 'id', self._w))
+ return int(self.tk.call('winfo', 'id', self._w), 0)
850
def winfo_interps(self, displayof=0):
851
"""Return the name of all Tcl interpreters for this display."""
852
args = ('winfo', 'interps') + self._displayof(displayof)
0 commit comments