Application.RemoveWindow -- detach window object from application object
Synopsis
moai.DoMethod(id, "RemoveWindow", window)
Function
This method removes the specified window object from the application object and
puts the window object in detached state. Window objects in detached state can
either be reattached by running the Application.AddWindow method or
can be freed by calling moai.FreeObject().