mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
bb92428112
Use gtk_box_gadget_reverse_children and gtk_css_node_reverse_children to flip the children of the header_gadget and the tabs_gadget when appropriate. Add new CSS node tests to verify that the node order is updated as expected in all cases.
56 lines
2.0 KiB
XML
56 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="type">popup</property>
|
|
<child>
|
|
<object class="GtkNotebook">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="name">page1</property>
|
|
<property name="label" translatable="yes">Yes</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="name">tab1</property>
|
|
<property name="label" translatable="yes">Tab 1</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="name">page2</property>
|
|
<property name="label" translatable="yes">No</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="tab2">
|
|
<property name="name">tab2</property>
|
|
<property name="label" translatable="yes">Tab 2</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="action-start">
|
|
<object class="GtkButton">
|
|
<property name="name">start</property>
|
|
<property name="label" translatable="yes">Action</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="action-end">
|
|
<object class="GtkButton">
|
|
<property name="name">end</property>
|
|
<property name="label" translatable="yes">Action</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|