Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : docs

Dir     : e17/docs/ewlbook/xml


Modified Files:
        getting_started.xml widgets.xml 


Log Message:
Update docs to latest ewl entry api.

===================================================================
RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/xml/getting_started.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- getting_started.xml 26 Aug 2004 03:04:54 -0000      1.8
+++ getting_started.xml 6 Sep 2004 18:45:06 -0000       1.9
@@ -241,7 +241,7 @@
     Ewl_Widget *label = NULL;
     char buf[BUFSIZ];
 
-    s = ewl_entry_get_text(EWL_ENTRY(w));
+    s = ewl_entry_text_get(EWL_ENTRY(w));
     label = (Ewl_Widget *)data;
 
     snprintf(buf, BUFSIZ, "Hello %s", s);
@@ -339,7 +339,7 @@
     Ewl_Widget *label = NULL;
     char buf[BUFSIZ];
 
-    s = ewl_entry_get_text(EWL_ENTRY(w));
+    s = ewl_entry_text_get(EWL_ENTRY(w));
     label = (Ewl_Widget *)data;
 
     snprintf(buf, BUFSIZ, "Hello %s", s);
@@ -357,7 +357,7 @@
 
 <para>
 The text that has been entered is retrieved with a call to 
-<function>ewl_entry_get_text()</function> passing the entry widget from which
+<function>ewl_entry_text_get()</function> passing the entry widget from which
 we want to retrieve the text. This will return a pointer to the text string, 
 it is the applications responsibility to free this pointer.
 </para>
===================================================================
RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/xml/widgets.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- widgets.xml 26 Aug 2004 03:04:54 -0000      1.12
+++ widgets.xml 6 Sep 2004 18:45:06 -0000       1.13
@@ -398,22 +398,22 @@
   <title>Ewl_Entry value changed callback</title>
   <programlisting role="C">
 void entry_cb(Ewl_Widget *w, void *event, void *data) {
-    char *s = ewl_entry_get_text(EWL_ENTRY(w));
+    char *s = ewl_entry_text_get(EWL_ENTRY(w));
     printf("%s\n", s);
 
-    ewl_entry_set_text(EWL_ENTRY(w), "New Text");
+    ewl_entry_text_set(EWL_ENTRY(w), "New Text");
 }
   </programlisting>
  </example>
 This callback grabs the current value of the entry widget with the call to
-<function>ewl_entry_get_text()</function> and then resets the text to the 
-value of 'New Text' by calling <function>ewl_entry_set_text()</function>.
+<function>ewl_entry_text_get()</function> and then resets the text to the 
+value of 'New Text' by calling <function>ewl_entry_text_set()</function>.
 </para>
 
 <para>
 The <literal>Ewl_Entry</literal> object allows you to set whether or not the
 text is editable with a call to 
-<function>void ewl_entry_set_editable(Ewl_Entry *, unsigned int edit)</function>
+<function>void ewl_entry_editable_set(Ewl_Entry *, unsigned int edit)</function>
 where <literal>edit</literal> is 0 for uneditable and editable otherwise.
 </para>
 </sect1>




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to