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

Method bbox

Lib/tkinter/ttk.py:649–652  ·  view source on GitHub ↗

Return a tuple of (x, y, width, height) which describes the bounding box of the character given by index.

(self, index)

Source from the content-addressed store, hash-verified

647
648
649 def bbox(self, index):
650 """Return a tuple of (x, y, width, height) which describes the
651 bounding box of the character given by index."""
652 return self._getints(self.tk.call(self._w, "bbox", index))
653
654
655 def identify(self, x, y):

Callers 15

dnd_enterMethod · 0.45
dnd_motionMethod · 0.45
test_bboxMethod · 0.45
test_bboxMethod · 0.45
test_create_rectangleMethod · 0.45
test_create_lineMethod · 0.45
test_create_polygonMethod · 0.45
test_coordsMethod · 0.45
test_movetoMethod · 0.45
test_boxMethod · 0.45
test_bboxMethod · 0.45
test_bboxMethod · 0.45

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by 15

test_bboxMethod · 0.36
test_bboxMethod · 0.36
test_create_rectangleMethod · 0.36
test_create_lineMethod · 0.36
test_create_polygonMethod · 0.36
test_coordsMethod · 0.36
test_movetoMethod · 0.36
test_boxMethod · 0.36
test_bboxMethod · 0.36
test_bboxMethod · 0.36
test_fontlist_mouseMethod · 0.36
click_charMethod · 0.36