[gtk+] Add a frame to the examples



commit 4cf9ac5b4da4e5320536feb97c1553a87d5c60f5
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Apr 30 23:51:56 2010 -0400

    Add a frame to the examples

 tests/extendedlayoutexample.c |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/tests/extendedlayoutexample.c b/tests/extendedlayoutexample.c
index 11d9047..9a54295 100644
--- a/tests/extendedlayoutexample.c
+++ b/tests/extendedlayoutexample.c
@@ -125,14 +125,20 @@ TestInterface interfaces[] = {
     "              </packing>"
     "            </child>"
     "            <child>"
-    "              <object class=\"GtkLabel\" id=\"label1\">"
+    "              <object class=\"GtkFrame\" id=\"frame1\">"
+    "                <property name=\"label\">Long label</property>"
     "                <property name=\"visible\">True</property>"
-    "                <property name=\"label\" translatable=\"yes\">This is a really long label for the purpose of testing line wrapping is working correctly in conjunction with height-for-width support in GTK+</property>"
-    "                <property name=\"wrap\">True</property>"
-    "                <property name=\"max_width_chars\">30</property>"
-    "                <attributes>"
-    "                  <attribute name=\"foreground\" value=\"#18c52119f796\"/>"
-    "                </attributes>"
+    "                <child>"
+    "                  <object class=\"GtkLabel\" id=\"label1\">"
+    "                    <property name=\"visible\">True</property>"
+    "                    <property name=\"label\" translatable=\"yes\">This is a really long label for the purpose of testing line wrapping is working correctly in conjunction with height-for-width support in GTK+</property>"
+    "                    <property name=\"wrap\">True</property>"
+    "                    <property name=\"max_width_chars\">30</property>"
+    "                    <attributes>"
+    "                      <attribute name=\"foreground\" value=\"#18c52119f796\"/>"
+    "                    </attributes>"
+    "                  </object>"
+    "                </child>"
     "              </object>"
     "              <packing>"
     "                <property name=\"expand\">False</property>"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]