[vtkusers] special keys
dgobbi at imaging.robarts.ca
Tue Oct 15 10:04:15 EDT 2002
If you use the wxVTKRenderWindow (which comes with VTK 4.n)
you can get the key code from the event:
if event.GetKeyCode() == WXK_RIGHT:
EVT_KEY_DOWN(window,MyKeyFunc) # 'window' is a wxVTKRenderWindow
On Tue, 15 Oct 2002, Vincent wrote:
> Does anyone have an idea how I can capture key events from special keys
> (arrows, etc.) in VTK? I'm using python and wxWindows.
> Vincent Dercksen
> 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:
More information about the vtkusers