<font face="arial, helvetica, sans-serif">When you link your app, make sure you specify <span style="background-color:rgb(255,255,255);line-height:1.2em;text-align:left">MACOSX_BUNDLE</span></font><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif">For example:</font></div><div><font face="arial, helvetica, sans-serif"><br></font><pre class="de1" style="padding:0px;border:0px none white;background-color:rgb(255,255,255);line-height:1.2em;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top;text-align:left">
<font face="arial, helvetica, sans-serif"><span class="kw1" style="color:rgb(31,63,129)">add_executable</span><span class="sy0" style="color:rgb(25,125,139)">(</span>RandomProbe MACOSX_BUNDLE RandomProbe<span class="sy0" style="color:rgb(25,125,139)">)</span></font></pre>
<pre class="de1" style="padding:0px;border:0px none white;background-color:rgb(255,255,255);line-height:1.2em;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top;text-align:left"><span class="sy0" style="color:rgb(25,125,139)"><font face="arial, helvetica, sans-serif"><br>
</font></span></pre><pre class="de1" style="padding:0px;border:0px none white;background-color:rgb(255,255,255);line-height:1.2em;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top;text-align:left">
<span class="sy0" style="color:rgb(25,125,139)"><font face="arial, helvetica, sans-serif">Bill</font></span></pre><pre class="de1" style="padding:0px;border:0px none white;background-color:rgb(255,255,255);line-height:1.2em;font-size:10px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top;text-align:left">
<span class="sy0" style="color:rgb(25,125,139)"><br></span></pre><div class="gmail_quote">On Fri, Mar 15, 2013 at 7:40 AM, Xavier Tricoche <span dir="ltr"><<a href="mailto:xmt@purdue.edu" target="_blank">xmt@purdue.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Thanks!<br>
<br>
Xavier<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>