Re: [Tkinter-discuss] Custom cursor?

2005-02-24 Thread Stewart Midwinter
Actually on Windows it gives an exception but you're probably close on the config options. Traceback (most recent call last): File "test-cursor.py", line 3, in ? t.configure(cursor="@cntr_ptr cntr_ptrmsk black white") File "C:\Programs\Python24\Lib\lib-tk\Tkinter.py", line 1139, in configu

Re: [Tkinter-discuss] Custom cursor?

2005-02-24 Thread Jeff Epler
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 wh

[Tkinter-discuss] Custom cursor?

2005-02-24 Thread Russell E. Owen
I'd like to create a few custom cursors Tkinter (including a magnifying glass). >From reading the documentation I could find, it appears that the only cross-platform way to specify cursors in Tk is using Tk_GetCursorFromData*. Unfortunately, I can't seem to figure out how to run this from Tkin