所以我在Photoshop中做了一个光标设计,我想导入它,所以当我将鼠标悬停在画布上时,它就会出现。
from tkinter import *
root = Tk()
root.geometry('1920x1080+0+0')
root.title('Book GO')
root.configure(background='#424242')
canvas = Canvas(root, cursor='I want a custom cursor here', width=700, height=500)
canvas.pack()
root.mainloop()