parent
dcfb49efa5
commit
0479a753cd
|
@ -73,7 +73,7 @@ e_widget_entry_add(Evas *evas, char **text_location)
|
||||||
* @param entry an entry widget
|
* @param entry an entry widget
|
||||||
* @param text the text to set
|
* @param text the text to set
|
||||||
*/
|
*/
|
||||||
EAPI void
|
EAPI void
|
||||||
e_widget_entry_text_set(Evas_Object *entry, const char *text)
|
e_widget_entry_text_set(Evas_Object *entry, const char *text)
|
||||||
{
|
{
|
||||||
E_Widget_Data *wd;
|
E_Widget_Data *wd;
|
||||||
|
@ -89,7 +89,7 @@ e_widget_entry_text_set(Evas_Object *entry, const char *text)
|
||||||
* @param entry an entry widget
|
* @param entry an entry widget
|
||||||
* @return Returns the text of the 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_entry_text_get(Evas_Object *entry)
|
||||||
{
|
{
|
||||||
E_Widget_Data *wd;
|
E_Widget_Data *wd;
|
||||||
|
@ -99,6 +99,21 @@ e_widget_entry_text_get(Evas_Object *entry)
|
||||||
return e_entry_text_get(wd->o_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,
|
* Sets whether or not the entry widget is in password mode. In password mode,
|
||||||
* the entry displays '*' instead of the characters
|
* the entry displays '*' instead of the characters
|
||||||
|
|
Loading…
Reference in New Issue