Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-16 18:12:11
Size: 903
Editor: SheenaSmith
Comment: create page - 2/15 changeset 5298 (since 5146)
Revision 2 as of 2011-04-25 21:05:52
Size: 1052
Editor: SheenaSmith
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.


CategoryAPI, CategoryEvents

None: SDL_DelEventWatch (last edited 2011-11-07 01:19:18 by SheenaSmith)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit