Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-04-25 21:05:52
Size: 1052
Editor: SheenaSmith
Comment: update content - w/ Matt, Sam (in progress)
Revision 3 as of 2011-04-25 21:33:59
Size: 925
Editor: SheenaSmith
Comment: update content - w/ Matt, Sam (in progress)
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to remove an event watch function added with [[SDL_AddEventWatch]](). Use this function to remove an event watch callback added with [[SDL_AddEventWatch]]().
Line 17: Line 17:
||'''filter'''||the function to stop calling; see [[#Remarks|Remarks]] for details||
||'''userdata'''||^a pointer to the event queue to stop watching^||
||'''filter'''||the function originally passed to [[SDL_AddEventWatch]](); see [[#Remarks|Remarks]] for details||
||'''userdata'''||the pointer originally passed to [[SDL_AddEventWatch]]()||
Line 26: Line 26:
<<Include(SDL_SetEventFilter, , , from="Start Include here.", to="##End Include 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.
This function takes the same input as [[SDL_AddEventWatch]]() to identify and delete the corresponding callback.

DRAFT

SDL_DelEventWatch

Use this function to remove an event watch callback added with SDL_AddEventWatch().

Syntax

void SDL_DelEventWatch(SDL_EventFilter filter,
                       void*           userdata)

Function Parameters

filter

the function originally passed to SDL_AddEventWatch(); see Remarks for details

userdata

the pointer originally passed to SDL_AddEventWatch()

Code Examples

You can add your code example here

Remarks

This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding 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