getMainWindow
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / main/state/appState / getMainWindow
Function: getMainWindow()
getMainWindow():
MainAppStateWindowLike|null
Defined in: main/state/appState.ts:116
Returns the BrowserWindow tracked by the main process.
Returnsβ
MainAppStateWindowLike | null
Current main window, or null when none has been stored.