Answers for "how to change the cursor in text box tkinter"

2

how to change the color of the cursor in tkinter

tkinter.Text(tk.Tk(), insertbackground="#3C3F41")
Posted by: Guest on July-31-2020
1

how to change cursor on hover of button in tkinter

import tkinter as tk

root = tk.Tk()

# cursor="hand1" or cursor="hand2"
tk.Button(root, text="Start", cursor="hand2")

root.mainloop()
Posted by: Guest on January-03-2021

Code answers related to "how to change the cursor in text box tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language