Jun-28-2019, 10:05 AM
If you are referring to a text widget, use:
cursorpos = text_widget_name.index(INSERT)replace text_widget_name with real text widget name