MCPcopy Create free account
hub / github.com/chieapp/chie / #createAppTraySetting

Method #createAppTraySetting

src/view/settings-window.ts:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 #createAppTraySetting() {
59 const checkbox = gui.Button.create({
60 type: 'checkbox',
61 title: 'Show Tray Icon',
62 });
63 checkbox.setChecked(!!app.tray);
64 checkbox.onClick = () => app.setHasTray(!app.tray);
65 return checkbox;
66 }
67
68 #createDockIconSetting() {
69 const checkbox = gui.Button.create({

Callers 1

constructorMethod · 0.95

Calls 1

setHasTrayMethod · 0.80

Tested by

no test coverage detected