MCPcopy
hub / github.com/marktext/marktext / get

Method get

packages/desktop/src/main/app/windowManager.ts:145–148  ·  view source on GitHub ↗

* Return the application window by id.

(windowId: number | null)

Source from the content-addressed store, hash-verified

143 * Return the application window by id.
144 */
145 get(windowId: number | null): BaseWindow | undefined {
146 if (windowId == null) return undefined
147 return this._windows.get(windowId)
148 }
149
150 /**
151 * Return the BrowserWindow by id.

Callers 15

getBrowserWindowMethod · 0.95
removeMethod · 0.95
_listenForIpcMainMethod · 0.95
checkImageContentTypeFunction · 0.80
getPageTitleFunction · 0.80
loadRendererFunction · 0.80
_updateMatchesMethod · 0.80
transformFootnotesFunction · 0.80
stableSlugFunction · 0.80
imageFunction · 0.80
inlineMathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected