Eric,

The short answer (for people searching the archives) is that the
cursor='@\path\to\cursor_file.cur' technique DOES work exactly as
advertised ... when used in a script run outside of IDLE (I know,
I know ... never test Tkinter code in IDLE!).

> Did you try it?

Yes. Running Python 2.7 (32-bit) on Windows 7 (64-bit), from
within IDLE, I received the following traceback:

Traceback (most recent call last):
File "<pyshell#82>", line 1, in <module>
widget.config( cursor='@help.cur' )
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1202, in configure
return self._configure('configure', cnf, kw)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1193, in
_configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: bad cursor spec "@help.cur"

Thanks for your feedback!

Malcolm
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to