Answers for "mouse enter color tkinter"

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

Python Answers by Framework

Browse Popular Code Answers by Language