Programmer's Guide > Interfaces > Window interface > parent attribute
  
parent attribute
The parent Window of this frame if it is a child window. If the window object is a top level window, this value is null. The parent attribute can only be set before the window is displayed.
parent
Access
read-write
Returns
Window