Get a reference to data at self as a SDLWindowEvent

Require: is_window

Property definitions

sdl2 $ SDLEventBuffer :: to_window
	# Get a reference to data at `self` as a `SDLWindowEvent`
	#
	# Require: `is_window`
	fun to_window: SDLWindowEvent `{ return self; `}
lib/sdl2/events.nit:118,2--121,49