MCPcopy Create free account
hub / github.com/ZToolsCenter/ZTools / getMainWindow

Method getMainWindow

src/main/managers/windowManager.ts:621–623  ·  view source on GitHub ↗

* 获取主窗口实例

()

Source from the content-addressed store, hash-verified

619 * 获取主窗口实例
620 */
621 public getMainWindow(): BrowserWindow | null {
622 return this.mainWindow
623 }
624
625 /**
626 * 判断是否为双击修饰键快捷键(如 "Ctrl+Ctrl"

Callers 9

handleBallClickMethod · 0.80
handleBallDoubleClickMethod · 0.80
handleFileDropMethod · 0.80
handleShowWindowMethod · 0.80
handleToggleWindowMethod · 0.80
isDetachedWindowCallMethod · 0.80
notifyPluginsChangedMethod · 0.80
notifyCommandsChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected