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

Method bbox

Lib/tkinter/__init__.py:3014–3018  ·  view source on GitHub ↗

Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle which encloses all items with tags specified as arguments.

(self, *args)

Source from the content-addressed store, hash-verified

3012 self.addtag(newtag, 'withtag', tagOrId)
3013
3014 def bbox(self, *args):
3015 """Return a tuple of X1,Y1,X2,Y2 coordinates for a rectangle
3016 which encloses all items with tags specified as arguments."""
3017 return self._getints(
3018 self.tk.call((self._w, 'bbox') + args)) or None
3019
3020 def tag_unbind(self, tagOrId, sequence, funcid=None):
3021 """Unbind for all items with TAGORID for event SEQUENCE the

Callers

nothing calls this directly

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected