2 * @defgroup Searchbar Searchbar
3 * @addtogroup Searchbar
8 * It can contain a simple entry and button object.
12 * Add a new searchbar to the parent
13 * @param parent The parent object
14 * @return The new object or NULL if it cannot be created
16 EAPI Evas_Object *elm_searchbar_add(Evas_Object *parent);
18 * set the text of entry
20 * @param obj The searchbar object
23 EAPI void elm_searchbar_text_set(Evas_Object *obj, const char *entry);
25 * get the text of entry
27 * @param obj The searchbar object
28 * @return string pointer of entry
30 EAPI const char *elm_searchbar_text_get(Evas_Object *obj);
32 * get the pointer of entry
34 * @param obj The searchbar object
35 * @return the entry object
37 EAPI Evas_Object *elm_searchbar_entry_get(Evas_Object *obj);
39 * get the pointer of editfield
41 * @param obj The searchbar object
42 * @return the editfield object
44 EAPI Evas_Object *elm_searchbar_editfield_get(Evas_Object *obj);
46 * set the cancel button animation flag
48 * @param obj The searchbar object
49 * @param cancel_btn_ani_flag The flag of animating cancen button or not
52 EAPI void elm_searchbar_cancel_button_animation_set(Evas_Object *obj, Eina_Bool cancel_btn_ani_flag);
54 * set the cancel button show mode
56 * @param obj The searchbar object
57 * @param visible The flag of cancen button show or not
60 EAPI void elm_searchbar_cancel_button_set(Evas_Object *obj, Eina_Bool visible);
62 * clear searchbar status
64 * @param obj The searchbar object
67 EAPI void elm_searchbar_clear(Evas_Object *obj);
69 * set the searchbar boundary rect mode(with bg rect) set
71 * @param obj The searchbar object
72 * @param boundary The present flag of boundary rect or not
75 EAPI void elm_searchbar_boundary_rect_set(Evas_Object *obj, Eina_Bool boundary);