-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple2.par
65 lines (59 loc) · 1.44 KB
/
simple2.par
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
window @MyWindow "My second Window" {
menuBar {
menu "File" {
menuItem @New "New"
menuItem @Open "Open..."
menuItem @Save "Save"
menuItem @SaveAs "Save as..."
menuItem @Exit "Exit"
}
menu "Edit" {
menuItem @Copy "Copy"
menuItem @Cut "Cut"
menuItem @Paste "Paste"
}
menu "Help" {
menuItem @About "About..."
menuItem @GettingStarted "Getting started"
menuItem @Reference "Reference manual"
}
}
rowLayout {
colLayout {
label "First column!"
button @PressMe "press me"
}
colLayout {
button "Button 1"
button "Button 2"
button "Button 3"
button "Button 4"
button "Button 5"
}
colLayout {
label "Type stuff in here:"
textField "abcd" cols=20
rowLayout {
button "Button 6"
button "Button 7"
button "Button 8"
}
checkBox @check1 "really do it?"
}
colLayout {
label "Which units:"
radioButton @inchRB "inches"
radioButton @feetRB "feet"
radioButton @yardRB "yards"
radioButton @mileRB "miles"
}
table {
tr { td { checkBox "Apple" }
td { checkBox "Pear" }
}
tr { td { checkBox "Banana" }
td { checkBox "Orange" }
}
}
}
}