Class ElectronMainApplication

Constructors

Properties

_backendPort: Deferred<number> = ...
_config: undefined | RequiredRecursive<Partial>
activeWindowStack: number[] = []
backendPort: Promise<number> = ...
customBackgroundColor?: string
didUseNativeWindowFrameOnStart: Map<number, boolean> = ...
electronSecurityToken: ElectronSecurityToken
electronSecurityTokenService: ElectronSecurityTokenService
electronStore: ElectronStore<{
    windowstate?: TheiaBrowserWindowOptions;
}> = ...

Type declaration

initialWindow?: BrowserWindow

Used to temporarily store the reference to an early created main window

isPortable: boolean = ...
restarting: boolean = false
useNativeWindowFrame: boolean = true
windows: Map<number, TheiaElectronWindow> = ...

Accessors

Methods

  • Parameters

    • initialWindowBounds: {
          height: number;
          width: number;
          x: number;
          y: number;
      }
      • height: number
      • width: number
      • x: number
      • y: number

    Returns Promise<{
        height: number;
        width: number;
        x: number;
        y: number;
    }>