My_GtkUi/Gtk4_Reset/res/game1.ui

213 lines
6.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<!-- <object class="GtkWindow" id="window"> -->
<template class="GameApp" parent="GtkWindow">
<property name="title" translatable="1">Guess Game</property>
<property name="destroy-with-parent">1</property>
<property name="child">
<object class="GtkGrid">
<property name="visible">1</property>
<child>
<object class="GtkLabel" id="label">
<property name="label" translatable="1">Select a button</property>
<property name="visible">1</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="btn_1">
<property name="label" translatable="1">1</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<property name="visible">1</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="btn_2">
<property name="label" translatable="1">2</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<property name="visible">1</property>
<layout>
<property name="column">3</property>
<property name="row">2</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="btn_3">
<property name="label" translatable="1">3</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<property name="visible">1</property>
<layout>
<property name="column">1</property>
<property name="row">4</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="btn_4">
<property name="label" translatable="1">4</property>
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<property name="visible">1</property>
<layout>
<property name="column">3</property>
<property name="row">4</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="btn_go">
<property name="label" translatable="1">Go</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="visible">1</property>
<layout>
<property name="column">1</property>
<property name="row">6</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="btn_exit">
<property name="label" translatable="1">Exit</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="visible">1</property>
<layout>
<property name="column">3</property>
<property name="row">6</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">20</property>
<property name="height-request">20</property>
<property name="visible">1</property>
<layout>
<property name="column">2</property>
<property name="row">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">20</property>
<property name="height-request">20</property>
<property name="visible">1</property>
<layout>
<property name="column">2</property>
<property name="row">5</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">20</property>
<property name="height-request">20</property>
<property name="visible">1</property>
<layout>
<property name="column">2</property>
<property name="row">1</property>
</layout>
</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>
</property>
</template>
<!-- </object> -->
</interface>