MCPcopy Create free account
hub / github.com/material-shell/material-shell / setMonitor

Method setMonitor

src/layout/msWorkspace/msWorkspace.ts:654–661  ·  view source on GitHub ↗
(monitor: Main.Monitor)

Source from the content-addressed store, hash-verified

652 }
653
654 setMonitor(monitor: Main.Monitor) {
655 this.monitor = monitor;
656 this.monitorIsExternal =
657 monitor.index !== Main.layoutManager.primaryIndex;
658 this.msWindowList.forEach((msWindow) => {
659 msWindow.setMsWorkspace(this);
660 });
661 }
662}
663
664@registerGObjectClass

Callers 1

constructorMethod · 0.95

Calls 1

setMsWorkspaceMethod · 0.80

Tested by

no test coverage detected