// AddEventWatch adds a callback to be triggered when an event is added to the event queue.
// (https://wiki.libsdl.org/SDL_AddEventWatch)
AddEventWatch adds a callback to be triggered when an event is added to the event queue.
// AddEventWatch adds a callback to be triggered when an event is added to the event queue . // ( https : // wiki . libsdl . org / SDL_AddEventWatch )
func AddEventWatch(filter EventFilter, userdata interface{}) EventWatchHandle {
	context := newEventFilterCallbackContext(filter, userdata)
	C.addEventWatch(context.cptr())
	return context.handle
}
func AddEventWatch ( filter EventFilter , userdata interface { } ) EventWatchHandle { context := newEventFilterCallbackContext ( filter , userdata ) C . addEventWatch ( context . cptr ( ) ) return context . handle }
AddEventWatch adds a callback to be triggered when an event is added to the event queue.
AddEventWatch adds a callback to be triggered when an event is added to the event queue .