MCPcopy Index your code
hub / github.com/21st-dev/1code / getWindow

Function getWindow

src/main/windows/main.ts:578–580  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576 * Used by tRPC procedures that need window access
577 */
578export function getWindow(): BrowserWindow | null {
579 return windowManager.getFocused()
580}
581
582/**
583 * Get all windows

Callers 1

buildMenuFunction · 0.90

Calls 1

getFocusedMethod · 0.80

Tested by

no test coverage detected