blob: 2f1e105f6beb7e5f6612c8a01af68afaba036b3a (
plain)
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
37
38
39
40
|
<?xml version="1.0"?>
<interface>
<menu id="appmenu">
<section>
<item label="_New" action="app.new" accel="<Primary>n"/>
<item label="_Open" action="app.open"/>
<item label="_Save" action="app.save" accel="<Primary>s"/>
<item label="Save _As..." action="app.save-as" accel="<Primary>s"/>
</section>
<section>
<item label="_Quit" action="app.quit" accel="<Primary>q"/>
</section>
</menu>
<menu id="menubar">
<submenu label="_Preferences">
<section>
<item label="_Prefer Dark Theme" action="app.dark"/>
<item label="_Hide Titlebar when maximized" action="win.titlebar"/>
<submenu label="_Color">
<section>
<item label="_Red" action="app.color" target="red" accel="<Primary>r"/>
<item label="_Green" action="app.color" target="green" accel="<Primary>g"/>
<item label="_Blue" action="app.color" target="blue" accel="<Primary>b"/>
</section>
</submenu>
<submenu label="_Shape">
<section>
<item label="_Square" action="win.shape" target="square" accel="<Primary>s"/>
<item label="_Rectangle" action="win.shape" target="rectangle" accel="<Primary>r"/>
<item label="_Oval" action="win.shape" target="oval" accel="<Primary>o"/>
</section>
</submenu>
<item label="_Bold" action="win.bold" accel="<Primary>b"/>
</section>
</submenu>
<submenu label="_Help">
<item label="_About" action="win.about" accel="<Primary>a"/>
</submenu>
</menu>
</interface>
|