[vtkusers] Keyboard and mouse interaction on OSX
Bill Lorensen
bill.lorensen at gmail.com
Fri Mar 15 14:24:12 EDT 2013
When you link your app, make sure you specify MACOSX_BUNDLE
For example:
add_executable(RandomProbe MACOSX_BUNDLE RandomProbe)
Bill
On Fri, Mar 15, 2013 at 7:40 AM, Xavier Tricoche <xmt at purdue.edu> wrote:
> Hi,
>
> I'd be curious to know the status of the keyboard and mouse interaction
> support in VTK on OSX. Basically my experience has been that many widgets
> don't work properly on macs (vtkSliderWidget is one notable exception) and
> that keyboard events (caught, e.g., through proper observers) are never
> passed on.
>
> I remember reading on the Wiki that a solution to this problem (a
> workaround, rather) was to create bundled apps but that does not apply to
> programs with command line options or python scripts.
>
> I am using VTK (5.10.1) in my graduate visualization class (I have been
> for a while) and the increasing popularity of both macs and python among my
> students make that a pretty distracting issue from a logistical standpoint.
> Some students have to run VTK on a Linux virtual machine to complete
> projects on their macs.
>
> Hence, I'd be most thankful for any information I can obtain as to what is
> causing these issues and whether there are concrete plans to address them.
>
> Thanks!
>
> Xavier
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130315/62e3dd02/attachment.htm>
More information about the vtkusers
mailing list