[SDL] tcl/tk: how to stop sdl from grabbing the pointer (windoze)

Johan Knol johan.knol at home.nl
Fri Aug 20 04:26:05 PDT 2004


tcl/tk: how to stop sdl from grabbing the pointer (windoze)

Hi All!

I have a frame: "frame .view.canvas.sdlWindow -container 1" and use it's
"winfo id .view.canvas.sdlWindow" to pass it on to SDL to use. All works
fine.

SDL is only used to redraw/expose the window's content. I don't want it
to interfere with my pointer, e.g.:

"bind .view.canvas.sdlWindow <Motion> myproc" only calls myproc
occasionally. Most <Motion> events seems to be consumed by SDL, although
I don't have an SDL event loop, nor do I want any.

It works great on Linux but not on Windoze, does someone know how to do
this?

Thanks
Johan





More information about the SDL mailing list