#1
|
|||
|
|||
pausing non-timer callbacks
i want to pause all the OTHER callbacks (keyboard, sid, etc) but keep the timers going. basically, i need all animations to continue (via timers) but I want to prohibit all user input for x seconds (i also need the tracking to continue as well). thanks
adrian |
#2
|
|||
|
|||
Hi,
To disable a callback simply set the function to the value 0: Code:
#Disable key board events viz.callback(viz.KEYDOWN_EVENT,0) Code:
viz.callback(viz.KEYDOWN_EVENT,onkeydown) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|