-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple5.par
64 lines (55 loc) · 1.36 KB
/
simple5.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
64
/* xxx */
/* 0.2.2 generic attributes:
for.button.font=Helvetica
sub.fcol="#336655"
sub.bcol=black
//*/
window @MyBigWindow "My fifth Window"
for.button.bcol="#ddccee"
{
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 {
button @but1 "Button 1"
button @but2 "Button 2"
button @but3 "Button 3"
}
rowLayout {
colLayout {
label "First column!"
button @but4 "press me"
}
colLayout {
label "Type stuff in here:"
textField @tf1 "abcd" cols=20
label "Or here:"
textArea @area xsize=20 ysize=5 "look at my textarea!"
}
colLayout {
label "Toppings:"
checkBox @mozzarella "Mozzarella"
checkBox @cheddar "Cheddar"
checkBox @anchovies "Anchovies"
checkBox @pepperoni "Pepperoni"
checkBox @pineapple "Pineapple"
label "Size:"
radioButton @s7rb "7 inches"
radioButton @s10rb "10 inches"
radioButton @s12rb "12 inches"
}
}
}