Debian Codegraph @

modules/FvwmScript/Scripts/FvwmScript-WidgetDemo

raw
1 WindowTitle {FvwmScript Widgets}
2 WindowSize 150 610
3 WindowPosition 0 170
4 ForeColor {pink}
5 BackColor {navy}
6 ShadowColor {black}
7 HilightColor {grey}
8 Colorset 0
9
10 Widget 1
11 Property
12 Position 10 30 # leave space at top for menu
13 Type CheckBox
14 Title {CheckBox1}
15 ForeColor {navy}
16 BackColor {grey}
17 ShadowColor {DarkGray}
18 HilightColor {white}
19 Colorset 1
20 End
21
22 Widget 99
23 Property
24 Position 10 50
25 Type CheckBox
26 Title {CheckBox2}
27 ForeColor {navy}
28 BackColor {grey}
29 ShadowColor {DarkGray}
30 HilightColor {white}
31 Colorset 1
32 End
33
34 Widget 2
35 Property
36 Size 80 20
37 Position 10 70
38 Type HDipstick
39 Title {HDipstick}
40 ForeColor {navy}
41 BackColor {grey}
42 ShadowColor {DarkGray}
43 HilightColor {white}
44 Value 50
45 MinValue 1
46 MaxValue 100
47 Colorset 2
48 End
49
50 Widget 3
51 Property
52 Size 48 0
53 Position 10 100
54 Type HScrollBar
55 Title {HScrollBar}
56 ForeColor {navy}
57 BackColor {grey}
58 ShadowColor {DarkGray}
59 HilightColor {white}
60 Colorset 3
61 End
62
63 Widget 4
64 Property
65 Size 80 20
66 Position 10 160
67 Type ItemDraw
68 Icon fred.xpm
69 ForeColor {navy}
70 BackColor {grey}
71 ShadowColor {DarkGray}
72 HilightColor {white}
73 Colorset 4
74 End
75
76 Widget 5
77 Property
78 Size 80 20
79 Position 10 200
80 Type List
81 Title {List|Choice 1|Choice 2|Choice 3|Choice 4}
82 ForeColor {navy}
83 BackColor {grey}
84 ShadowColor {DarkGray}
85 HilightColor {white}
86 Colorset 5
87 End
88
89 Widget 6
90 Property
91 Position 10000 10000
92 Type Menu
93 Title {Menu1|Choice 1|Choice 2|Choice 3}
94 ForeColor {navy}
95 BackColor {grey}
96 ShadowColor {DarkGray}
97 HilightColor {white}
98 Colorset 0
99 End
100
101 Widget 60
102 Property
103 Position 1000000 10000
104 Type Menu
105 Title {Menu2|Choice 1|Choice 2|Choice 3}
106 ForeColor {navy}
107 BackColor {grey}
108 ShadowColor {DarkGray}
109 HilightColor {white}
110 Colorset 0
111 End
112
113 Widget 7
114 Property
115 Position 10 270
116 Type MiniScroll
117 Title {MiniScroll}
118 ForeColor {navy}
119 BackColor {grey}
120 ShadowColor {DarkGray}
121 HilightColor {white}
122 Colorset 7
123 End
124
125 Widget 8
126 Property
127 Size 80 20
128 Position 10 310
129 Type PopupMenu
130 Title {PopupMenu|Choice 1|Choice 2|Choice 3}
131 ForeColor {navy}
132 BackColor {grey}
133 ShadowColor {DarkGray}
134 HilightColor {white}
135 Colorset 8
136 End
137
138 Widget 9
139 Property
140 Size 80 20
141 Position 10 340
142 Type PushButton
143 Title {PushButton|Choice 1|Choice 2|Choice 3}
144 ForeColor {navy}
145 BackColor {grey}
146 ShadowColor {DarkGray}
147 HilightColor {white}
148 Colorset 9
149 End
150
151 Widget 10
152 Property
153 Size 80 20
154 Position 10 370
155 Type RadioButton
156 Title {RadioButton}
157 ForeColor {navy}
158 BackColor {grey}
159 ShadowColor {DarkGray}
160 HilightColor {white}
161 Colorset 10
162 Main
163 Case message of
164 SingleClic :
165 Begin
166 ChangeValue 80 0
167 ChangeValue 2 20
168 End
169 End
170
171 Widget 80
172 Property
173 Size 80 20
174 Position 10 390
175 Type RadioButton
176 Value 1
177 Title {RadioButton}
178 ForeColor {navy}
179 BackColor {grey}
180 ShadowColor {DarkGray}
181 HilightColor {white}
182 Colorset 10
183 Main
184 Case message of
185 SingleClic :
186 Begin
187 ChangeValue 10 0
188 ChangeValue 2 80
189 End
190 End
191
192 Widget 11
193 Property
194 Size 80 20
195 Position 10 410
196 Type Rectangle
197 Title {Rectangle}
198 ForeColor {navy}
199 BackColor {grey}
200 ShadowColor {DarkGray}
201 HilightColor {white}
202 Colorset 11
203 End
204
205 Widget 12
206 Property
207 Size 80 20
208 Position 10 440
209 Type SwallowExec
210 Title {SwallowExec}
211 SwallowExec {Exec xclock -name SwallowExec}
212 ForeColor {navy}
213 BackColor {grey}
214 ShadowColor {DarkGray}
215 HilightColor {white}
216 Colorset 12
217 Value 1
218 End
219
220 Widget 13
221 Property
222 Size 80 20
223 Position 10 480
224 Type TextField
225 Title {TextField}
226 ForeColor {navy}
227 BackColor {grey}
228 ShadowColor {DarkGray}
229 HilightColor {white}
230 Colorset 13
231 End
232
233 Widget 14
234 Property
235 Size 80 20
236 Position 10 510
237 Type VDipstick
238 Title {VDipstick}
239 ForeColor {navy}
240 BackColor {grey}
241 ShadowColor {DarkGray}
242 HilightColor {white}
243 Value 40
244 MinValue 0
245 MaxValue 80
246 Colorset 14
247 End
248
249 Widget 15
250 Property
251 Size 0 10
252 Position 10 550
253 Type VScrollBar
254 Title {VScrollBar}
255 ForeColor {navy}
256 BackColor {grey}
257 ShadowColor {DarkGray}
258 HilightColor {white}
259 Colorset 15
260 End