Mojo app windowevent new mojo:mojo.app.WindowEvent.New Method New:Void( type:EventType,window:Window )# Creates a new window event.