Merhaba dostlar bugün sizlerle Python kullanarak Fare imleci dehiştiricez .
CODE
# kütüphane eklenmesi
from tkinter import *
#create object
root = Tk()
#geometri
root.geometry("200x530")
#list of cursors
cursors = ['arrow', 'X_cursor', 'hand1', 'hand2',
'ibeam', 'pencil', 'pirate',
'plus', 'watch', 'xterm', 'none', 'shuttle',
'spraycan', 'target','spider' #ve daha fazlası ekelene bilrsin
]
#Itreate through all cursors
for cursor in cursors:
Button(root,text=cursor,cursor=cursor).pack()
#Pencere Gösterme
root.mainloop()
Yorumlar
Yorum Gönder