Commit c30d542a authored by Matthias Clasen's avatar Matthias Clasen

Some more CSS node tests for notebooks

parent 38d0d0a6
......@@ -40,6 +40,8 @@ test_data = \
expander.rtl.ui expander.rtl.nodes \
levelbar.ltr.ui levelbar.ltr.nodes \
levelbar.rtl.ui levelbar.rtl.nodes \
notebook-arrows.ui notebook-arrows.nodes \
notebook-arrows2.ui notebook-arrows2.nodes \
notebook.top.ltr.ui notebook.top.ltr.nodes \
notebook.top.rtl.ui notebook.top.rtl.nodes \
notebook.left.ltr.ui notebook.left.ltr.nodes \
......
[window.background:dir(ltr)]
decoration:dir(ltr)
notebook.frame:dir(ltr)
header.top:dir(ltr)
tabs:dir(ltr)
arrow.down:disabled:dir(ltr)
tab:active:dir(ltr)
label#tab1:dir(ltr)
tab:dir(ltr)
label#tab2:dir(ltr)
arrow.up:dir(ltr)
stack:dir(ltr)
button#page1.text-button:dir(ltr)
label:dir(ltr)
button#page2.text-button:dir(ltr)
label:dir(ltr)
<?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>
<property name="scrollable">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>
</object>
</child>
</object>
</interface>
[window.background:dir(ltr)]
decoration:dir(ltr)
notebook.frame:dir(ltr)
header.top:dir(ltr)
tabs:dir(ltr)
arrow.down:disabled:dir(ltr)
tab:active:dir(ltr)
label#tab1:dir(ltr)
tab:dir(ltr)
label#tab2:dir(ltr)
arrow.up:dir(ltr)
stack:dir(ltr)
button#page1.text-button:dir(ltr)
label:dir(ltr)
button#page2.text-button:dir(ltr)
label:dir(ltr)
<?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>
<property name="scrollable">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>
<property name="page">-1</property>
</object>
</child>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment