Enlightenment CVS committal Author : moom Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_widget_entry.c Log Message: * [Entry] Add e_widget_entry_clear() =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_entry.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- e_widget_entry.c 20 Aug 2006 06:42:20 -0000 1.16 +++ e_widget_entry.c 23 Aug 2006 10:51:35 -0000 1.17 @@ -73,7 +73,7 @@ * @param entry an entry widget * @param text the text to set */ -EAPI void +EAPI void e_widget_entry_text_set(Evas_Object *entry, const char *text) { E_Widget_Data *wd; @@ -89,7 +89,7 @@ * @param entry an entry widget * @return Returns the text of the entry widget */ -EAPI const char * +EAPI const char * e_widget_entry_text_get(Evas_Object *entry) { E_Widget_Data *wd; @@ -97,6 +97,21 @@ if (!(entry) || (!(wd = e_widget_data_get(entry)))) return NULL; return e_entry_text_get(wd->o_entry); +} + +/** + * Clears the entry widget + * + * @param entry an entry widget + */ +EAPI void +e_widget_entry_clear(Evas_Object *entry) +{ + E_Widget_Data *wd; + + if (!(entry) || (!(wd = e_widget_data_get(entry)))) + return; + e_entry_clear(wd->o_entry); } /** ------------------------------------------------------------------------- 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