(js)
|
open fun addListener(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun addListener(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow |
(js)
|
open fun addTabbedWindow(browserWindow: BrowserWindow): Unit |
(js)
|
open fun blur(): Unit |
(js)
|
open fun blurWebView(): Unit |
(js)
|
open fun capturePage(callback: (image: NativeImage) -> Unit): Unit
open fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit |
(js)
|
open fun center(): Unit |
(js)
|
open fun close(): Unit |
(js)
|
open fun closeFilePreview(): Unit |
(js)
|
open fun destroy(): Unit |
(js)
|
open fun flashFrame(flag: Boolean): Unit |
(js)
|
open fun focus(): Unit |
(js)
|
open fun focusOnWebView(): Unit |
(js)
|
open fun getBounds(): Rectangle |
(js)
|
open fun getBrowserView(): BrowserView? |
(js)
|
open fun getChildWindows(): Array<BrowserWindow> |
(js)
|
open fun getContentBounds(): Rectangle |
(js)
|
open fun getContentSize(): Array<Number> |
(js)
|
open fun getMaximumSize(): Array<Number> |
(js)
|
open fun getMinimumSize(): Array<Number> |
(js)
|
open fun getNativeWindowHandle(): Buffer |
(js)
|
open fun getOpacity(): Number |
(js)
|
open fun getParentWindow(): BrowserWindow |
(js)
|
open fun getPosition(): Array<Number> |
(js)
|
open fun getRepresentedFilename(): String |
(js)
|
open fun getSize(): Array<Number> |
(js)
|
open fun getTitle(): String |
(js)
|
open fun hasShadow(): Boolean |
(js)
|
open fun hide(): Unit |
(js)
|
open fun hookWindowMessage(message: Number, callback: Function<*>): Unit |
(js)
|
open fun isAlwaysOnTop(): Boolean |
(js)
|
open fun isClosable(): Boolean |
(js)
|
open fun isDestroyed(): Boolean |
(js)
|
open fun isDocumentEdited(): Boolean |
(js)
|
open fun isFocused(): Boolean |
(js)
|
open fun isFullScreen(): Boolean |
(js)
|
open fun isFullScreenable(): Boolean |
(js)
|
open fun isKiosk(): Boolean |
(js)
|
open fun isMaximizable(): Boolean |
(js)
|
open fun isMaximized(): Boolean |
(js)
|
open fun isMenuBarAutoHide(): Boolean |
(js)
|
open fun isMenuBarVisible(): Boolean |
(js)
|
open fun isMinimizable(): Boolean |
(js)
|
open fun isMinimized(): Boolean |
(js)
|
open fun isModal(): Boolean |
(js)
|
open fun isMovable(): Boolean |
(js)
|
open fun isResizable(): Boolean |
(js)
|
open fun isSimpleFullScreen(): Boolean |
(js)
|
open fun isVisible(): Boolean |
(js)
|
open fun isVisibleOnAllWorkspaces(): Boolean |
(js)
|
open fun isWindowMessageHooked(message: Number): Boolean |
(js)
|
open fun loadFile(filePath: String): Unit |
(js)
|
open fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit |
(js)
|
open fun maximize(): Unit |
(js)
|
open fun mergeAllWindows(): Unit |
(js)
|
open fun minimize(): Unit |
(js)
|
open fun moveTabToNewWindow(): Unit |
(js)
|
open fun on(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun on(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun on(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow |
(js)
|
open fun once(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun once(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun once(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow |
(js)
|
open fun previewFile(path: String, displayName: String? = definedExternally): Unit |
(js)
|
open fun reload(): Unit |
(js)
|
open fun removeListener(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow |
(js)
|
open fun restore(): Unit |
(js)
|
open fun selectNextTab(): Unit |
(js)
|
open fun selectPreviousTab(): Unit |
(js)
|
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean): Unit |
(js)
|
open fun setAppDetails(options: AppDetailsOptions): Unit |
(js)
|
open fun setAspectRatio(aspectRatio: Number, : Size): Unit |
(js)
|
open fun setAutoHideCursor(autoHide: Boolean): Unit |
(js)
|
open fun setAutoHideMenuBar(: Boolean): Unit |
(js)
|
open fun setBounds(bounds: Rectangle, animate: Boolean? = definedExternally): Unit |
(js)
|
open fun setBrowserView(browserView: BrowserView): Unit |
(js)
|
open fun setClosable(closable: Boolean): Unit |
(js)
|
open fun setContentBounds(bounds: Rectangle, animate: Boolean? = definedExternally): Unit |
(js)
|
open fun setContentProtection(enable: Boolean): Unit |
(js)
|
open fun setContentSize(width: Number, height: Number, animate: Boolean? = definedExternally): Unit |
(js)
|
open fun setDocumentEdited(edited: Boolean): Unit |
(js)
|
open fun setEnabled(enable: Boolean): Unit |
(js)
|
open fun setFocusable(focusable: Boolean): Unit |
(js)
|
open fun setFullScreen(flag: Boolean): Unit |
(js)
|
open fun setFullScreenable(fullscreenable: Boolean): Unit |
(js)
|
open fun setHasShadow(hasShadow: Boolean): Unit |
(js)
|
open fun setIcon(icon: NativeImage): Unit |
(js)
|
open fun setIgnoreMouseEvents(ignore: Boolean, options: IgnoreMouseEventsOptions? = definedExternally): Unit |
(js)
|
open fun setKiosk(flag: Boolean): Unit |
(js)
|
open fun setMaximizable(maximizable: Boolean): Unit |
(js)
|
open fun setMaximumSize(width: Number, height: Number): Unit |
(js)
|
open fun setMenu(: Menu?): Unit |
(js)
|
open fun setMenuBarVisibility(: Boolean): Unit |
(js)
|
open fun setMinimizable(minimizable: Boolean): Unit |
(js)
|
open fun setMinimumSize(width: Number, height: Number): Unit |
(js)
|
open fun setMovable(movable: Boolean): Unit |
(js)
|
open fun setOpacity(opacity: Number): Unit |
(js)
|
open fun setOverlayIcon(overlay: NativeImage, description: String): Unit |
(js)
|
open fun setParentWindow(parent: BrowserWindow): Unit |
(js)
|
open fun setPosition(x: Number, y: Number, animate: Boolean? = definedExternally): Unit |
(js)
|
open fun setProgressBar(progress: Number, options: ProgressBarOptions? = definedExternally): Unit |
(js)
|
open fun setRepresentedFilename(filename: String): Unit |
(js)
|
open fun setResizable(resizable: Boolean): Unit |
(js)
|
open fun setSheetOffset(offsetY: Number, offsetX: Number? = definedExternally): Unit |
(js)
|
open fun setSimpleFullScreen(flag: Boolean): Unit |
(js)
|
open fun setSize(width: Number, height: Number, animate: Boolean? = definedExternally): Unit |
(js)
|
open fun setSkipTaskbar(skip: Boolean): Unit |
(js)
|
open fun setThumbarButtons(buttons: Array<ThumbarButton>): Boolean |
(js)
|
open fun setThumbnailClip(region: Rectangle): Unit |
(js)
|
open fun setThumbnailToolTip(toolTip: String): Unit |
(js)
|
open fun setTitle(title: String): Unit |
(js)
|
open fun setTouchBar(touchBar: TouchBar): Unit |
(js)
|
open fun setVibrancy(type: String): Unit |
(js)
|
open fun setVisibleOnAllWorkspaces(visible: Boolean): Unit |
(js)
|
open fun show(): Unit |
(js)
|
open fun showDefinitionForSelection(): Unit |
(js)
|
open fun showInactive(): Unit |
(js)
|
open fun toggleTabBar(): Unit |
(js)
|
open fun unhookAllWindowMessages(): Unit |
(js)
|
open fun unhookWindowMessage(message: Number): Unit |
(js)
|
open fun unmaximize(): Unit |