MCPcopy Create free account
hub / github.com/chieapp/chie / registerNamedWindow

Method registerNamedWindow

src/controller/window-manager.ts:64–68  ·  view source on GitHub ↗
(name: string, windowType: NamedWindowType)

Source from the content-addressed store, hash-verified

62 }
63
64 registerNamedWindow(name: string, windowType: NamedWindowType) {
65 if (name in this.#registeredWindows)
66 throw new Error(`Window name "${name}" has already been registered.`);
67 this.#registeredWindows[name] = windowType;
68 }
69
70 getNamedWindow(name: string) {
71 return this.#namedWindows.getWindow(name);

Callers 1

guiMainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected