On my Linux machine, this worked in wish:
$ cd /usr/X11R6/include/X11/bitmaps
$ wish
% . configure -cursor [EMAIL PROTECTED] cntr_ptrmsk black white}

The Python version would probably read something like
    import Tkinter
    t = Tkinter.Tk()
    t.configure(cursor="@cntr_ptr cntr_ptrmsk black white")
    t.mainloop()
I suspect the 1-arg format "@example.cur" should work just as well on
Windows.

Tk_GetCursorFromData is a C API, while Tkinter mostly exposes the Tcl
API.  Reading the Tk_GetCursorFromData manual page, it looks like it
doesn't expose any capabilities that the @-form of the cursor property
doesn't (instance, the X and Y hotspots are named in the "cntr_ptr"
file), but maybe I'm missing something.

Jeff

Attachment: pgpWVzamon9Tu.pgp
Description: PGP signature

_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to