MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / openMenu

Method openMenu

src/main/menu-manager.ts:106–108  ·  view source on GitHub ↗
(name: MenuActionType)

Source from the content-addressed store, hash-verified

104 }
105
106 openMenu(name: MenuActionType) {
107 this.getMenu(name).popup({});
108 }
109
110 init() {
111 this.tray = this.tray ? this.tray : new Tray(env.trayIconPath);

Callers 1

constructorMethod · 0.95

Calls 1

getMenuMethod · 0.95

Tested by

no test coverage detected