gtk2/demos/gtk-demo/stack.ui

71 lines
2.7 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2013-04-22 01:16:24 +00:00
<interface>
<object class="GtkWindow" id="window1">
<property name="title" translatable="yes">Stack</property>
2013-04-22 01:16:24 +00:00
<child>
<object class="GtkGrid">
2013-04-22 01:16:24 +00:00
<child>
<object class="GtkStackSwitcher">
2013-04-22 01:16:24 +00:00
<property name="stack">stack</property>
<property name="halign">center</property>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</layout>
2013-04-22 01:16:24 +00:00
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="can-focus">1</property>
2013-04-22 01:16:24 +00:00
<property name="transition-type">crossfade</property>
<child>
<object class="GtkStackPage">
2013-04-22 01:16:24 +00:00
<property name="name">page1</property>
<property name="title" translatable="yes">Page 1</property>
<property name="child">
<object class="GtkImage">
<property name="margin-top">20</property>
<property name="margin-bottom">20</property>
2019-04-01 22:49:09 +00:00
<property name="icon-name">org.gtk.Demo4</property>
</object>
</property>
</object>
2013-04-22 01:16:24 +00:00
</child>
<child>
<object class="GtkStackPage">
2013-04-22 01:16:24 +00:00
<property name="name">page2</property>
<property name="title" translatable="yes">Page 2</property>
<property name="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>
</property>
</object>
2013-04-22 01:16:24 +00:00
</child>
<child>
<object class="GtkStackPage">
2013-04-22 01:16:24 +00:00
<property name="name">page3</property>
<property name="icon-name">face-laugh-symbolic</property>
<property name="child">
<object class="GtkSpinner">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="active">1</property>
</object>
</property>
</object>
2013-04-22 01:16:24 +00:00
</child>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</layout>
2013-04-22 01:16:24 +00:00
</object>
</child>
</object>
</child>
</object>
</interface>