Interface TheiaBrowserWindowOptions

Theia tracks the maximized state of Electron Browser Windows.

interface TheiaBrowserWindowOptions {
    isFullScreen?: boolean;
    isMaximized?: boolean;
    preventAutomaticShow?: boolean;
    screenLayout?: string;
}

Hierarchy

  • BrowserWindowConstructorOptions
    • TheiaBrowserWindowOptions

Properties

isFullScreen?: boolean
isMaximized?: boolean
preventAutomaticShow?: boolean

By default, the window will be shown as soon as the content is ready to render. This can be prevented by handing over preventAutomaticShow: true. Use this for fine-grained control over when to show the window, e.g. to coordinate with a splash screen.

screenLayout?: string

Represents the complete screen layout for all available displays. This field is used to determine if the layout was updated since the electron window was last opened, in which case we want to invalidate the stored options and use the default options instead.