How To Change The Mouse Cursor - Python Tkinter GUI Tutorial #160

Codemy.com
Codemy.com
13.1 هزار بار بازدید - 4 سال پیش - In this video I'll show
In this video I'll show you how to change the mouse cursor in your app with Tkinter and Python.


There are about 20 cursors you can count on:
arrow
circle
clock
cross
dotbox
exchange
fleur
heart
man
mouse
pirate
plus
shuttle
sizing
spider
spraycan
star
target
tcross
trek



To use them, just set the cursor attribute in whatever widget you want to use them in.


Button(root, text="whatever", cursor="target")


And it's just that easy!
4 سال پیش در تاریخ 1399/10/18 منتشر شده است.
13,149 بـار بازدید شده
... بیشتر