lbl=Label(root, text="toto", cursor="@toto.cur")works for me on Python 2.6
and Vista. Make sure that the cur file is in the working directory of your
script (I have a similar traceback if I try to load a non-existing cursor) and
that the file is not corrupted.
As an alternative, here is a list of internal cursors:
http://www.tcl.tk/man/tcl8.4/TkCmd/cursors.htm
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)