Function Window.windowRect

returns window rectangle on screen (includes window frame and title)

Rect windowRect() @property;