Add a css node test for comboboxes
This commit is contained in:
parent
d3ca8aaf83
commit
8205a304e8
@ -35,6 +35,7 @@ test_data = \
|
|||||||
buttons.ui buttons.nodes \
|
buttons.ui buttons.nodes \
|
||||||
checkbutton.ltr.ui checkbutton.ltr.nodes \
|
checkbutton.ltr.ui checkbutton.ltr.nodes \
|
||||||
checkbutton.rtl.ui checkbutton.rtl.nodes \
|
checkbutton.rtl.ui checkbutton.rtl.nodes \
|
||||||
|
combobox.ui combobox.nodes \
|
||||||
entries.ui entries.nodes \
|
entries.ui entries.nodes \
|
||||||
expander.ltr.ui expander.ltr.nodes \
|
expander.ltr.ui expander.ltr.nodes \
|
||||||
expander.rtl.ui expander.rtl.nodes \
|
expander.rtl.ui expander.rtl.nodes \
|
||||||
|
39
testsuite/css/nodes/combobox.nodes
Normal file
39
testsuite/css/nodes/combobox.nodes
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
[window.background:dir(ltr)]
|
||||||
|
decoration:dir(ltr)
|
||||||
|
[box.horizontal:dir(ltr)]
|
||||||
|
combobox:dir(ltr)
|
||||||
|
box.linked.horizontal:dir(ltr)
|
||||||
|
button.combo:dir(ltr)
|
||||||
|
box.horizontal:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
arrow:dir(ltr)
|
||||||
|
[window.background.popup:dir(ltr)]
|
||||||
|
decoration:dir(ltr)
|
||||||
|
[menu#gtk-combobox-popup-menu:dir(ltr)]
|
||||||
|
[arrow.top:dir(ltr)]
|
||||||
|
menuitem:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
menuitem:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
menuitem:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
[arrow.bottom:dir(ltr)]
|
||||||
|
combobox:dir(ltr)
|
||||||
|
box.linked.horizontal:dir(ltr)
|
||||||
|
entry.combo:dir(ltr)
|
||||||
|
undershoot.left:dir(ltr)
|
||||||
|
undershoot.right:dir(ltr)
|
||||||
|
button.combo:dir(ltr)
|
||||||
|
box.horizontal:dir(ltr)
|
||||||
|
arrow:dir(ltr)
|
||||||
|
[window.background.popup:dir(ltr)]
|
||||||
|
decoration:dir(ltr)
|
||||||
|
[menu#gtk-combobox-popup-menu:dir(ltr)]
|
||||||
|
[arrow.top:dir(ltr)]
|
||||||
|
menuitem:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
menuitem:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
menuitem:dir(ltr)
|
||||||
|
cellview:dir(ltr)
|
||||||
|
[arrow.bottom:dir(ltr)]
|
33
testsuite/css/nodes/combobox.ui
Normal file
33
testsuite/css/nodes/combobox.ui
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<?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="GtkBox" id="box1">
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="combo1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<items>
|
||||||
|
<item id="one">One</item>
|
||||||
|
<item id="two">Two</item>
|
||||||
|
<item id="three">Three</item>
|
||||||
|
</items>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="combo2">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="has-entry">True</property>
|
||||||
|
<items>
|
||||||
|
<item id="one">One</item>
|
||||||
|
<item id="two">Two</item>
|
||||||
|
<item id="three">Three</item>
|
||||||
|
</items>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
Loading…
Reference in New Issue
Block a user