View Single Post
  #2  
Old 01-25-2005, 12:35 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

To disable a callback simply set the function to the value 0:
Code:
#Disable key board events
viz.callback(viz.KEYDOWN_EVENT,0)
Then to resume the callback set the function back to the original value:
Code:
viz.callback(viz.KEYDOWN_EVENT,onkeydown)
Reply With Quote