Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin


Modified Files:
        ewl_embed_test.c 


Log Message:
Add a title that slides with the moving glass to demonstrate moving widgets
within an embed.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/ewl_embed_test.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ewl_embed_test.c    22 Jun 2006 00:25:44 -0000      1.13
+++ ewl_embed_test.c    26 Jun 2006 03:09:07 -0000      1.14
@@ -214,6 +214,30 @@
 
        ewl_widget_disable(button[1]);
 
+       /*
+        * Setup the third ewl embed
+        */
+       emb = ewl_embed_new();
+       ewl_object_fill_policy_set(EWL_OBJECT(emb), EWL_FLAG_FILL_ALL);
+       eo = ewl_embed_evas_set(EWL_EMBED(emb), evas, 
+                         (void *) ecore_evas_software_x11_window_get(ee));
+       ewl_embed_focus_set(EWL_EMBED(emb), TRUE);
+       ewl_widget_show(emb);
+
+       /*
+        * swallow it into the edje
+        */
+       edje_object_part_geometry_get(edje, "swallow3", &x, &y, &w, &h);
+       evas_object_move(eo, x, y);
+       evas_object_resize(eo, w, h);
+       edje_object_part_swallow(edje, "swallow3", eo);
+       evas_object_show(eo);
+
+       wg = ewl_label_new();
+       ewl_label_text_set(EWL_LABEL(wg), "Open the glass");
+       ewl_container_child_append(EWL_CONTAINER(emb), wg);
+       ewl_widget_show(wg);
+
        ewl_main();
        
        return 0;



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to