reftests: Remove event box usage

This commit is contained in:
Benjamin Otte 2017-08-02 10:52:30 +01:00
parent bb238894dc
commit 64b7308328
22 changed files with 91 additions and 91 deletions

View File

@ -16,7 +16,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkImage" id="image1">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -28,7 +28,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkImage" id="image2">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -49,7 +49,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkImage" id="image3">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -61,7 +61,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox4">
<object class="GtkImage" id="image4">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -82,7 +82,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox5">
<object class="GtkImage" id="image5">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -94,7 +94,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox6">
<object class="GtkImage" id="image6">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -115,7 +115,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox7">
<object class="GtkImage" id="image7">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -127,7 +127,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox8">
<object class="GtkImage" id="image8">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -153,7 +153,7 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEventBox" id="eventbox9">
<object class="GtkImage" id="image9">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -165,7 +165,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox10">
<object class="GtkImage" id="image10">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -187,7 +187,7 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEventBox" id="eventbox11">
<object class="GtkImage" id="image11">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -199,7 +199,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox12">
<object class="GtkImage" id="image12">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -221,7 +221,7 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEventBox" id="eventbox13">
<object class="GtkImage" id="image13">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -233,7 +233,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox14">
<object class="GtkImage" id="image14">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -255,7 +255,7 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEventBox" id="eventbox15">
<object class="GtkImage" id="image15">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -267,7 +267,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox16">
<object class="GtkImage" id="image16">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -294,7 +294,7 @@
<property name="can_focus">False</property>
<property name="orientation">horizontal</property>
<child>
<object class="GtkEventBox" id="eventbox17">
<object class="GtkImage" id="image17">
<property name="name">red</property>
<property name="width_request">10</property>
<property name="height_request">30</property>
@ -303,7 +303,7 @@
</object>
</child>
<child>
<object class="GtkEventBox" id="eventbox18">
<object class="GtkImage" id="image18">
<property name="name">green</property>
<property name="width_request">10</property>
<property name="height_request">30</property>
@ -312,7 +312,7 @@
</object>
</child>
<child>
<object class="GtkEventBox" id="eventbox19">
<object class="GtkImage" id="image19">
<property name="name">red</property>
<property name="width_request">20</property>
<property name="height_request">30</property>
@ -321,7 +321,7 @@
</object>
</child>
<child>
<object class="GtkEventBox" id="eventbox20">
<object class="GtkImage" id="image20">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">30</property>
@ -330,7 +330,7 @@
</object>
</child>
<child>
<object class="GtkEventBox" id="eventbox21">
<object class="GtkImage" id="image21">
<property name="name">red</property>
<property name="width_request">40</property>
<property name="height_request">30</property>
@ -339,7 +339,7 @@
</object>
</child>
<child>
<object class="GtkEventBox" id="eventbox22">
<object class="GtkImage" id="image22">
<property name="name">green</property>
<property name="width_request">40</property>
<property name="height_request">30</property>

View File

@ -16,7 +16,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkImage" id="image1">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -31,7 +31,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkImage" id="image2">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -55,7 +55,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkImage" id="image3">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -71,7 +71,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox4">
<object class="GtkImage" id="image4">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -95,7 +95,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox5">
<object class="GtkImage" id="image5">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -110,7 +110,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox6">
<object class="GtkImage" id="image6">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -135,7 +135,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox7">
<object class="GtkImage" id="image7">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -151,7 +151,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox8">
<object class="GtkImage" id="image8">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -180,7 +180,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox9">
<object class="GtkImage" id="image9">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -195,7 +195,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox10">
<object class="GtkImage" id="image10">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -219,7 +219,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox11">
<object class="GtkImage" id="image11">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -237,7 +237,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox12">
<object class="GtkImage" id="image12">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -261,7 +261,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox13">
<object class="GtkImage" id="image13">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -276,7 +276,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox14">
<object class="GtkImage" id="image14">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -301,7 +301,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox15">
<object class="GtkImage" id="image15">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -317,7 +317,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox16">
<object class="GtkImage" id="image16">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -347,7 +347,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox17">
<object class="GtkImage" id="image17">
<property name="name">red</property>
<property name="width_request">10</property>
<property name="height_request">30</property>
@ -362,7 +362,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox18">
<object class="GtkImage" id="image18">
<property name="name">green</property>
<property name="width_request">10</property>
<property name="height_request">30</property>
@ -378,7 +378,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox19">
<object class="GtkImage" id="image19">
<property name="name">red</property>
<property name="width_request">20</property>
<property name="height_request">30</property>
@ -393,7 +393,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox20">
<object class="GtkImage" id="image20">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">30</property>
@ -409,7 +409,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox21">
<object class="GtkImage" id="image21">
<property name="name">red</property>
<property name="width_request">40</property>
<property name="height_request">30</property>
@ -424,7 +424,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox22">
<object class="GtkImage" id="image22">
<property name="name">green</property>
<property name="width_request">40</property>
<property name="height_request">30</property>

