Window-control facade for the renderer. Each method delegates to the
matching window.electronAPI channel exposed by the preload bridge,
which forwards an ipcRenderer.send to the main process.
The facade exists so component code never reaches into window.electronAPI
directly — making the surface easy to swap out in tests and future
platforms (e.g. a web build with a mocked bridge).
Type Declaration
maximize: ()=>void
Maximize the program window.
minimize: ()=>void
Minimize the program window.
quit: ()=>void
Close the program window and tear down the Flask backend.
Window-control facade for the renderer. Each method delegates to the matching
window.electronAPIchannel exposed by the preload bridge, which forwards anipcRenderer.sendto the main process.The facade exists so component code never reaches into
window.electronAPIdirectly — making the surface easy to swap out in tests and future platforms (e.g. a web build with a mocked bridge).