| 1 | <?xml version="1.0"?> |
| 2 | <interface> |
| 3 | <requires lib="gtk+" version="2.12"/> |
| 4 | <object class="GtkWindow" id="window"> |
| 5 | <property name="visible">True</property> |
| 6 | <signal name="destroy" handler="on_window_destroy"/> |
| 7 | <child> |
| 8 | <object class="GtkVBox" id="vbox1"> |
| 9 | <property name="visible">True</property> |
| 10 | <child> |
| 11 | <object class="GtkVBox" id="vbox2"> |
| 12 | <property name="visible">True</property> |
| 13 | <child> |
| 14 | <object class="GtkHBox" id="hbox2"> |
| 15 | <property name="visible">True</property> |
| 16 | <child> |
| 17 | <object class="GtkEntry" id="entry_a"> |
| 18 | <property name="visible">True</property> |
| 19 | <property name="can_focus">True</property> |
| 20 | </object> |
| 21 | </child> |
| 22 | <child> |
| 23 | <object class="GtkLabel" id="label_op"> |
| 24 | <property name="visible">True</property> |
| 25 | <property name="label" translatable="yes">?</property> |
| 26 | </object> |
| 27 | <packing> |
| 28 | <property name="position">1</property> |
| 29 | </packing> |
| 30 | </child> |
| 31 | <child> |
| 32 | <object class="GtkEntry" id="entry_b"> |
| 33 | <property name="visible">True</property> |
| 34 | <property name="can_focus">True</property> |
| 35 | </object> |
| 36 | <packing> |
| 37 | <property name="position">2</property> |
| 38 | </packing> |
| 39 | </child> |
| 40 | <child> |
| 41 | <object class="GtkLabel" id="label2"> |
| 42 | <property name="visible">True</property> |
| 43 | <property name="label" translatable="yes">=</property> |
| 44 | </object> |
| 45 | <packing> |
| 46 | <property name="position">3</property> |
| 47 | </packing> |
| 48 | </child> |
| 49 | </object> |
| 50 | </child> |
| 51 | <child> |
| 52 | <object class="GtkEntry" id="entry_calc"> |
| 53 | <property name="visible">True</property> |
| 54 | <property name="can_focus">True</property> |
| 55 | </object> |
| 56 | <packing> |
| 57 | <property name="position">1</property> |
| 58 | </packing> |
| 59 | </child> |
| 60 | </object> |
| 61 | </child> |
| 62 | <child> |
| 63 | <object class="GtkHBox" id="hbox1"> |
| 64 | <property name="visible">True</property> |
| 65 | <child> |
| 66 | <object class="GtkLabel" id="label_mem"> |
| 67 | <property name="visible">True</property> |
| 68 | <property name="label" translatable="yes">MEM:</property> |
| 69 | </object> |
| 70 | </child> |
| 71 | <child> |
| 72 | <object class="GtkButton" id="button_mplus"> |
| 73 | <property name="visible">True</property> |
| 74 | <property name="can_focus">True</property> |
| 75 | <property name="receives_default">True</property> |
| 76 | <property name="label" translatable="yes">+</property> |
| 77 | <property name="response_id">0</property> |
| 78 | <signal name="clicked" handler="on_button_mem_clicked"/> |
| 79 | </object> |
| 80 | <packing> |
| 81 | <property name="position">1</property> |
| 82 | </packing> |
| 83 | </child> |
| 84 | <child> |
| 85 | <object class="GtkButton" id="button_mminus"> |
| 86 | <property name="visible">True</property> |
| 87 | <property name="can_focus">True</property> |
| 88 | <property name="receives_default">True</property> |
| 89 | <property name="label" translatable="yes">-</property> |
| 90 | <property name="response_id">0</property> |
| 91 | <signal name="clicked" handler="on_button_mem_clicked"/> |
| 92 | </object> |
| 93 | <packing> |
| 94 | <property name="position">2</property> |
| 95 | </packing> |
| 96 | </child> |
| 97 | <child> |
| 98 | <object class="GtkButton" id="button_mclear"> |
| 99 | <property name="visible">True</property> |
| 100 | <property name="can_focus">True</property> |
| 101 | <property name="receives_default">True</property> |
| 102 | <property name="label" translatable="yes">C</property> |
| 103 | <property name="response_id">0</property> |
| 104 | <signal name="clicked" handler="on_button_mem_clicked"/> |
| 105 | </object> |
| 106 | <packing> |
| 107 | <property name="position">3</property> |
| 108 | </packing> |
| 109 | </child> |
| 110 | <child> |
| 111 | <object class="GtkEntry" id="entry_mem"> |
| 112 | <property name="visible">True</property> |
| 113 | <property name="can_focus">True</property> |
| 114 | <property name="text" translatable="yes">0</property> |
| 115 | </object> |
| 116 | <packing> |
| 117 | <property name="position">4</property> |
| 118 | </packing> |
| 119 | </child> |
| 120 | </object> |
| 121 | <packing> |
| 122 | <property name="position">1</property> |
| 123 | </packing> |
| 124 | </child> |
| 125 | <child> |
| 126 | <object class="GtkTable" id="table1"> |
| 127 | <property name="visible">True</property> |
| 128 | <property name="n_rows">4</property> |
| 129 | <property name="n_columns">5</property> |
| 130 | <child> |
| 131 | <object class="GtkButton" id="button_divide"> |
| 132 | <property name="visible">True</property> |
| 133 | <property name="can_focus">True</property> |
| 134 | <property name="receives_default">True</property> |
| 135 | <property name="label" translatable="yes">/</property> |
| 136 | <property name="response_id">0</property> |
| 137 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 138 | </object> |
| 139 | <packing> |
| 140 | <property name="left_attach">1</property> |
| 141 | <property name="right_attach">2</property> |
| 142 | <property name="top_attach">3</property> |
| 143 | <property name="bottom_attach">4</property> |
| 144 | </packing> |
| 145 | </child> |
| 146 | <child> |
| 147 | <object class="GtkButton" id="button_multiply"> |
| 148 | <property name="visible">True</property> |
| 149 | <property name="can_focus">True</property> |
| 150 | <property name="receives_default">True</property> |
| 151 | <property name="label" translatable="yes">*</property> |
| 152 | <property name="response_id">0</property> |
| 153 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 154 | </object> |
| 155 | <packing> |
| 156 | <property name="left_attach">1</property> |
| 157 | <property name="right_attach">2</property> |
| 158 | <property name="top_attach">2</property> |
| 159 | <property name="bottom_attach">3</property> |
| 160 | </packing> |
| 161 | </child> |
| 162 | <child> |
| 163 | <object class="GtkButton" id="button_minus"> |
| 164 | <property name="visible">True</property> |
| 165 | <property name="can_focus">True</property> |
| 166 | <property name="receives_default">True</property> |
| 167 | <property name="label" translatable="yes">-</property> |
| 168 | <property name="response_id">0</property> |
| 169 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 170 | </object> |
| 171 | <packing> |
| 172 | <property name="left_attach">1</property> |
| 173 | <property name="right_attach">2</property> |
| 174 | <property name="top_attach">1</property> |
| 175 | <property name="bottom_attach">2</property> |
| 176 | </packing> |
| 177 | </child> |
| 178 | <child> |
| 179 | <object class="GtkButton" id="button_plus"> |
| 180 | <property name="visible">True</property> |
| 181 | <property name="can_focus">True</property> |
| 182 | <property name="receives_default">True</property> |
| 183 | <property name="label" translatable="yes">+</property> |
| 184 | <property name="response_id">0</property> |
| 185 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 186 | </object> |
| 187 | <packing> |
| 188 | <property name="left_attach">1</property> |
| 189 | <property name="right_attach">2</property> |
| 190 | </packing> |
| 191 | </child> |
| 192 | <child> |
| 193 | <object class="GtkButton" id="button_sqr"> |
| 194 | <property name="visible">True</property> |
| 195 | <property name="can_focus">True</property> |
| 196 | <property name="receives_default">True</property> |
| 197 | <property name="label" translatable="yes">SQRT</property> |
| 198 | <property name="response_id">0</property> |
| 199 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 200 | </object> |
| 201 | <packing> |
| 202 | <property name="top_attach">3</property> |
| 203 | <property name="bottom_attach">4</property> |
| 204 | </packing> |
| 205 | </child> |
| 206 | <child> |
| 207 | <object class="GtkButton" id="button_pow"> |
| 208 | <property name="visible">True</property> |
| 209 | <property name="can_focus">True</property> |
| 210 | <property name="receives_default">True</property> |
| 211 | <property name="label" translatable="yes">^</property> |
| 212 | <property name="response_id">0</property> |
| 213 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 214 | </object> |
| 215 | <packing> |
| 216 | <property name="top_attach">2</property> |
| 217 | <property name="bottom_attach">3</property> |
| 218 | </packing> |
| 219 | </child> |
| 220 | <child> |
| 221 | <object class="GtkButton" id="button_reset"> |
| 222 | <property name="visible">True</property> |
| 223 | <property name="can_focus">True</property> |
| 224 | <property name="receives_default">True</property> |
| 225 | <property name="label" translatable="yes">RST</property> |
| 226 | <property name="response_id">0</property> |
| 227 | <signal name="clicked" handler="reset"/> |
| 228 | </object> |
| 229 | <packing> |
| 230 | <property name="top_attach">1</property> |
| 231 | <property name="bottom_attach">2</property> |
| 232 | </packing> |
| 233 | </child> |
| 234 | <child> |
| 235 | <object class="GtkButton" id="button_clear"> |
| 236 | <property name="visible">True</property> |
| 237 | <property name="can_focus">True</property> |
| 238 | <property name="receives_default">True</property> |
| 239 | <property name="label" translatable="yes">C</property> |
| 240 | <property name="response_id">0</property> |
| 241 | <signal name="clicked" handler="on_button_clear_clicked"/> |
| 242 | </object> |
| 243 | </child> |
| 244 | <child> |
| 245 | <object class="GtkButton" id="button_point"> |
| 246 | <property name="visible">True</property> |
| 247 | <property name="can_focus">True</property> |
| 248 | <property name="receives_default">True</property> |
| 249 | <property name="label" translatable="yes">.</property> |
| 250 | <property name="response_id">0</property> |
| 251 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 252 | </object> |
| 253 | <packing> |
| 254 | <property name="left_attach">3</property> |
| 255 | <property name="right_attach">4</property> |
| 256 | <property name="top_attach">3</property> |
| 257 | <property name="bottom_attach">4</property> |
| 258 | </packing> |
| 259 | </child> |
| 260 | <child> |
| 261 | <object class="GtkButton" id="button_0"> |
| 262 | <property name="visible">True</property> |
| 263 | <property name="can_focus">True</property> |
| 264 | <property name="receives_default">True</property> |
| 265 | <property name="label" translatable="yes">0</property> |
| 266 | <property name="response_id">0</property> |
| 267 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 268 | </object> |
| 269 | <packing> |
| 270 | <property name="left_attach">2</property> |
| 271 | <property name="right_attach">3</property> |
| 272 | <property name="top_attach">3</property> |
| 273 | <property name="bottom_attach">4</property> |
| 274 | </packing> |
| 275 | </child> |
| 276 | <child> |
| 277 | <object class="GtkButton" id="button_3"> |
| 278 | <property name="visible">True</property> |
| 279 | <property name="can_focus">True</property> |
| 280 | <property name="receives_default">True</property> |
| 281 | <property name="label" translatable="yes">3</property> |
| 282 | <property name="response_id">0</property> |
| 283 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 284 | </object> |
| 285 | <packing> |
| 286 | <property name="left_attach">4</property> |
| 287 | <property name="right_attach">5</property> |
| 288 | <property name="top_attach">2</property> |
| 289 | <property name="bottom_attach">3</property> |
| 290 | </packing> |
| 291 | </child> |
| 292 | <child> |
| 293 | <object class="GtkButton" id="button_2"> |
| 294 | <property name="visible">True</property> |
| 295 | <property name="can_focus">True</property> |
| 296 | <property name="receives_default">True</property> |
| 297 | <property name="label" translatable="yes">2</property> |
| 298 | <property name="response_id">0</property> |
| 299 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 300 | </object> |
| 301 | <packing> |
| 302 | <property name="left_attach">3</property> |
| 303 | <property name="right_attach">4</property> |
| 304 | <property name="top_attach">2</property> |
| 305 | <property name="bottom_attach">3</property> |
| 306 | </packing> |
| 307 | </child> |
| 308 | <child> |
| 309 | <object class="GtkButton" id="button_1"> |
| 310 | <property name="visible">True</property> |
| 311 | <property name="can_focus">True</property> |
| 312 | <property name="receives_default">True</property> |
| 313 | <property name="label" translatable="yes">1</property> |
| 314 | <property name="response_id">0</property> |
| 315 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 316 | </object> |
| 317 | <packing> |
| 318 | <property name="left_attach">2</property> |
| 319 | <property name="right_attach">3</property> |
| 320 | <property name="top_attach">2</property> |
| 321 | <property name="bottom_attach">3</property> |
| 322 | </packing> |
| 323 | </child> |
| 324 | <child> |
| 325 | <object class="GtkButton" id="button_6"> |
| 326 | <property name="visible">True</property> |
| 327 | <property name="can_focus">True</property> |
| 328 | <property name="receives_default">True</property> |
| 329 | <property name="label" translatable="yes">6</property> |
| 330 | <property name="response_id">0</property> |
| 331 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 332 | </object> |
| 333 | <packing> |
| 334 | <property name="left_attach">4</property> |
| 335 | <property name="right_attach">5</property> |
| 336 | <property name="top_attach">1</property> |
| 337 | <property name="bottom_attach">2</property> |
| 338 | </packing> |
| 339 | </child> |
| 340 | <child> |
| 341 | <object class="GtkButton" id="button_5"> |
| 342 | <property name="visible">True</property> |
| 343 | <property name="can_focus">True</property> |
| 344 | <property name="receives_default">True</property> |
| 345 | <property name="label" translatable="yes">5</property> |
| 346 | <property name="response_id">0</property> |
| 347 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 348 | </object> |
| 349 | <packing> |
| 350 | <property name="left_attach">3</property> |
| 351 | <property name="right_attach">4</property> |
| 352 | <property name="top_attach">1</property> |
| 353 | <property name="bottom_attach">2</property> |
| 354 | </packing> |
| 355 | </child> |
| 356 | <child> |
| 357 | <object class="GtkButton" id="button_4"> |
| 358 | <property name="visible">True</property> |
| 359 | <property name="can_focus">True</property> |
| 360 | <property name="receives_default">True</property> |
| 361 | <property name="label" translatable="yes">4</property> |
| 362 | <property name="response_id">0</property> |
| 363 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 364 | </object> |
| 365 | <packing> |
| 366 | <property name="left_attach">2</property> |
| 367 | <property name="right_attach">3</property> |
| 368 | <property name="top_attach">1</property> |
| 369 | <property name="bottom_attach">2</property> |
| 370 | </packing> |
| 371 | </child> |
| 372 | <child> |
| 373 | <object class="GtkButton" id="button_9"> |
| 374 | <property name="visible">True</property> |
| 375 | <property name="can_focus">True</property> |
| 376 | <property name="receives_default">True</property> |
| 377 | <property name="label" translatable="yes">9</property> |
| 378 | <property name="response_id">0</property> |
| 379 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 380 | </object> |
| 381 | <packing> |
| 382 | <property name="left_attach">4</property> |
| 383 | <property name="right_attach">5</property> |
| 384 | </packing> |
| 385 | </child> |
| 386 | <child> |
| 387 | <object class="GtkButton" id="button_8"> |
| 388 | <property name="visible">True</property> |
| 389 | <property name="can_focus">True</property> |
| 390 | <property name="receives_default">True</property> |
| 391 | <property name="label" translatable="yes">8</property> |
| 392 | <property name="response_id">0</property> |
| 393 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 394 | </object> |
| 395 | <packing> |
| 396 | <property name="left_attach">3</property> |
| 397 | <property name="right_attach">4</property> |
| 398 | </packing> |
| 399 | </child> |
| 400 | <child> |
| 401 | <object class="GtkButton" id="button_7"> |
| 402 | <property name="visible">True</property> |
| 403 | <property name="can_focus">True</property> |
| 404 | <property name="receives_default">True</property> |
| 405 | <property name="label" translatable="yes">7</property> |
| 406 | <property name="response_id">0</property> |
| 407 | <signal name="clicked" handler="on_button_no_clicked"/> |
| 408 | </object> |
| 409 | <packing> |
| 410 | <property name="left_attach">2</property> |
| 411 | <property name="right_attach">3</property> |
| 412 | </packing> |
| 413 | </child> |
| 414 | <child> |
| 415 | <object class="GtkButton" id="button_eq"> |
| 416 | <property name="visible">True</property> |
| 417 | <property name="can_focus">True</property> |
| 418 | <property name="receives_default">True</property> |
| 419 | <property name="label" translatable="yes">=</property> |
| 420 | <property name="response_id">0</property> |
| 421 | <signal name="clicked" handler="on_button_op_clicked"/> |
| 422 | </object> |
| 423 | <packing> |
| 424 | <property name="left_attach">4</property> |
| 425 | <property name="right_attach">5</property> |
| 426 | <property name="top_attach">3</property> |
| 427 | <property name="bottom_attach">4</property> |
| 428 | </packing> |
| 429 | </child> |
| 430 | </object> |
| 431 | <packing> |
| 432 | <property name="position">2</property> |
| 433 | </packing> |
| 434 | </child> |
| 435 | </object> |
| 436 | </child> |
| 437 | </object> |
| 438 | </interface> |