Warning: add is deprecated since 1.6.
Simple wrapper around add_full.
There is no direct replacement for this API
| fps |
the number of times per second to call the function |
| func |
function to call |
| data |
data to pass to the function |
|
the ID (greater than 0) of the event source. |