forked from AuroraMiddleware/gtk
d6a0948182
gtk-builder-tool simplify --3to4 now produces a <requires lib="gtk" version="4.0"/>. Adapt for that, and also add some tests that check that we actually verify the requires, and accept 3.99 and 4.0, but not 5.x.
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="child">
|
|
<object class="GtkBox" id="box1">
|
|
<child>
|
|
<object class="GtkStackSwitcher" id="stackswitcher1">
|
|
<property name="stack">stack1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="stack1">
|
|
<property name="vhomogeneous">0</property>
|
|
<property name="hhomogeneous">0</property>
|
|
<child>
|
|
<object class="GtkStackPage">
|
|
<property name="name">page1</property>
|
|
<property name="title">Page 1</property>
|
|
<property name="needs-attention">1</property>
|
|
<property name="child">
|
|
<object class="GtkButton" id="page1">
|
|
<property name="label" translatable="yes">Yes</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStackPage">
|
|
<property name="name">page2</property>
|
|
<property name="title">Page 2</property>
|
|
<property name="icon-name">page2-icon</property>
|
|
<property name="child">
|
|
<object class="GtkButton" id="page2">
|
|
<property name="label" translatable="yes">No</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</interface>
|