On Thu, Feb 24, 2005 at 04:08:24PM -0700, Stewart Midwinter wrote: > Actually on Windows it gives an exception but you're probably close on > the config options.
The length-4 version is X only. "This form of the command will not work
on Macintosh or Windows computers" -- man Tk_GetCursor
This is the version that works on Windows:
% . configure -cursor @treeview.cur ;# wish, tested
or
t.configure(cursor="@treeview.cur") # python + tkinter, not tested
(treeview.cur is a cursor file that I found in the BLT source directory,
but any Windows-format .cur or .ani file is supposed to work)
Keep in mind that these filenames are always relative to the working
directory, not necessarily to the location of your script or the Python
executable.
Jeff
pgpYdoXdrIxNZ.pgp
Description: PGP signature
_______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
