mirror of
https://github.com/Taiko2k/GTK4PythonTutorial.git
synced 2025-07-21 20:51:10 +02:00
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?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>
|