Theia API Documentation v1.75.0
    Preparing search index...

    Service for opening new secondary windows to contain widgets extracted from the application shell.

    The functionality provided by this service and its implementation is still under development. Use with caution.

    interface SecondaryWindowService {
        beforeWidgetRestore: Event<[Widget, Window]>;
        onWindowClosed: Event<Window>;
        onWindowLoaded: Event<Window>;
        onWindowOpened: Event<Window>;
        createSecondaryWindow(
            widget: ExtractableWidget,
            shell: ApplicationShell,
        ): undefined | Window | SecondaryWindow;
        focus(win: Window): void;
        getWindows(): Window[];
    }

    Implemented by

    Index

    Properties

    beforeWidgetRestore: Event<[Widget, Window]>
    onWindowClosed: Event<Window>
    onWindowLoaded: Event<Window>

    Emitted once a secondary window's final document has finished loading. Listeners can safely modify the window's document, unlike with onWindowOpened: at that point the window still shows the initial about:blank document, and anything added to it is discarded when the final document replaces it.

    onWindowOpened: Event<Window>

    Methods