[vtkusers] Problem VTK4 + python 2.2

Emmanuel Olart olart at theralys.com
Tue Jan 15 08:29:03 EST 2002


David Gobbi wrote:

>Hi Emmanuel, Prabhu,
>
>I spent some time before Christmas experimenting with wxPython,
>and made a wxVTKRenderWindow.py (similar to the vtk.py that comes
>with wxPython) that does its best to work around some of the
>strange behaviour of wxGTK.  There are lots of things slightly
>haywire with wxGTK, including the flicker problem (unwanted window erase),
>window enter/leave events, window focus, setting the mouse cursor...
>
>The easiest thing would be for me to commit my wxVTKRenderWindow.py to
>VTK CVS, if you are willing to test it.
>
> - David
>
>--
>  David Gobbi, MSc                       dgobbi at irus.rri.ca
>  Advanced Imaging Research Group
>  Robarts Research Institute, University of Western Ontario
>
>On Mon, 14 Jan 2002, Emmanuel Olart wrote:
>
>>this is wxPython code
>>wxDemo runs ok, but my code still freeze the X server
>>
>>I ll try to point the problem and i ll post here the solution for other
>>people that have problems to move from VTK 3.2 to VTK4
>>
>>Thx for your interest
>>
>>Regards Emmanuel
>>
>>
>>Prabhu Ramachandran wrote:
>>
>>>>>>>>"EO" == Emmanuel Olart <olart at theralys.com> writes:
>>>>>>>>
>>>   EO> Hummm last problem, it works, it displays the renderWindow but
>>>   EO> if I ever try to clik on it or to display something in it, my
>>>   EO> X server get killed ...
>>>
>>>Is this with wxPython code?  Do the other Python examples etc. run ok?
>>>
>>>I'll mail you my wx_vtk.py code offlist.  It works for me, hopefully
>>>it should work for you too.
>>>
>>>prabhu
>>>
>>>
>>>
>>
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>
>
hello david,

Sure i ll be glad to test your file with my config.
I ll post feedback

thx for your interest

Emmanuel





More information about the vtkusers mailing list