my window is maya native widget ("window -title ..."), no qt. I want a way 
to detect if esc key was pressed to quit my window, and before showwindow 
command, send my window to mouse position.

I found this c++ api code for mouse screen position detection on highend 
site, but trying convert it to python, DeclareSimpleCommand raising python 
error (# Error: NameError: name 'DeclareSimpleCommand' is not defined # ).

thanks Justin

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to