put a view from the window