mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
351559fcfa
Now even simpler!
66 lines
2.4 KiB
XML
66 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.6 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="title" translatable="yes">Stack</property>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<child>
|
|
<object class="GtkStackSwitcher">
|
|
<property name="stack">stack</property>
|
|
<property name="halign">center</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="stack">
|
|
<property name="can-focus">1</property>
|
|
<property name="transition-type">crossfade</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="margin-top">20</property>
|
|
<property name="margin-bottom">20</property>
|
|
<property name="icon-name">gtk3-demo</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">page1</property>
|
|
<property name="title" translatable="yes">Page 1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton">
|
|
<property name="label" translatable="yes">Page 2</property>
|
|
<property name="can-focus">1</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">page2</property>
|
|
<property name="title" translatable="yes">Page 2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinner">
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="active">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">page3</property>
|
|
<property name="icon-name">face-laugh-symbolic</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|