Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun fromBrowserView(browserView: BrowserView): BrowserWindow?

The window that owns the given browserView. If the given view is not attached to any window, returns null.

Link copied to clipboard
external fun fromId(id: Double): BrowserWindow?

The window with the given id.

Link copied to clipboard
external fun fromWebContents(webContents: WebContents): BrowserWindow?

The window that owns the given webContents or null if the contents are not owned by a window.

Link copied to clipboard

An array of all opened browser windows.

Link copied to clipboard

The window that is focused in this application, otherwise returns null.