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>
|
2021-10-29 19:25:01 +08:00
|
|
|
<property name="title">Game</property>
|
2021-10-27 16:57:46 +08:00
|
|
|
<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-10-29 19:25:01 +08:00
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</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>
|
2021-10-29 19:25:01 +08:00
|
|
|
<object class="GtkToggleButton" id="btn_1">
|
2021-04-17 11:21:30 +08:00
|
|
|
<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>
|
2021-10-29 19:25:01 +08:00
|
|
|
<child>
|
|
|
|
<object class = "GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">3</property>
|
|
|
|
<property name="valign">3</property>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkImage" id="image_btn1">
|
|
|
|
<property name="icon-name">My_GtkUI</property>
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="pixel-size">48</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkLabel">
|
|
|
|
<property name="label" translatable="yes">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-27 16:57:46 +08:00
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">2</property>
|
|
|
|
</layout>
|
2021-04-17 11:21:30 +08:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-10-29 19:25:01 +08:00
|
|
|
<object class="GtkToggleButton" id="btn_2">
|
2021-04-17 11:21:30 +08:00
|
|
|
<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>
|
2021-10-29 19:25:01 +08:00
|
|
|
<child>
|
|
|
|
<object class = "GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">3</property>
|
|
|
|
<property name="valign">3</property>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkImage" id="image_btn2">
|
|
|
|
<property name="icon-name">My_GtkUI</property>
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="pixel-size">48</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkLabel">
|
|
|
|
<property name="label" translatable="yes">2</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-27 16:57:46 +08:00
|
|
|
<layout>
|
|
|
|
<property name="column">3</property>
|
|
|
|
<property name="row">2</property>
|
|
|
|
</layout>
|
2021-04-17 11:21:30 +08:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-10-29 19:25:01 +08:00
|
|
|
<object class="GtkToggleButton" id="btn_3">
|
2021-04-17 11:21:30 +08:00
|
|
|
<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>
|
2021-10-29 19:25:01 +08:00
|
|
|
<child>
|
|
|
|
<object class = "GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">3</property>
|
|
|
|
<property name="valign">3</property>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkImage" id="image_btn3">
|
|
|
|
<property name="icon-name">My_GtkUI</property>
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="pixel-size">48</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkLabel">
|
|
|
|
<property name="label" translatable="yes">3</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-27 16:57:46 +08:00
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">4</property>
|
|
|
|
</layout>
|
2021-04-17 11:21:30 +08:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-10-29 19:25:01 +08:00
|
|
|
<object class="GtkToggleButton" id="btn_4">
|
2021-04-17 11:21:30 +08:00
|
|
|
<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>
|
2021-10-29 19:25:01 +08:00
|
|
|
<child>
|
|
|
|
<object class = "GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">3</property>
|
|
|
|
<property name="valign">3</property>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkImage" id="image_btn4">
|
|
|
|
<property name="icon-name">My_GtkUI</property>
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="pixel-size">48</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class = "GtkLabel">
|
|
|
|
<property name="label" translatable="yes">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-27 16:57:46 +08:00
|
|
|
<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>
|