how can I get the handle of a tkinter window? I tried ...
h = self._get_hwnd()
but it doesn't work. I'm using Python IDLE Shell 3.10.1 (OS: Windows 10).
Example:
import tkinter as tk
root=tk.Tk()
root.title=("Test")
text1=tk.Text(root, height=10, width=50)
text1.insert(tk.INSERT,self._get_hwnd())
text1.pack()
root.mainloop()