]> Pileus Git - ~andy/gtk/commitdiff
Add a frame to the examples
authorMatthias Clasen <mclasen@redhat.com>
Sat, 1 May 2010 03:51:56 +0000 (23:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 2 May 2010 01:40:44 +0000 (21:40 -0400)
tests/extendedlayoutexample.c

index 11d9047adf18ff90ec539dfba4ca7edb38677710..9a54295ad469ad01f52f2da3dec30599ef29828c 100644 (file)
@@ -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>"