MCPcopy
hub / github.com/ZToolsCenter/ZTools / notifyBackToSearch

Method notifyBackToSearch

src/main/managers/windowManager.ts:123–125  ·  view source on GitHub ↗

* 通知渲染进程返回搜索页面

()

Source from the content-addressed store, hash-verified

121 * 通知渲染进程返回搜索页面
122 */
123 public notifyBackToSearch(): void {
124 this.mainWindow?.webContents.send('back-to-search')
125 }
126
127 private isLeftMouseButton(button: unknown): boolean {
128 return Number(button) === 1

Callers 10

backToSearchMethod · 0.95
showSettingsMethod · 0.95
openPluginInstallerMethod · 0.95
killCurrentPluginMethod · 0.80
handlePluginEscMethod · 0.80
detachCurrentPluginMethod · 0.80
setupIPCMethod · 0.80
toSearchPageMethod · 0.80
killPluginAndReturnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected