|
⇤ ← Revision 1 as of 2011-02-16 18:12:11
Size: 903
Comment: create page - 2/15 changeset 5298 (since 5146)
|
Size: 1052
Comment: update content - w/ Matt, Sam (in progress)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 27: | Line 27: |
''You can add useful comments here'' |
.where `YourEventFilter` is the name of your function, `userdata` is is what was passed as '''userdata''' to [[SDL_DelEventWatch]]() and `event` is the event that triggered the callback. |
DRAFT |
SDL_DelEventWatch
Use this function to remove an event watch function added with SDL_AddEventWatch().
Syntax
void SDL_DelEventWatch(SDL_EventFilter filter,
void* userdata)
Function Parameters
filter |
the function to stop calling; see Remarks for details |
userdata |
a pointer to the event queue to stop watching |
Code Examples
You can add your code example here
Remarks
The function prototype for filter is:
int YourEventFilter(void* userdata,
SDL_Event* event)
where YourEventFilter is the name of your function, userdata is is what was passed as userdata to SDL_DelEventWatch() and event is the event that triggered the callback.
