My_GtkUi/Gtk4/res/game1.ui

195 lines
5.9 KiB
Plaintext
Raw Normal View History

2021-04-17 11:21:30 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2021-10-27 16:57:46 +08:00
<requires lib="gtk" version="4.0"/>
<template class="GameWin" parent="GtkWindow">
<property name="can-focus">0</property>
<property name="destroy-with-parent">1</property>
<property name="child">
2021-04-17 11:21:30 +08:00
<object class="GtkGrid">
2021-10-27 16:57:46 +08:00
<property name="can-focus">0</property>
2021-04-17 11:21:30 +08:00
<child>
2021-10-27 16:57:46 +08:00
<object class="GtkLabel" id="label_status">
<property name="can-focus">0</property>
2021-04-17 11:21:30 +08:00
<property name="label" translatable="yes">Select a button</property>
2021-10-27 16:57:46 +08:00
<layout>
<property name="column">1</property>
<property name="row">0</property>
<property name="column-span">3</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn_1">
<property name="label" translatable="yes">1</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
2021-10-27 16:57:46 +08:00
<property name="receives-default">1</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn_2">
<property name="label" translatable="yes">2</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
2021-10-27 16:57:46 +08:00
<property name="receives-default">1</property>
<layout>
<property name="column">3</property>
<property name="row">2</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn_3">
<property name="label" translatable="yes">3</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
2021-10-27 16:57:46 +08:00
<property name="receives-default">1</property>
<layout>
<property name="column">1</property>
<property name="row">4</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn_4">
<property name="label" translatable="yes">4</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
2021-10-27 16:57:46 +08:00
<property name="receives-default">1</property>
<layout>
<property name="column">3</property>
<property name="row">4</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn_go">
<property name="label" translatable="yes">Go</property>
2021-10-27 16:57:46 +08:00
<property name="receives-default">1</property>
<layout>
<property name="column">1</property>
<property name="row">6</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkButton" id="btn_exit">
<property name="label" translatable="yes">Exit</property>
2021-10-27 16:57:46 +08:00
<property name="receives-default">1</property>
<layout>
<property name="column">3</property>
<property name="row">6</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">20</property>
<property name="height-request">20</property>
2021-10-27 16:57:46 +08:00
<property name="can-focus">0</property>
<layout>
<property name="column">2</property>
<property name="row">3</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">20</property>
<property name="height-request">20</property>
2021-10-27 16:57:46 +08:00
<property name="can-focus">0</property>
<layout>
<property name="column">2</property>
<property name="row">5</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">20</property>
<property name="height-request">20</property>
2021-10-27 16:57:46 +08:00
<property name="can-focus">0</property>
<layout>
<property name="column">2</property>
<property name="row">1</property>
</layout>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
2021-10-27 16:57:46 +08:00
</property>
</template>
2021-04-17 11:21:30 +08:00
</interface>