add xml section

This commit is contained in:
Taiko2k
2023-05-17 22:27:27 +12:00
parent 0b68f0e3b4
commit 2dd2eb5977
4 changed files with 150 additions and 2 deletions

31
test.ui Normal file
View File

@@ -0,0 +1,31 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.10.3 -->
<interface>
<!-- interface-name test.ui -->
<requires lib="gtk" version="4.6"/>
<object class="GtkApplicationWindow" id="main_window">
<property name="default-height">200</property>
<property name="default-width">400</property>
<property name="title">UI XML Test</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkBox">
<property name="margin-bottom">5</property>
<property name="margin-end">5</property>
<property name="margin-start">5</property>
<property name="margin-top">5</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="button1">
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="label">Test button</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>