@launchmenu/core
Version:
An environment for visual keyboard controlled applets
28 lines • 957 B
TypeScript
import { BrowserWindow } from "electron";
import { IApplicationConfig } from "./_types/IApplicationConfig";
export declare class WindowController {
protected window: BrowserWindow;
protected config: IApplicationConfig;
/** A promise that resolves once the window has been opened at least once */
shown: Promise<void>;
/** A promise that resolves once the window has been opened at least once */
started: Promise<void>;
/**
* Creates a new window manager
* @param config The configuration for the application
*/
constructor(config: IApplicationConfig);
/**
* Shares the configuration data with the window
*/
protected initWindowConfig(): void;
/**
* Shows the LM window
*/
show(): void;
/**
* Destroy the window manager and the window(s) it is managing
*/
destroy(): Promise<void>;
}
//# sourceMappingURL=WindowController.d.ts.map