testing-repository/Gtk4/gtk158_minesweeper4/res/win_input.ui

83 lines
3.3 KiB
Plaintext
Raw Normal View History

2024-02-18 09:20:17 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkDialog" id="dialog">
<property name="width-request">300</property>
<property name="height-request">150</property>
<child internal-child="content_area">
<object class="GtkBox">
<property name="visible">1</property>
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkBox">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="main_box">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<child>
<object class="GtkLabel">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="label" translatable="1">Input Name:</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry_name">
<property name="focusable">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkCheckButton" id="check_scores">
<property name="label" translatable="1">Show Scores Window</property>
<property name="focusable">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<action-widgets>
<action-widget response="-5">btn_ok</action-widget>
<action-widget response="-6">btn_cancel</action-widget>
</action-widgets>
<child internal-child="action_area">
<object class="GtkBox">
<property name="valign">center</property>
<property name="visible">1</property>
<child>
<object class="GtkButton" id="btn_ok">
<property name="hexpand">1</property>
<property name="label" translatable="1">OK</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
<child>
<object class="GtkButton" id="btn_cancel">
<property name="hexpand">1</property>
<property name="label" translatable="1">Cancel</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
</object>
</child>
</object>
</interface>