[Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

Igor Novikov igor.e.novikov at gmail.com
Fri Oct 29 20:09:49 CEST 2010


On Fri, Oct 29, 2010 at 6:41 PM, <python at bdurham.com> wrote:

> Hi Igor,
>
> > Why not use conventional tcl/tk functionality? It seems tcl/tk allows to
> use cur/ani files for custom cursor:
> > http://wiki.tcl.tk/8674
>
> Thanks for your response. You are correct, under Windows the
> cursor='@path/to/file.ext' technique works as expected. I had tried that,
> but from within IDLE (Python 2.7) this syntax raises an exception. Using
> this technique in scripts running from the command line (outside of IDLE)
> works well.
>
> Malcolm
>
>

You can try using direct tk command call:

any_widget.tk.call('your','tk','command')

Please note the command should be splitted on words.

-- 
Regards,

Igor Novikov
sK1 Project
http://sk1project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101029/21971033/attachment.html>


More information about the Tkinter-discuss mailing list