kvision / pl.treksoft.kvision.electron / BrowserWindowConstructorOptions

BrowserWindowConstructorOptions

external interface BrowserWindowConstructorOptions

Properties

acceptFirstMouse

open var acceptFirstMouse: Boolean?

alwaysOnTop

open var alwaysOnTop: Boolean?

autoHideMenuBar

open var autoHideMenuBar: Boolean?

backgroundColor

open var backgroundColor: String?

center

open var center: Boolean?

closable

open var closable: Boolean?

darkTheme

open var darkTheme: Boolean?

disableAutoHideCursor

open var disableAutoHideCursor: Boolean?

enableLargerThanScreen

open var enableLargerThanScreen: Boolean?

focusable

open var focusable: Boolean?

frame

open var frame: Boolean?

fullscreen

open var fullscreen: Boolean?

fullscreenable

open var fullscreenable: Boolean?

fullscreenWindowTitle

open var fullscreenWindowTitle: Boolean?

hasShadow

open var hasShadow: Boolean?

height

open var height: Number?

icon

open var icon: dynamic

kiosk

open var kiosk: Boolean?

maxHeight

open var maxHeight: Number?

maximizable

open var maximizable: Boolean?

maxWidth

open var maxWidth: Number?

minHeight

open var minHeight: Number?

minimizable

open var minimizable: Boolean?

minWidth

open var minWidth: Number?

modal

open var modal: Boolean?

movable

open var movable: Boolean?

opacity

open var opacity: Number?

parent

open var parent: BrowserWindow?

resizable

open var resizable: Boolean?

show

open var show: Boolean?

simpleFullscreen

open var simpleFullscreen: Boolean?

skipTaskbar

open var skipTaskbar: Boolean?

tabbingIdentifier

open var tabbingIdentifier: String?

thickFrame

open var thickFrame: Boolean?

title

open var title: String?

titleBarStyle

open var titleBarStyle: dynamic

transparent

open var transparent: Boolean?

type

open var type: String?

useContentSize

open var useContentSize: Boolean?

vibrancy

open var vibrancy: dynamic

webPreferences

open var webPreferences: WebPreferences?

width

open var width: Number?

x

open var x: Number?

y

open var y: Number?

zoomToPageWidth

open var zoomToPageWidth: Boolean?

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.