Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TheiaCoreAPI

Hierarchy

  • TheiaCoreAPI

Index

Methods

  • attachSecurityToken(endpoint: string): Promise<void>
  • close(): void
  • closePopup(handle: number): void
  • focusWindow(name: string): void
  • getSecurityToken(): string
  • getTitleBarStyleAtStartup(): Promise<string>
  • getZoomLevel(): Promise<number>
  • isFullScreen(): boolean
  • isFullScreenable(): boolean
  • isMaximized(): boolean
  • maximize(): void
  • minimize(): void
  • onData(handler: ((data: Uint8Array) => void)): Disposable
  • popup(menu: MenuDto[], x: number, y: number, onClosed: (() => void)): Promise<number>
  • readClipboard(): string
  • requestReload(): void
  • restart(): void
  • sendData(data: Uint8Array): void
  • setCloseRequestHandler(handler: ((reason: StopReason) => Promise<boolean>)): void
  • setMenu(menu: undefined | MenuDto[]): void
  • setMenuBarVisible(visible: boolean, windowName?: string): void
  • setSecondaryWindowCloseRequestHandler(windowName: string, handler: (() => Promise<boolean>)): void
  • setTitleBarStyle(style: string): void
  • setZoomLevel(desired: number): void
  • showItemInFolder(fsPath: string): void
  • toggleDevTools(): void
  • toggleFullScreen(): void
  • unMaximize(): void
  • writeClipboard(text: string): void