PyDocs

Nav

Graphical user interfaces with Tk

Canvas.addtag_closest

tkinter

method of Canvas
  • Canvas.addtag_closest(newtag, x, y, halo=None, start=None)
Add the tag newtag to the item closest to the point (x, y). If halo is given, any item within that distance of the point is treated as overlapping it. If start is given (a tag or id), select the topmost closest item that lies below start in the display list, which can be used to step through all the closest items.
0 Examples
No examples for tkinter/Canvas.addtag_closest.
See Also
No see-alsos for tkinter/Canvas.addtag_closest
0 Notes
No notes for Canvas.addtag_closest