Returns the window associated with the event. For mouse and keyboard events, the location of the mouse uses the coordiate system of this window.