Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : docs

Dir     : e17/docs/ewlbook/translations/es/xml


Modified Files:
        appendix-ewl_media_example.es.xml getting_started.es.xml 
        widgets.es.xml 


Log Message:
Update documentation to latest EWL API.

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/docs/ewlbook/translations/es/xml/appendix-ewl_media_example.es.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- appendix-ewl_media_example.es.xml   22 Aug 2004 17:52:09 -0000      1.1
+++ appendix-ewl_media_example.es.xml   3 Oct 2005 18:55:32 -0000       1.2
@@ -141,7 +141,8 @@
     ewl_widget_show(b);
 
     /* create the time widget now so we can pass it to the video as data */
-    time = ewl_text_new("00:00:00");
+    time = ewl_text_new();
+    ewl_text_text_set(EWL_TEXT(time), "00:00:00");
 
     /* the video */
     video = ewl_media_new(file);
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/docs/ewlbook/translations/es/xml/getting_started.es.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- getting_started.es.xml      7 Sep 2004 13:16:18 -0000       1.2
+++ getting_started.es.xml      3 Oct 2005 18:55:32 -0000       1.3
@@ -277,7 +277,7 @@
     ewl_widget_show(box);
 
     /* create text label */
-    label = ewl_text_new(NULL);
+    label = ewl_text_new();
     ewl_container_child_append(EWL_CONTAINER(box), label);
     ewl_object_alignment_set(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER);
     ewl_text_style_set(EWL_TEXT(label), "soft_shadow");
@@ -286,7 +286,7 @@
     ewl_widget_show(label);
 
     /* create the entry */
-    o = ewl_entry_new("");
+    o = ewl_entry_new();
     ewl_container_child_append(EWL_CONTAINER(box), o);
     ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
     ewl_object_padding_set(EWL_OBJECT(o), 5, 5, 5, 0);
@@ -411,7 +411,7 @@
 </para>
 
 <programlisting role="C">
-    label = ewl_text_new(NULL);
+    label = ewl_text_new();
     ewl_container_child_append(EWL_CONTAINER(box), label);
     ewl_object_alignment_set(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER);
     ewl_text_style_set(EWL_TEXT(label), "soft_shadow");
@@ -456,7 +456,7 @@
 </para>
 
 <programlisting role="C">
-    o = ewl_entry_new("");
+    o = ewl_entry_new();
     ewl_container_append_child(EWL_CONTAINER(box), o);
     ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
     ewl_object_padding_set(EWL_OBJECT(o), 5, 5, 5, 0);
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/docs/ewlbook/translations/es/xml/widgets.es.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- widgets.es.xml      7 Sep 2004 13:16:18 -0000       1.2
+++ widgets.es.xml      3 Oct 2005 18:55:32 -0000       1.3
@@ -234,7 +234,8 @@
     Ewl_Widget *dialog = NULL;
     Ewl_Widget *o = NULL;
 
-    o = ewl_text_new("a dialog eh");
+    o = ewl_text_new();
+    ewl_text_text_set(EWL_TEXT(o), "a dialog eh");
     ewl_object_alignment_set(EWL_OBJECT(o),
     EWL_FLAG_ALIGN_CENTER);
     ewl_widget_show(o);
@@ -476,7 +477,8 @@
 <example>
  <title>Ewl_Image</title>
   <programlisting>
-    Ewl_Widget *i = ewl_image_new("/usr/foo/img.png", NULL);
+    Ewl_Widget *i = ewl_image_new();
+    ewl_image_file_set(EWL_IMAGE(i), "/usr/foo/img.png", NULL);
     ewl_widget_show(i);
  </programlisting>
 </example>
@@ -711,7 +713,8 @@
 <example id="sec-EwlTextCode">
 <title>Código Ewl_Text</title>
 <programlisting role="C">
-    Ewl_Widget *text = ewl_text_new("text");
+    Ewl_Widget *text = ewl_text_new();
+    ewl_text_text_set(EWL_TEXT(text), "text");
     ewl_widget_show(text);
 </programlisting>
 </example>




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to