[gtk/matthiasc/for-master] testsuite: Test GtkOverlay rewriting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] testsuite: Test GtkOverlay rewriting
- Date: Sun, 1 Nov 2020 19:55:06 +0000 (UTC)
commit f62bc597b395b3e595ba0bceafb650161cb215bd
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 1 11:12:50 2020 -0500
testsuite: Test GtkOverlay rewriting
testsuite/tools/simplify-data-3to4/overlay.expected | 17 +++++++++++++++++
testsuite/tools/simplify-data-3to4/overlay.ui | 20 ++++++++++++++++++++
2 files changed, 37 insertions(+)
---
diff --git a/testsuite/tools/simplify-data-3to4/overlay.expected
b/testsuite/tools/simplify-data-3to4/overlay.expected
new file mode 100644
index 0000000000..67e6ccade1
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/overlay.expected
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkOverlay">
+ <child type="overlay">
+ <object class="GtkButton" id="button">
+ <property name="can-target">0</property>
+ <property name="icon-name">document-new</property>
+ </object>
+ </child>
+ <property name="child">
+ <object class="GtkLabel" id="label">
+ <property name="visible">0</property>
+ </object>
+ </property>
+ </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/overlay.ui b/testsuite/tools/simplify-data-3to4/overlay.ui
new file mode 100644
index 0000000000..d83a16149f
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/overlay.ui
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkOverlay">
+ <property name="visible">1</property>
+ <child type="overlay">
+ <object class="GtkButton" id="button">
+ <property name="visible">1</property>
+ <property name="icon-name">document-new</property>
+ </object>
+ <packing>
+ <property name="pass-through">True</property>
+ <property name="index">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label"/>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]