-
Notifications
You must be signed in to change notification settings - Fork 0
/
simperr.par
60 lines (52 loc) · 1.3 KB
/
simperr.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
/* simperr.par
===========
A Parrot file with errors in it, to test error handling
(of course).
by P.Hunt, 11-Sep-1999
*/
window @MyBigWindow "My fifth Window" {
menuBar {
menu "File" {
menuItem @New "New"
menuItem @Open "Open..."
menuItem @Save "Save"
}
menu "Edit" {
menuItem @Copy "Copy"
menuItem @Cut "Cut"
menuItem @Paste "Paste"
}
menu "Help" {
menuItem @About "About..."
menuItem @GettingStarted "Getting started"
}
}
rowLayout @row1 {
button @but1 = "Button 1"
button @but2 "Button 2"
button @but3 "Button 3"
}
rowLayout @row2 {
colLayout @col1 {
label @lab1 "First column!"
button @but4 "press me"
}
colLayout @col2 {
label @lab2 "Type stuff in here:"
textField @tf1 "abcd" cols=20
}
colLayout @col3 {
label @lab3 "Toppings:"
checkBox @cb1 "Mozzarella"
checkBox @cb1 "Cheddar"
checkBox @cb1 "Anchovies"
checkBox @cb1 "Pepperoni"
checkBox @cb1 "Pineapple"
label @lab4 "Size:"
radioButton @s7rb "7 inches"
radioButton @s10rb "10 inches"
radioButton @s12rb "12 inches"
}
}
}
/* end simperr.par */