MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / bbox

Method bbox

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:642–645  ·  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

640
641
642 def bbox(self, index):
643 """Return a tuple of (x, y, width, height) which describes the
644 bounding box of the character given by index."""
645 return self._getints(self.tk.call(self._w, "bbox", index))
646
647
648 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.80

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