1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <requires lib=
"gtk+" version=
"2.16"/>
4 <!-- interface-naming-policy toplevel-contextual -->
5 <object class=
"GtkWindow" id=
"window1">
7 <object class=
"GtkTable" id=
"button_panel">
8 <property name=
"visible">True
</property>
9 <property name=
"n_rows">4</property>
10 <property name=
"n_columns">6</property>
11 <property name=
"homogeneous">True
</property>
13 <object class=
"GtkButton" id=
"calc_4_button">
14 <property name=
"label">4</property>
15 <property name=
"visible">True
</property>
16 <property name=
"can_focus">True
</property>
17 <property name=
"receives_default">False
</property>
18 <property name=
"use_underline">True
</property>
19 <property name=
"focus_on_click">False
</property>
22 <property name=
"top_attach">1</property>
23 <property name=
"bottom_attach">2</property>
24 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
25 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
29 <object class=
"GtkButton" id=
"calc_7_button">
30 <property name=
"label">7</property>
31 <property name=
"visible">True
</property>
32 <property name=
"can_focus">True
</property>
33 <property name=
"receives_default">False
</property>
34 <property name=
"use_underline">True
</property>
35 <property name=
"focus_on_click">False
</property>
38 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
39 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
43 <object class=
"GtkButton" id=
"calc_8_button">
44 <property name=
"label">8</property>
45 <property name=
"visible">True
</property>
46 <property name=
"can_focus">True
</property>
47 <property name=
"receives_default">False
</property>
48 <property name=
"use_underline">True
</property>
49 <property name=
"focus_on_click">False
</property>
52 <property name=
"left_attach">1</property>
53 <property name=
"right_attach">2</property>
54 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
55 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
59 <object class=
"GtkButton" id=
"calc_9_button">
60 <property name=
"label">9</property>
61 <property name=
"visible">True
</property>
62 <property name=
"can_focus">True
</property>
63 <property name=
"receives_default">False
</property>
64 <property name=
"use_underline">True
</property>
65 <property name=
"focus_on_click">False
</property>
68 <property name=
"left_attach">2</property>
69 <property name=
"right_attach">3</property>
70 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
71 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
75 <object class=
"GtkButton" id=
"calc_5_button">
76 <property name=
"label">5</property>
77 <property name=
"visible">True
</property>
78 <property name=
"can_focus">True
</property>
79 <property name=
"receives_default">False
</property>
80 <property name=
"use_underline">True
</property>
81 <property name=
"focus_on_click">False
</property>
84 <property name=
"left_attach">1</property>
85 <property name=
"right_attach">2</property>
86 <property name=
"top_attach">1</property>
87 <property name=
"bottom_attach">2</property>
88 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
89 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
93 <object class=
"GtkButton" id=
"calc_6_button">
94 <property name=
"label">6</property>
95 <property name=
"visible">True
</property>
96 <property name=
"can_focus">True
</property>
97 <property name=
"receives_default">False
</property>
98 <property name=
"use_underline">True
</property>
99 <property name=
"focus_on_click">False
</property>
102 <property name=
"left_attach">2</property>
103 <property name=
"right_attach">3</property>
104 <property name=
"top_attach">1</property>
105 <property name=
"bottom_attach">2</property>
106 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
107 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
111 <object class=
"GtkButton" id=
"calc_divide_button">
112 <property name=
"label">÷
</property>
113 <property name=
"visible">True
</property>
114 <property name=
"can_focus">True
</property>
115 <property name=
"receives_default">False
</property>
116 <property name=
"use_underline">True
</property>
117 <property name=
"focus_on_click">False
</property>
120 <property name=
"left_attach">3</property>
121 <property name=
"right_attach">4</property>
122 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
123 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
127 <object class=
"GtkButton" id=
"calc_1_button">
128 <property name=
"label">1</property>
129 <property name=
"visible">True
</property>
130 <property name=
"can_focus">True
</property>
131 <property name=
"receives_default">False
</property>
132 <property name=
"use_underline">True
</property>
133 <property name=
"focus_on_click">False
</property>
136 <property name=
"top_attach">2</property>
137 <property name=
"bottom_attach">3</property>
138 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
139 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
143 <object class=
"GtkButton" id=
"calc_2_button">
144 <property name=
"label">2</property>
145 <property name=
"visible">True
</property>
146 <property name=
"can_focus">True
</property>
147 <property name=
"receives_default">False
</property>
148 <property name=
"use_underline">True
</property>
149 <property name=
"focus_on_click">False
</property>
152 <property name=
"left_attach">1</property>
153 <property name=
"right_attach">2</property>
154 <property name=
"top_attach">2</property>
155 <property name=
"bottom_attach">3</property>
156 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
157 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
161 <object class=
"GtkButton" id=
"calc_0_button">
162 <property name=
"label">0</property>
163 <property name=
"width_request">50</property>
164 <property name=
"visible">True
</property>
165 <property name=
"can_focus">True
</property>
166 <property name=
"receives_default">False
</property>
167 <property name=
"use_underline">True
</property>
168 <property name=
"focus_on_click">False
</property>
171 <property name=
"top_attach">3</property>
172 <property name=
"bottom_attach">4</property>
173 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
174 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
178 <object class=
"GtkButton" id=
"calc_numeric_point_button">
179 <property name=
"label" comments=
"Label is set in gtk.c to comply with LC flags">.
</property>
180 <property name=
"visible">True
</property>
181 <property name=
"can_focus">True
</property>
182 <property name=
"receives_default">False
</property>
183 <property name=
"use_underline">True
</property>
184 <property name=
"focus_on_click">False
</property>
187 <property name=
"left_attach">1</property>
188 <property name=
"right_attach">2</property>
189 <property name=
"top_attach">3</property>
190 <property name=
"bottom_attach">4</property>
191 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
192 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
196 <object class=
"GtkButton" id=
"calc_percentage_button">
197 <property name=
"label">%
</property>
198 <property name=
"visible">True
</property>
199 <property name=
"can_focus">True
</property>
200 <property name=
"receives_default">True
</property>
201 <property name=
"use_underline">True
</property>
202 <property name=
"focus_on_click">False
</property>
205 <property name=
"left_attach">2</property>
206 <property name=
"right_attach">3</property>
207 <property name=
"top_attach">3</property>
208 <property name=
"bottom_attach">4</property>
209 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
210 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
214 <object class=
"GtkButton" id=
"calc_3_button">
215 <property name=
"label">3</property>
216 <property name=
"visible">True
</property>
217 <property name=
"can_focus">True
</property>
218 <property name=
"receives_default">False
</property>
219 <property name=
"use_underline">True
</property>
220 <property name=
"focus_on_click">False
</property>
223 <property name=
"left_attach">2</property>
224 <property name=
"right_attach">3</property>
225 <property name=
"top_attach">2</property>
226 <property name=
"bottom_attach">3</property>
227 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
228 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
232 <object class=
"GtkButton" id=
"calc_multiply_button">
233 <property name=
"label">×
</property>
234 <property name=
"visible">True
</property>
235 <property name=
"can_focus">True
</property>
236 <property name=
"receives_default">False
</property>
237 <property name=
"use_underline">True
</property>
238 <property name=
"focus_on_click">False
</property>
241 <property name=
"left_attach">3</property>
242 <property name=
"right_attach">4</property>
243 <property name=
"top_attach">1</property>
244 <property name=
"bottom_attach">2</property>
245 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
246 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
250 <object class=
"GtkButton" id=
"calc_subtract_button">
251 <property name=
"label">−
</property>
252 <property name=
"visible">True
</property>
253 <property name=
"can_focus">True
</property>
254 <property name=
"receives_default">False
</property>
255 <property name=
"use_underline">True
</property>
256 <property name=
"focus_on_click">False
</property>
259 <property name=
"left_attach">3</property>
260 <property name=
"right_attach">4</property>
261 <property name=
"top_attach">2</property>
262 <property name=
"bottom_attach">3</property>
263 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
264 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
268 <object class=
"GtkButton" id=
"calc_add_button">
269 <property name=
"label">+
</property>
270 <property name=
"visible">True
</property>
271 <property name=
"can_focus">True
</property>
272 <property name=
"receives_default">False
</property>
273 <property name=
"use_underline">True
</property>
274 <property name=
"focus_on_click">False
</property>
277 <property name=
"left_attach">3</property>
278 <property name=
"right_attach">4</property>
279 <property name=
"top_attach">3</property>
280 <property name=
"bottom_attach">4</property>
281 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
282 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
286 <object class=
"GtkButton" id=
"calc_result_button">
287 <property name=
"label" translatable=
"yes" comments=
"Label on the solve button (clicking this solves the displayed calculation)">=
</property>
288 <property name=
"visible">True
</property>
289 <property name=
"can_focus">True
</property>
290 <property name=
"receives_default">False
</property>
291 <property name=
"use_underline">True
</property>
292 <property name=
"focus_on_click">False
</property>
295 <property name=
"left_attach">4</property>
296 <property name=
"right_attach">6</property>
297 <property name=
"top_attach">3</property>
298 <property name=
"bottom_attach">4</property>
299 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
300 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
304 <object class=
"GtkButton" id=
"calc_start_group_button">
305 <property name=
"label">(
</property>
306 <property name=
"visible">True
</property>
307 <property name=
"can_focus">True
</property>
308 <property name=
"receives_default">True
</property>
309 <property name=
"use_underline">True
</property>
310 <property name=
"focus_on_click">False
</property>
313 <property name=
"left_attach">4</property>
314 <property name=
"right_attach">5</property>
315 <property name=
"top_attach">1</property>
316 <property name=
"bottom_attach">2</property>
317 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
318 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
322 <object class=
"GtkButton" id=
"calc_end_group_button">
323 <property name=
"label">)
</property>
324 <property name=
"visible">True
</property>
325 <property name=
"can_focus">True
</property>
326 <property name=
"receives_default">True
</property>
327 <property name=
"use_underline">True
</property>
328 <property name=
"focus_on_click">False
</property>
331 <property name=
"left_attach">5</property>
332 <property name=
"right_attach">6</property>
333 <property name=
"top_attach">1</property>
334 <property name=
"bottom_attach">2</property>
335 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
336 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
340 <object class=
"GtkButton" id=
"calc_clear_button">
341 <property name=
"visible">True
</property>
342 <property name=
"can_focus">True
</property>
343 <property name=
"receives_default">True
</property>
344 <property name=
"use_underline">True
</property>
345 <property name=
"focus_on_click">False
</property>
347 <object class=
"GtkImage" id=
"image2">
348 <property name=
"visible">True
</property>
349 <property name=
"icon-name">edit-clear-symbolic
</property>
354 <property name=
"left_attach">5</property>
355 <property name=
"right_attach">6</property>
356 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
357 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
361 <object class=
"GtkButton" id=
"calc_square_root_button">
362 <property name=
"label">√
</property>
363 <property name=
"visible">True
</property>
364 <property name=
"can_focus">True
</property>
365 <property name=
"receives_default">True
</property>
366 <property name=
"use_underline">True
</property>
367 <property name=
"focus_on_click">False
</property>
370 <property name=
"left_attach">5</property>
371 <property name=
"right_attach">6</property>
372 <property name=
"top_attach">2</property>
373 <property name=
"bottom_attach">3</property>
374 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
375 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
379 <object class=
"GtkButton" id=
"calc_x_squared_button">
380 <property name=
"visible">True
</property>
381 <property name=
"can_focus">True
</property>
382 <property name=
"receives_default">True
</property>
383 <property name=
"focus_on_click">False
</property>
384 <child internal-child=
"accessible">
385 <object class=
"AtkObject" id=
"calc_x_squared_button-atkobject">
386 <property name=
"AtkObject::accessible-name" translatable=
"yes" comments=
"Accessible name for the exponentiation (x to the power of y) button">Exponent
</property>
390 <object class=
"GtkLabel" id=
"x_squared_label">
391 <property name=
"visible">True
</property>
392 <property name=
"label"><i
>x
</i
><sup
><i
>2</i
></sup
></property>
393 <property name=
"use_markup">True
</property>
398 <property name=
"left_attach">4</property>
399 <property name=
"right_attach">5</property>
400 <property name=
"top_attach">2</property>
401 <property name=
"bottom_attach">3</property>
402 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
403 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
407 <object class=
"GtkButton" id=
"calc_undo_button">
408 <property name=
"visible">True
</property>
409 <property name=
"can_focus">True
</property>
410 <property name=
"receives_default">True
</property>
411 <property name=
"use_underline">True
</property>
412 <property name=
"focus_on_click">False
</property>
414 <object class=
"GtkImage" id=
"image1">
415 <property name=
"visible">True
</property>
416 <property name=
"icon-name">edit-undo-symbolic
</property>
421 <property name=
"left_attach">4</property>
422 <property name=
"right_attach">5</property>
423 <property name=
"x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>
424 <property name=
"y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL
</property>