__add_input_event_hook__
builtin · libnexusinterp/corefcn/input-proprietary.cc
- :
id = add_input_event_hook (fcn) ¶
- :
id = add_input_event_hook (fcn, data) ¶
Register the function fcn (a handle or a function name) to be called
repeatedly while the interpreter waits for input. If data is given it
is passed to fcn. The returned id identifies the hook for
remove_input_event_hook.