addSettingMenu (window) {
    const { windowMenus } = this
    const menu = this._buildSettingMenu()
    windowMenus.set(window.id, menu)
  }
Add the settings menu to the given window.

@param {BrowserWindow} window The settings browser window.