View File

@ -1,11 +1,11 @@
GtkEventBox {
box {
background-color: blue
}
GtkGrid GtkEventBox {
grid box {
background-color: red
}
window > GtkGrid GtkEventBox {
window > grid box {
background-color: blue
}

View File

@ -5,7 +5,7 @@
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="visible">True</property>

View File

@ -13,7 +13,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="visible">True</property>

View File

@ -4,6 +4,6 @@
background-color: lime;
}
GtkGrid {
grid {
background-color: red;
}

View File

@ -11,7 +11,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="visible">True</property>

View File

@ -1,3 +1,3 @@
GtkEventBox {
box {
background-color: lime
}

View File

@ -11,7 +11,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">45</property>
<property name="height_request">10</property>
<property name="visible">True</property>
@ -28,7 +28,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkBox" id="box2">
<property name="width_request">45</property>
<property name="height_request">45</property>
<property name="visible">True</property>
@ -45,7 +45,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkBox" id="box3">
<property name="width_request">10</property>
<property name="height_request">45</property>
<property name="visible">True</property>

View File

@ -15,7 +15,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="visible">True</property>
@ -34,7 +34,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkBox" id="box2">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="visible">True</property>
@ -55,7 +55,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkBox" id="box3">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="visible">True</property>

View File

@ -9,7 +9,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -24,7 +24,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkBox" id="box2">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">20</property>
@ -39,7 +39,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkBox" id="box3">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -54,7 +54,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox4">
<object class="GtkBox" id="box4">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">30</property>
@ -69,7 +69,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox5">
<object class="GtkBox" id="box5">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -84,7 +84,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox6">
<object class="GtkBox" id="box6">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">20</property>
@ -99,7 +99,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox7">
<object class="GtkBox" id="box7">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -114,7 +114,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox8">
<object class="GtkBox" id="box8">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>

View File

@ -13,7 +13,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -28,7 +28,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkBox" id="box2">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">20</property>
@ -56,7 +56,7 @@
<property name="can_focus">False</property>
<property name="row_homogeneous">True</property>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkBox" id="box3">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -71,7 +71,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox4">
<object class="GtkBox" id="box4">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">20</property>
@ -99,7 +99,7 @@
<property name="can_focus">False</property>
<property name="column_homogeneous">True</property>
<child>
<object class="GtkEventBox" id="eventbox5">
<object class="GtkBox" id="box5">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -114,7 +114,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox6">
<object class="GtkBox" id="box6">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">20</property>
@ -143,7 +143,7 @@
<property name="row_homogeneous">True</property>
<property name="column_homogeneous">True</property>
<child>
<object class="GtkEventBox" id="eventbox7">
<object class="GtkBox" id="box7">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -158,7 +158,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox8">
<object class="GtkBox" id="box8">
<property name="name">green</property>
<property name="width_request">20</property>
<property name="height_request">20</property>

View File

@ -1,8 +1,8 @@
#red {
background-color: red;
background: red;
}
#lime {
background-color: lime;
background: lime;
}

View File

@ -11,7 +11,7 @@
<property name="row-spacing">10</property>
<property name="column-spacing">5</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -26,7 +26,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkBox" id="box2">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -41,7 +41,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkBox" id="box3">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -56,7 +56,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox4">
<object class="GtkBox" id="box4">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>

View File

@ -12,7 +12,7 @@
<property name="row-spacing">10</property>
<property name="column-spacing">5</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -27,7 +27,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox2">
<object class="GtkBox" id="box2">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -42,7 +42,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox3">
<object class="GtkBox" id="box3">
<property name="name">green</property>
<property name="width_request">30</property>
<property name="height_request">30</property>
@ -57,7 +57,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="eventbox4">
<object class="GtkBox" id="box4">
<property name="name">red</property>
<property name="width_request">30</property>
<property name="height_request">30</property>

View File

@ -40,7 +40,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="box4">
<object class="GtkBox" id="box4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>

View File

@ -42,7 +42,7 @@
</packing>
</child>
<child>
<object class="GtkEventBox" id="box4">
<object class="GtkBox" id="box4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="name">alpha</property>

View File

@ -1,3 +1,3 @@
GtkEventBox {
box {
background-color: red;
}

View File

@ -12,7 +12,7 @@
<property name="orientation">vertical</property>
<property name="position">10</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">50</property>
<property name="height_request">10</property>
<property name="visible">True</property>

View File

@ -16,7 +16,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="width_request">50</property>
<property name="height_request">50</property>
<property name="visible">True</property>

View File

@ -7,7 +7,7 @@
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>

View File

@ -7,7 +7,7 @@
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>