Python 2.7/Windows: My understanding is that we can load custom mouse cursors using the cursor='@file.cur' syntax:
widget = tkinter.Label( ..., cursor='@help.cur' )
Here's the traceback I receive:
Traceback (most recent call last):
File "<pyshell#82>", line 1, in <module>
widget.config( cursor='@help.cur' )
File "C:Python27liblib-tkTkinter.py", line 1202, in configure
return self._configure('configure', cnf, kw)
File "C:Python27liblib-tkTkinter.py", line 1193, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: bad cursor spec "@help.cur"
Is it possible to load custom mouse cursors under Windows using Tkinter, a Tkinter extension, or via a Win32 API call?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…