forked from AuroraMiddleware/gtk
fa75d7f480
We can't rely on the pspec for a removed property. This code worked until I actually removed the properties. Update the tests to reflect this.
126 lines
4.9 KiB
XML
126 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow" id="window1">
|
|
<child>
|
|
<object class="GtkGrid" id="grid1">
|
|
<child>
|
|
<object class="GtkToggleButton" id="button1">
|
|
<property name="label" translatable="yes">Hello World!</property>
|
|
<property name="active">1</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<property name="vexpand">1</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="margin-top">10</property>
|
|
<property name="margin-right">10</property>
|
|
<property name="margin-bottom">10</property>
|
|
<property name="margin-left">10</property>
|
|
<layout>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="button2">
|
|
<property name="label" translatable="yes">Hello World!</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<layout>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="button3">
|
|
<property name="label" translatable="yes">Hello World!</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<layout>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="button4">
|
|
<property name="label" translatable="yes">Hello World!</property>
|
|
<property name="active">1</property>
|
|
<property name="group">button3</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<layout>
|
|
<property name="left_attach">3</property>
|
|
<property name="top_attach">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="button5">
|
|
<property name="active">1</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<layout>
|
|
<property name="left_attach">4</property>
|
|
<property name="top_attach">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="button6">
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="button6-accessible">
|
|
<property name="accessible-name">Test switch</property>
|
|
</object>
|
|
</child>
|
|
<layout>
|
|
<property name="left_attach">5</property>
|
|
<property name="top_attach">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button7">
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<property name="label">Text Button</property>
|
|
<layout>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button8">
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<layout>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button9">
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<layout>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="column-span">2</property>
|
|
<property name="row-span">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|