[vtkusers] Any thing wrong with carbon or cocoa renderwindowinteractor?

Chris Scharver scharver at evl.uic.edu
Sat Feb 14 11:34:09 EST 2004


On Feb 14, 2004, at 10:01 AM, Xu Zhong Hao wrote:

> things are better, i can use shift+control and click to zooom in and 
> out, i can use mouse clik to rotate but no default keyboard action as 
> well

This is a problem with using naked executables on MacOS X. They're not 
packaged applications, so they cannot properly register with the window 
server for keyboard interaction. Move your executable into a package:

mkdir -p foo.app/Contents/MacOS
cp foo foo.app/Contents/MacOS

You'll then be able to properly receive keyboard events, and you'll 
also have a nice double-clickable application in the Finder.

--
Chris Scharver
Electronic Visualization Laboratory
The University of Illinois at Chicago
Ph: 312-996-3002   FAX: 312-413-7585
<http://www.evl.uic.edu/scharver/>




More information about the vtkusers mailing list