The Tkinter Text Widget Insertion Cursor The Tkinter Text Widget Insertion Cursor tkinter tkinter

The Tkinter Text Widget Insertion Cursor


The bbox method can be used to get the bounding box of an index. You can use that to get the position relative to the window. You can use the winfo method to get the x/y of the window.

Typically popups appear next to the mouse rather than the insertion point (though typically, right-clicking first sets the insertion point and then displays a menu).