<div dir="ltr">Hi Eleftherios,<div><br></div><div>On OS X the system python is properly set up to receive keyboard focus,</div><div>but the anaconda python is not.  In general, in order for a program to</div><div>receive keyboard events, it must be part of an app bundle, though I'm</div><div>sure there are exceptions.  I remember that many, many years ago it</div><div>was necessary to run "pythonw" to get a functional GUI app in python.</div><div><br></div><div>If you create a bundle for your python program, you can get keyboard</div><div>events regardless of whose python you use.</div><div><br></div><div> - David</div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 3:32 PM, Eleftherios Garyfallidis <span dir="ltr"><<a href="mailto:garyfallidis@gmail.com" target="_blank">garyfallidis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>In OSX using vtk 6 or vtk 5 installed from anaconda the window does not get the focus. </div><div><br></div><div>This should be trivial to test. You can just run the hello world example and see it by yourself.</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Python/Cylinder" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Python/Cylinder</a><br></div><div><br></div><div>We observed the same issue both with osx 10.9 and 10.11</div><div><br></div><div>Best regards,</div><div>Eleftherios</div></div></blockquote></div></div></div></div>