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.
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow" id="window1">
|
|
<child>
|
|
<object class="GtkBox" id="box1">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkStackSwitcher" id="stackswitcher1">
|
|
<property name="visible">True</property>
|
|
<property name="stack">stack1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="stack1">
|
|
<property name="visible">True</property>
|
|
<property name="homogeneous">0</property>
|
|
<child>
|
|
<object class="GtkButton" id="page1">
|
|
<property name="label" translatable="yes">Yes</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">page1</property>
|
|
<property name="title">Page 1</property>
|
|
<property name="needs-attention">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="page2">
|
|
<property name="label" translatable="yes">No</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">page2</property>
|
|
<property name="title">Page 2</property>
|
|
<property name="icon-name">page2-icon</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|