MCPcopy Index your code
hub / github.com/python/cpython / winfo_width

Method winfo_width

Lib/tkinter/__init__.py:1466–1469  ·  view source on GitHub ↗

Return the width of this widget.

(self)

Source from the content-addressed store, hash-verified

1464 self.tk.call('winfo', 'vrooty', self._w))
1465
1466 def winfo_width(self):
1467 """Return the width of this widget."""
1468 return self.tk.getint(
1469 self.tk.call('winfo', 'width', self._w))
1470
1471 def winfo_x(self):
1472 """Return the x coordinate of the upper left corner of this widget

Callers 15

adjustScrollsMethod · 0.80
_window_sizeMethod · 0.80
_place_windowFunction · 0.80
test_grid_propagateMethod · 0.80
test_identifyMethod · 0.80
test_getMethod · 0.80
test_setMethod · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by 11

test_grid_propagateMethod · 0.64
test_identifyMethod · 0.64
test_getMethod · 0.64
test_setMethod · 0.64
test_resizeMethod · 0.64
paintMethod · 0.64