Python 3 Tkinter Changing Mouse Cursor to Hand Cursor on Label Hovering GUI Desktop App Full Project For Beginners

 

 

 

main.py

 

 

import tkinter as tk

root = tk.Tk()

label = tk.Label(root, text="Hello, world", background="bisque", cursor="hand1")
label.pack(side="top", fill="x", padx=10, pady=10)

root.mainloop()

Leave a Reply