[vtkusers] Re: Problem with interaction in Tcl

Roger Blum roger_blum at swissonline.ch
Sat Jul 1 23:48:06 EDT 2006


Hi there,

Nobody an idea, hint or link for solving my problem?

Roger


"Roger Blum" <roger_blum at swissonline.ch> schrieb im Newsbeitrag 
news:e7tkin$dto$1 at sea.gmane.org...
> Hello vtk users,
>
> I use vtk 5.0 with Tcl on Windows.
>
> I have an application which uses multiple windows (each containing one or
> more vtkTkRenderWidgets). The default behavior to grab the focus when the
> mouse pointer enters the widget leads to a disturbing behavior: if the 
> mouse
> is moved out of the current window and enters an other vtkTkRenderWidget,
> this one grabs the focus and brings it's window to the front (hiding the
> current window).
>
> Removing the focus command in the file binding.tcl solved the "wrong 
> focus"
> problem. But it seems to be a bad trick, as the vtkTkRenderWidget do not 
> get
> any key events anymore.
> How can I avoid this behavior? What is the "correct" way to achieve what I
> want (change of focus only on mouse click)?
>
> Thanks for your help,
> Roger
>
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list