My_GtkUi/Gtkmm4_UI8/res/game24.ui

292 lines
12 KiB
Plaintext
Raw Normal View History

2023-06-08 18:11:35 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
2024-02-14 14:23:18 +08:00
<!-- <object class="GtkWindow" id="window"> -->
<template class="Game24App" parent="GtkWindow">
2023-06-08 18:11:35 +08:00
<property name="default-width">440</property>
<property name="default-height">260</property>
<property name="child">
2023-06-08 18:11:35 +08:00
<object class="GtkBox">
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
2023-06-08 18:11:35 +08:00
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="GtkBox">
<property name="halign">center</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="1">The Numbers:</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkLabel" id="label_numbers"/>
2023-06-08 18:11:35 +08:00
</child>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="1">Input answer, for example, ((6+6)+6)+6 is an answer,
&quot;None&quot; for no answer</property>
2023-06-08 18:11:35 +08:00
<property name="justify">center</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry_ans">
<property name="focusable">1</property>
<property name="hexpand">1</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkGrid">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="row-homogeneous">1</property>
<property name="column-homogeneous">1</property>
2023-06-08 18:11:35 +08:00
<child>
<object class="GtkButton" id="btn7">
<property name="label" translatable="1">7</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn8">
<property name="label" translatable="1">8</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn9">
<property name="label" translatable="1">9</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">2</property>
<property name="row">0</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnadd">
<property name="label" translatable="1">+</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">3</property>
<property name="row">0</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn4">
<property name="label" translatable="1">4</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn5">
<property name="label" translatable="1">5</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn6">
<property name="label" translatable="1">6</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">2</property>
<property name="row">1</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnsubb">
<property name="label" translatable="1">-</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">3</property>
<property name="row">1</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn1">
<property name="label" translatable="1">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">0</property>
<property name="row">2</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn2">
<property name="label" translatable="1">2</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn3">
<property name="label" translatable="1">3</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">2</property>
<property name="row">2</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnmul">
<property name="label" translatable="1">*</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">3</property>
<property name="row">2</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnleft">
<property name="label" translatable="1">(</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">0</property>
<property name="row">3</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn0">
<property name="label" translatable="1">0</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">1</property>
<property name="row">3</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnright">
<property name="label" translatable="1">)</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">2</property>
<property name="row">3</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btndiv">
<property name="label" translatable="1">/</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<layout>
<property name="column">3</property>
<property name="row">3</property>
</layout>
2023-06-08 18:11:35 +08:00
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="halign">center</property>
<property name="spacing">10</property>
<child>
<object class="GtkButton" id="btnstart">
<property name="label" translatable="1">Start</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnnext">
<property name="label" translatable="1">Next</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btncheck">
<property name="label" translatable="1">Check</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnclear">
<property name="label" translatable="1">Clear</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btnexit">
<property name="label" translatable="1">Exit</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
2023-06-08 18:11:35 +08:00
</object>
</child>
</object>
</child>
</object>
</property>
2024-02-14 14:23:18 +08:00
</template>
<!-- </object> -->
2023-06-08 18:11:35 +08:00
</interface>