Theia API Documentation v1.76.0
    Preparing search index...
    Index

    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 }> = ...
    initialWindow?: BrowserWindow

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

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

    Accessors

    Methods

    • Parameters

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

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

    • Experimental

      Returns the parsed launch options stored for the window with the given webContents id, or undefined for a cold-start window. Read from the per-window metadata channel, where the caller is identified by the IPC sender, so a window can only ever see its own options.

      Parameters

      • windowId: number

      Returns undefined | LaunchArguments

    • Parameters

      • event: { defaultPrevented: boolean; preventDefault: () => void }
      • _: string[]
      • cwd: string
      • originalArgv: string[]

      Returns Promise<void>