[vtk-developers] Mouse wheel support in VTK
John Biddiscombe
john.biddiscombe at mirada-solutions.com
Wed Jan 28 10:13:57 EST 2004
There are
Tcontrol::OnMouseWheel
Tcontrol::OnMouseWheelDown
Tcontrol::OnMouseWheelUp
Which you can use
JB.
If you like I'll fix the borland one next week when I have a moment.
> -----Original Message-----
> From: vtk-developers-admin at vtk.org
> [mailto:vtk-developers-admin at vtk.org] On Behalf Of Mathieu Malaterre
> Sent: 28 January 2004 14:58
> To: vtk-developers at vtk.org
> Subject: Re: [vtk-developers] Mouse wheel support in VTK
>
>
> Commit has been done. There is still work to be done in class that
> bridge to VTK, for example the borland one, the wxWindows,
> the Qt, the
> GTK (in c++ and in python).
>
> I'll try to fix them ASAP.
>
> For the borland one, there is a TCustomControl::OnMouseWheelUp event,
> maybe it can be use ?
>
> Mathieu
>
>
> Mathieu Malaterre wrote:
> > Ok, since no one complain about the naming convention, I'll merge my
> > changes tomorrow.
> >
> > Mathieu
> >
> > Mathieu Malaterre wrote:
> >
> >> Hi all,
> >>
> >> A long time ago I sent to the vtkusers list, a patch to support
> >> mouse wheel event in VTK, but I couldn't test it under
> Mac. After a
> >> lot of problems and a lots of help from Chris Scharver I
> was able to
> >> verify it worked under Mac + Cocoa.
> >>
> >> So this patch has been successfully tested under:
> >>
> >> - Unix/ Linux (including Tcl)
> >> - Windows 2000 and XP
> >> - Mac Cocoa
> >> - Mac Carbon
> >>
> >> Also for the Unix port, there is an interesting thread
> I had with
> >> Charl P. Botha, which explains how this event is -badly-
> handled under
> >> X11:
> >> http://vtk.org/pipermail/vtkusers/2003-August/019537.html
> >>
> >> I also attached to this mail an example in Tcl, python and cxx.
> >>
> >> I would like to apply it sometime next week. Comments
> >> /suggestions
> >> welcome. Maybe the convention can be inverted, I choose to call
> >> 'Forward' an event when 'scrolling up' the mouse wheel.
> >>
> >> Thanks,
> >> Mathieu
> >
> >
> >
> > _______________________________________________
> > vtk-developers mailing list
> > vtk-developers at vtk.org
> > http://www.vtk.org/mailman/listinfo/vtk-developers
> >
>
>
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/v> tk-developers
>
More information about the vtk-developers
mailing list