* [Entry] Add e_widget_entry_clear()

SVN revision: 25067
This commit is contained in:
moom 2006-08-23 10:51:35 +00:00 committed by moom
parent dcfb49efa5
commit 0479a753cd
1 changed files with 17 additions and 2 deletions

View File

@ -99,6 +99,21 @@ e_widget_entry_text_get(Evas_Object *entry)
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);
}
/**
* Sets whether or not the entry widget is in password mode. In password mode,
* the entry displays '*' instead of the characters