forked from zaaack/node-systray
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmenu.js
More file actions
36 lines (36 loc) · 687 Bytes
/
menu.js
File metadata and controls
36 lines (36 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module.exports = {
'icon': '',
'title': '标题',
'tooltip': 'Tips',
'items': [{
'title': 'aa',
'tooltip': 'bb',
'checked': true,
'enabled': true
}, {
'title': '<SEPARATOR>',
'tooltip': '',
'enabled': true
}, {
'title': 'aa2',
'tooltip': 'bb',
'checked': false,
'enabled': true,
'items': [{
'title': 'submenu 1',
'tooltip': 'this is submenu 1',
'checked': true,
'enabled': true
}, {
'title': 'submenu 2',
'tooltip': 'this is submenu 2',
'checked': true,
'enabled': true
}]
}, {
'title': 'Exit',
'tooltip': 'bb',
'checked': false,
'enabled': true
}]
}