View Single Post
  #1  
Old 12-20-2006, 12:37 PM
Jerry Jerry is offline
Member
 
Join Date: Jun 2004
Posts: 105
Callback function name backward incompatibility

I notice that when you delcare a callback, e.g.,

viz.callback(viz.KEYDOWN_EVENT, myKey)

you can no longer put the function name in single quotes, e.g.,

viz.callback(viz.KEYDOWN_EVENT, 'myKey').

Is it possible to make both versions work in Viz3. Otherwise I will have
to change it in all the scripts I've written in Viz2.
Reply With Quote