get-top-level-window in editor:basic<%>

Returns the top-level-window<%> currently associated with this buffer.

This does not work for embedded editors.