4 /* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR
5 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT
6 * FINAL. CALL elm_widget_api_check(ELM_INTERNAL_API_VERSION) TO CHECK
9 * How to make your own widget? like this (where wname is your widget
10 * name (space) and wparentname is you widget's parent widget name
11 * (the base widget class if its a 'root' one).
13 * #include <Elementary.h>
14 * #include "elm_priv.h"
16 * static const char ELM_WNAME_SMART_NAME[] = "elm_wname";
18 * #define ELM_WNAME_DATA_GET(o, sd) \
19 * Elm_WName_Smart_Data * sd = evas_object_smart_data_get(o)
21 * #define ELM_WNAME_CHECK(obj) \
22 * if (!obj || !elm_widget_type_check((obj), ELM_WNAME_SMART_NAME, \
26 * typedef struct _Elm_WName_Smart_Class
28 * Elm_WParentName_Smart_Class base;
29 * } Elm_WName_Smart_Class;
31 * typedef struct _Elm_WName_Smart_Data Elm_WName_Smart_Data;
32 * struct _Elm_WName_Smart_Data
34 * Elm_WParentName_Smart_Data base;
35 * Evas_Object *sub; // or any private data needed for an instance
36 * // add any other instance data here too
39 * static const char SIG_CLICKED[] = "clicked";
40 * static const Evas_Smart_Cb_Description _smart_callbacks[] = {
45 * EVAS_SMART_SUBCLASS_NEW
46 * (ELM_WNAME_SMART_NAME, _elm_wname, Elm_WName_Smart_Class,
47 * Elm_WParentName_Smart_Class, elm_wparentname_smart_class_get,
51 * _elm_wname_smart_on_focus(Evas_Object *obj)
53 * ELM_WNAME_DATA_GET(obj, sd);
55 * // handle focus going in and out - optional, but if you want to,
56 * // define this virtual function to handle it (e.g. to emit a
57 * // signal to an edje object)
59 * if (elm_widget_focus_get(obj))
61 * edje_object_signal_emit(sd->sub, "elm,action,focus", "elm");
62 * evas_object_focus_set(sd->sub, EINA_TRUE);
66 * edje_object_signal_emit(sd->sub, "elm,action,unfocus", "elm");
67 * evas_object_focus_set(sd->sub, EINA_FALSE);
74 * _elm_wname_smart_theme(Evas_Object *obj)
76 * ELM_WNAME_DATA_GET(obj, sd);
78 * if (!ELM_WIDGET_CLASS(_elm_wname_parent_sc)->theme(obj))
81 * // handle changes in theme/scale etc here. always call the
82 * // parent class's version, as even the base class implements it.
84 * elm_widget_theme_object_set(obj, sd->sub, "wname", "base",
85 * elm_widget_style_get(obj));
91 * _elm_widget_smart_disable(Evas_Object *obj)
93 * ELM_WNAME_DATA_GET(obj, sd);
95 * // optional, but handle if the widget gets disabled or not
96 * if (elm_widget_disabled_get(obj))
97 * edje_object_signal_emit(sd->sub, "elm,state,disabled", "elm");
99 * edje_object_signal_emit(sd->sub, "elm,state,enabled", "elm");
105 * _elm_wname_smart_add(Evas_Object *obj)
107 * EVAS_SMART_DATA_ALLOC(obj, Elm_WName_Smart_Data);
109 * ELM_WIDGET_CLASS(_elm_wname_parent_sc)->base.add(obj);
111 * priv->sub = edje_object_add(evas_object_evas_get(obj));
112 * // just an example having an Edje object here. if it's really the case
113 * // you have a sub edje object as a resize object, consider inheriting
114 * // from @ref elm-layout-class.
115 * elm_widget_can_focus_set(obj, EINA_TRUE);
117 * // for this widget we will add 1 sub object that is an edje object
118 * priv->sub = edje_object_add(e);
119 * // set the theme. this follows a scheme for group name like this:
120 * // "elm/WIDGETNAME/ELEMENT/STYLE"
121 * // so here it will be:
122 * // "elm/wname/base/default"
123 * // changing style changes style name from default (all widgets start
124 * // with the default style) and element is for your widget internal
125 * // structure as you see fit
126 * elm_widget_theme_object_set
127 * (obj, priv->sub, "wname", "base", "default");
128 * // listen to a signal from the edje object to produce widget smart
129 * // callback (like click)
130 * edje_object_signal_callback_add
131 * (priv->sub, "elm,action,click", "", _clicked_signal_cb, obj);
132 * // set this sub object as the "resize object". widgets get 1 resize
133 * // object that is resized along with the object wrapper.
134 * elm_widget_resize_object_set(obj, priv->sub, EINA_TRUE);
138 * _elm_wname_smart_del(Evas_Object *obj)
140 * ELM_WNAME_DATA_GET(obj, sd);
142 * // deleting 'virtual' function implementation - on deletion of
143 * // object delete object struct, etc.
145 * ELM_WIDGET_CLASS(_elm_wname_parent_sc)->base.del(obj);
149 * _elm_wname_smart_set_user(Elm_WName_Smart_Class *sc)
151 * ELM_WIDGET_CLASS(sc)->base.add = _elm_wname_smart_add;
152 * ELM_WIDGET_CLASS(sc)->base.del = _elm_wname_smart_del;
154 * ELM_WIDGET_CLASS(sc)->theme = _elm_wname_smart_theme;
155 * ELM_WIDGET_CLASS(sc)->disable = _elm_wname_smart_disable;
156 * ELM_WIDGET_CLASS(sc)->on_focus = _elm_wname_smart_on_focus;
159 * // actual API to create your widget. add more to manipulate it as
160 * // needed mark your calls with EAPI to make them "external api"
164 * elm_wname_add(Evas_Object *parent)
168 * EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
170 * obj = elm_widget_add(_elm_check_smart_class_new(), parent);
171 * if (!obj) return NULL;
173 * if (!elm_widget_sub_object_add(parent, obj))
174 * ERR("could not add %p as sub object of %p", obj, parent);
179 * // example - do "whatever" to the widget (here just emit a signal)
181 * elm_wname_whatever(Evas_Object *obj)
183 * // check if type is correct - check will return if it fails
184 * ELM_WNAME_CHECK(obj);
185 * // get widget data - type is correct and sane by this point, so this
186 * // should never fail
187 * ELM_WNAME_DATA_GET(obj, sd);
188 * // do whatever you like
189 * edje_object_signal_emit(sd->sub, "elm,state,action,whatever", "elm");
192 * // you can add more - you need to see elementary's code to know how
193 * // to handle all cases. remember this api is not stable and may
194 * change. it's internal
197 #ifndef ELM_INTERNAL_API_ARGESFSDFEFC
198 #warning "You are using an internal elementary API. This API is not stable"
199 #warning "and is subject to change. You use this at your own risk."
200 #warning "Remember to call elm_widget_api_check(ELM_INTERNAL_API_VERSION);"
201 #warning "in your widgets before you call any other elm_widget calls to do"
202 #warning "a correct runtime version check. Also remember - you don't NEED"
203 #warning "to make an Elementary widget is almost ALL cases. You can easily"
204 #warning "make a smart object with Evas's API and do everything you need"
205 #warning "there. You only need a widget if you want to seamlessly be part"
206 #warning "of the focus tree and want to transparently become a container"
207 #warning "for any number of child Elementary widgets"
208 #error "ERROR. Compile aborted."
210 #define ELM_INTERNAL_API_VERSION 7000
213 * @defgroup Widget Widgets Extension Infrastructure
215 * This section is intended for people willing to create @b custom
216 * Elementary widgets or to contribute new (useful, unique) widgets
217 * upstream. If neither is your case, this text won't be of any use
220 * Elementary widgets are built in a @b hierarchical fashion. The idea
221 * is to factorize as much code as possible between widgets with
222 * behavioral similarities, as long as to facilitate the creation of
223 * @b custom, new widgets, may the user need them.
225 * It all starts with a base class, which aggregates behaviour
226 * @b every Elementary widget is supposed to have:
227 * #Elm_Widget_Smart_Class. Every Elementary widget will be of that
228 * type, be it directly or by means of @b inheriting from it.
230 * #Elm_Widget_Smart_Class happens to be an @c Evas_Smart_Class. If
231 * you check out Evas' documentation on it, you'll see it's how one is
232 * supposed to create custom Evas objects, what Elementary widgets
235 * Once one instantiates an Elementary widget, since it inherits from
236 * #Elm_Widget_Smart_Class, the system will raise a class instance of
237 * that type for you. But that happens only @b once: the first time
238 * you ask for an Elementary widget (of a given type). All subsequent
239 * ones will only point to the very same class instance. Since it's
240 * the class which points to the functions implementing the behavior
241 * of objects of that type, all of the live instances of Elementary
242 * widgets (of that type) will share the same blob of code loaded in
243 * memory to execute their routines.
245 * Now go and take a look at #Elm_Widget_Smart_Class's fields. Because
246 * it inherits from Evas' base smart class, we got a field of that
247 * type as the first member, so that Evas can handle Elementary
248 * objects internally as if they were 'normal' Evas objects. Evas has
249 * the Evas-only behavior function pointers in there, so it's all it
252 * Then, comes a version field, so that whenever we got to update or
253 * change the fields on our base smart class, there'll be a runtime
254 * check of the version expected by Elementary and the one provided by
255 * any code linking with it. A mismatch will show the developer of
256 * that code he/she needs to recompile and link its code to a newer
257 * version of Elementary.
259 * The next fields are the class functions themselves. We call them
260 * 'virtual' because, as in object-oriented languages, one is supposed
261 * here to override them on inheriting classes. On most of
262 * inheritances you'll probably want to call the parent's version of
263 * the class function too: you must analyse each case to tell.
265 * Take a look at #Elm_Widget_Smart_Data. That's private data bound to
266 * each Elementary object @b instance. It aggregates data needed for
267 * all widgets, since it's meant for the #Elm_Widget_Smart_Class-typed
270 * When inheriting from that base type, instance data for this new
271 * class has to have, as the first member, a field of type
272 * #Elm_Widget_Smart_Data. This has to be respected recursively -- if
273 * a third class is to be created inheriting from the one that is a
274 * direct 'child' of #Elm_Widget_Smart_Class, then the private data on
275 * this third class has to have, as its first field, a variable of the
276 * type of the private data of the second class (its parent), direct
277 * child of #Elm_Widget_Smart_Class.
279 * It is from the base private data, #Elm_Widget_Smart_Data, that we
280 * reach an object's class functions, by the given object
281 * instance. This is the reason of the first field of that struct: a
282 * pointer set to point to its class when the object is instantiated.
284 * The following figure illustrates the widget inheritance schema.
286 * @image html elm-widget-hierarchy.png
287 * @image rtf elm-widget-hierarchy.png
288 * @image latex elm-widget-hierarchy.eps
290 * @section elm-hierarchy-tree Elementary Widgets Hierarchy Tree
292 * The following figure illustrates the Elementary widget inheritance
295 * @image html elm-widget-tree.png
296 * @image rtf elm-widget-tree.png
297 * @image latex elm-widget-tree.eps
305 /* Elm_Activate is used in 'Virtual' function Eina_Bool (*activate)
306 * (Evas_Object *obj, Elm_Activate act); of Elm_Widget_Smart_Class */
309 ELM_ACTIVATE_DEFAULT = 0,
317 /* Please, ALWAYS update the ELM_WIDGET_SMART_CLASS_INIT macro
318 * whenever you change the following struct! */
321 * Base widget smart class. It has the 'virtual' functions for all
322 * general, common actions on Elementary widgets.
324 typedef struct _Elm_Widget_Smart_Class
326 Evas_Smart_Class base; /**< Base smart class struct, needed for all smart objects */
327 int version; /**< Version of this smart class definition */
329 void (*parent_set)(Evas_Object *obj,
330 Evas_Object *parent); /**< 'Virtual' function handling parent widget attachment to new object */
331 Eina_Bool (*on_focus)(Evas_Object *obj); /**< 'Virtual' function handling focus in/out events on the widget */
332 Eina_Bool (*disable)(Evas_Object *obj); /**< 'Virtual' function on the widget being disabled */
333 Eina_Bool (*theme)(Evas_Object *obj); /**< 'Virtual' function on the widget being re-themed */
334 Eina_Bool (*translate)(Evas_Object *obj); /**< 'Virtual' function handling language changes on Elementary */
335 Eina_Bool (*event)(Evas_Object *obj,
337 Evas_Callback_Type type,
338 void *event_info); /**< 'Virtual' function handling input events on the widget */
339 Eina_Bool (*on_focus_region)(const Evas_Object *obj,
343 Evas_Coord *h); /**< 'Virtual' function returning an inner area of a widget that should be brought into the visible area of a broader viewport, may this context arise. On the base Elementary widget class, it defaults to the object's total area, so only override it if you have to. */
344 Eina_Bool (*focus_next)(const Evas_Object *obj,
345 Elm_Focus_Direction dir,
346 Evas_Object **next); /**< 'Virtual' function handling passing focus to sub-objects */
347 Eina_Bool (*focus_direction)(const Evas_Object *obj,
348 const Evas_Object *base,
350 Evas_Object **target,
351 double *weight); /**< 'Virtual' function handling passing focus to sub-objects <b>given a direction, in degrees</b> */
353 Eina_Bool (*sub_object_add)(Evas_Object *obj,
354 Evas_Object *sobj); /**< 'Virtual' function handling sub objects being added */
356 Eina_Bool (*sub_object_del)(Evas_Object *obj,
357 Evas_Object *sobj); /**< 'Virtual' function handling sub objects being removed */
358 void (*access)(Evas_Object *obj,
359 Eina_Bool is_access); /**< 'Virtual' function on the widget being set access */
360 Eina_Bool (*activate)(Evas_Object *obj,
361 Elm_Activate act); /**< 'Virtual' function to activate widget */
362 } Elm_Widget_Smart_Class;
365 * Base widget smart data. This is data bound to an Elementary object
366 * @b instance, so its particular to that specific object and not
367 * shared between all objects in its class. It is here, though, that
368 * we got a pointer to the object's class, the first field -- @c
371 typedef struct _Elm_Widget_Smart_Data
374 Evas_Object *parent_obj;
375 Evas_Object *parent2;
376 Evas_Coord x, y, w, h;
378 Evas_Object *resize_obj;
379 Evas_Object *hover_obj;
380 Eina_List *tooltips, *cursors;
381 Evas_Object *focus_previous, *focus_next;
382 Evas_Object *focus_up, *focus_down, *focus_right, *focus_left;
384 /* "show region" coordinates. all widgets got those because this
385 * info may be set and queried recursively through the widget
387 Evas_Coord rx, ry, rw, rh;
389 /* scrolling hold/freeze hints. all widgets got those because this
390 * info may be set and queried recursively through the widget
398 const char *focus_highlight_style; /**< custom focus style for a widget */
399 const char *access_info;
400 unsigned int focus_order;
401 Eina_Bool focus_order_on_calc;
403 int child_drag_x_locked;
404 int child_drag_y_locked;
406 Eina_Inlist *translate_strings;
407 Eina_List *focus_chain;
410 /* this is a hook to be set on-the-fly on widgets. this is code
411 * handling the request of showing a specific region from an inner
412 * widget (mainly issued by entries, on cursor moving) */
413 void *on_show_region_data;
414 void (*on_show_region)(void *data,
417 int orient_mode; /* -1 is disabled */
419 Eina_Bool drag_x_locked : 1;
420 Eina_Bool drag_y_locked : 1;
422 Eina_Bool can_focus : 1;
423 Eina_Bool child_can_focus : 1;
424 Eina_Bool focused : 1;
425 Eina_Bool top_win_focused : 1;
426 Eina_Bool tree_unfocusable : 1;
427 Eina_Bool highlight_ignore : 1;
428 Eina_Bool highlight_in_theme : 1;
429 Eina_Bool access_highlight_in_theme : 1;
430 Eina_Bool disabled : 1;
431 Eina_Bool is_mirrored : 1;
432 Eina_Bool mirrored_auto_mode : 1; /* This is
435 Eina_Bool still_in : 1;
436 Eina_Bool highlighted : 1;
437 Eina_Bool highlight_root : 1;
438 Eina_Bool on_translate : 1; /**< This is true when any types of elm translate function is being called. */
439 Eina_Bool on_create : 1; /**< This is true when the widget is on creation(general widget constructor). */
440 } Elm_Widget_Smart_Data;
446 typedef struct _Elm_Tooltip Elm_Tooltip;
447 typedef struct _Elm_Cursor Elm_Cursor;
449 /**< base structure for all widget items that are not Elm_Widget themselves */
450 typedef struct _Elm_Widget_Item Elm_Widget_Item;
451 typedef struct _Elm_Widget_Item_Signal_Data Elm_Widget_Item_Signal_Data;
453 /**< accessibility information to be able to set and get from the access API */
454 typedef struct _Elm_Access_Info Elm_Access_Info;
456 /**< accessibility info item */
457 typedef struct _Elm_Access_Item Elm_Access_Item;
459 typedef struct _Elm_Action Elm_Action;
461 typedef void (*Elm_Widget_Text_Set_Cb)(void *data, const char *part, const char *text);
462 typedef void (*Elm_Widget_Content_Set_Cb)(void *data, const char *part, Evas_Object *content);
463 typedef const char *(*Elm_Widget_Text_Get_Cb)(const void *data, const char *part);
464 typedef Evas_Object *(*Elm_Widget_Content_Get_Cb)(const void *data, const char *part);
465 typedef Evas_Object *(*Elm_Widget_Content_Unset_Cb)(const void *data, const char *part);
466 typedef void (*Elm_Widget_Signal_Emit_Cb)(void *data, const char *emission, const char *source);
467 typedef void (*Elm_Widget_Disable_Cb)(void *data);
468 typedef Eina_Bool (*Elm_Widget_Del_Pre_Cb)(void *data);
469 typedef void (*Elm_Widget_Item_Signal_Cb)(void *data, Elm_Widget_Item *item, const char *emission, const char *source);
470 typedef void (*Elm_Widget_Style_Set_Cb)(void *data, const char *style);
471 typedef const char *(*Elm_Widget_Style_Get_Cb)(const void *data);
472 typedef void (*Elm_Widget_Focus_Set_Cb)(void *data, Eina_Bool focused);
473 typedef Eina_Bool (*Elm_Widget_Focus_Get_Cb)(const void *data);
475 #define ELM_ACCESS_DONE -1 /* sentence done - send done event here */
476 #define ELM_ACCESS_CANCEL -2 /* stop reading immediately */
478 typedef void (*Elm_Access_On_Highlight_Cb)(void *data);
480 struct _Elm_Access_Item
484 Elm_Access_Info_Cb func;
487 struct _Elm_Access_Info
489 Evas_Object *hoverobj;
491 Ecore_Timer *delay_timer;
492 void *on_highlight_data;
493 Elm_Access_On_Highlight_Cb on_highlight;
496 Elm_Access_Activate_Cb activate;
498 /* the owner widget item that owns this access info */
499 Elm_Widget_Item *widget_item;
501 /* the owner part object that owns this access info */
502 Evas_Object *part_object;
511 void (*func)(Evas_Object *obj, const char *params);
514 void _elm_access_shutdown();
515 void _elm_access_mouse_event_enabled_set(Eina_Bool enabled);
517 /* if auto_higlight is EINA_TRUE, it does not steal a focus, it just moves a highlight */
518 void _elm_access_auto_highlight_set(Eina_Bool enabled);
519 Eina_Bool _elm_access_auto_highlight_get(void);
520 void _elm_access_widget_item_access_order_set(Elm_Widget_Item *item, Eina_List *objs);
521 const Eina_List *_elm_access_widget_item_access_order_get(const Elm_Widget_Item *item);
522 void _elm_access_widget_item_access_order_unset(Elm_Widget_Item *item);
523 void _elm_widget_focus_highlight_start(const Evas_Object *obj);
524 void _elm_win_focus_highlight_start(Evas_Object *obj);
526 EAPI void _elm_access_clear(Elm_Access_Info *ac);
527 EAPI void _elm_access_text_set(Elm_Access_Info *ac, int type, const char *text);
528 EAPI void _elm_access_callback_set(Elm_Access_Info *ac, int type, Elm_Access_Info_Cb func, const void *data);
529 EAPI char *_elm_access_text_get(const Elm_Access_Info *ac, int type, const Evas_Object *obj); /* this is ok it actually returns a strduped string - it's meant to! */
530 EAPI void _elm_access_read(Elm_Access_Info *ac, int type, const Evas_Object *obj);
531 EAPI void _elm_access_say(const char *txt);
532 EAPI Elm_Access_Info *_elm_access_info_get(const Evas_Object *obj);
533 EAPI void _elm_access_object_highlight(Evas_Object *obj);
534 EAPI void _elm_access_object_unhilight(Evas_Object *obj);
535 EAPI void _elm_access_object_highlight_disable(Evas *e);
536 EAPI void _elm_access_object_register(Evas_Object *obj, Evas_Object *hoverobj);
537 EAPI void _elm_access_object_unregister(Evas_Object *obj, Evas_Object *hoverobj);
538 EAPI Eina_Bool _elm_access_2nd_click_timeout(Evas_Object *obj);
539 EAPI void _elm_access_highlight_set(Evas_Object* obj);
540 EAPI Evas_Object * _elm_access_edje_object_part_object_register(Evas_Object *obj, const Evas_Object *partobj, const char* part);
541 EAPI void _elm_access_edje_object_part_object_unregister(Evas_Object* obj, const Evas_Object *eobj, const char* part);
542 EAPI void _elm_access_widget_item_register(Elm_Widget_Item *item);
543 EAPI void _elm_access_widget_item_unregister(Elm_Widget_Item *item);
544 EAPI void _elm_access_on_highlight_hook_set(Elm_Access_Info *ac, Elm_Access_On_Highlight_Cb func, void *data);
545 EAPI void _elm_access_activate_callback_set(Elm_Access_Info *ac, Elm_Access_Activate_Cb func, void *data);
546 EAPI void _elm_access_highlight_object_activate(Evas_Object *obj, Elm_Activate act);
547 EAPI void _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir);
549 EINA_DEPRECATED EAPI Elm_Access_Info *_elm_access_object_get(const Evas_Object *obj);
551 #define ELM_PREFS_DATA_MAGIC 0xe1f5da7a
553 /**< put this as the first member in your widget item struct */
554 #define ELM_WIDGET_ITEM Elm_Widget_Item base
556 struct _Elm_Widget_Item_Signal_Data
558 Elm_Widget_Item *item;
559 Elm_Widget_Item_Signal_Cb func;
560 const char *emission;
565 struct _Elm_Widget_Item
567 /* ef1 ~~ efl, el3 ~~ elm */
568 #define ELM_WIDGET_ITEM_MAGIC 0xef1e1301
570 /* simple accessor macros */
571 #define VIEW(X) X->base.view
572 #define WIDGET(X) X->base.widget
573 /**< the owner widget that owns this item */
575 /**< the base view object */
577 /**< item specific data. used for del callback */
579 /**< user delete callback function */
580 Evas_Smart_Cb del_func;
581 /**< widget delete callback function. don't expose this callback call */
582 Elm_Widget_Del_Pre_Cb del_pre_func;
584 Elm_Widget_Content_Set_Cb content_set_func;
585 Elm_Widget_Content_Get_Cb content_get_func;
586 Elm_Widget_Content_Unset_Cb content_unset_func;
587 Elm_Widget_Text_Set_Cb text_set_func;
588 Elm_Widget_Text_Get_Cb text_get_func;
589 Elm_Widget_Signal_Emit_Cb signal_emit_func;
590 Elm_Widget_Disable_Cb disable_func;
591 Elm_Widget_Style_Set_Cb style_set_func;
592 Elm_Widget_Style_Get_Cb style_get_func;
593 Elm_Widget_Focus_Set_Cb focus_set_func;
594 Elm_Widget_Focus_Get_Cb focus_get_func;
595 Evas_Object *access_obj;
596 const char *access_info;
597 Eina_List *access_order;
598 Eina_Inlist *translate_strings;
601 Evas_Object *track_obj;
603 Eina_Bool disabled : 1;
604 Eina_Bool on_deletion : 1;
605 Eina_Bool on_translate : 1;
608 struct _Elm_Object_Item
613 #define ELM_NEW(t) calloc(1, sizeof(t))
615 EAPI Evas_Object *elm_widget_add(Evas_Smart *, Evas_Object *);
616 EAPI void elm_widget_parent_set(Evas_Object *, Evas_Object *);
617 EAPI Eina_Bool elm_widget_api_check(int ver);
618 EAPI Eina_Bool elm_widget_access(Evas_Object *obj, Eina_Bool is_access);
619 EAPI Eina_Bool elm_widget_theme(Evas_Object *obj);
620 EAPI void elm_widget_theme_specific(Evas_Object *obj, Elm_Theme *th, Eina_Bool force);
621 EAPI void elm_widget_translate(Evas_Object *obj);
622 EAPI void elm_widget_on_show_region_hook_set(Evas_Object *obj, void (*func)(void *data, Evas_Object *obj), void *data);
623 EAPI Eina_Bool elm_widget_sub_object_parent_add(Evas_Object *sobj);
624 EAPI Eina_Bool elm_widget_sub_object_add(Evas_Object *obj, Evas_Object *sobj);
625 EAPI Eina_Bool elm_widget_sub_object_del(Evas_Object *obj, Evas_Object *sobj);
626 EAPI void elm_widget_resize_object_set(Evas_Object *obj, Evas_Object *sobj, Eina_Bool sub_obj);
627 EAPI void elm_widget_hover_object_set(Evas_Object *obj, Evas_Object *sobj);
628 EAPI void elm_widget_signal_emit(Evas_Object *obj, const char *emission, const char *source);
629 EAPI void elm_widget_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data);
630 EAPI void *elm_widget_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func);
631 EAPI void elm_widget_can_focus_set(Evas_Object *obj, Eina_Bool can_focus);
632 EAPI Eina_Bool elm_widget_can_focus_get(const Evas_Object *obj);
633 EAPI Eina_Bool elm_widget_child_can_focus_get(const Evas_Object *obj);
634 EAPI Eina_List *elm_widget_can_focus_child_list_get(const Evas_Object *obj);
635 EAPI void elm_widget_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable);
636 EAPI Eina_Bool elm_widget_tree_unfocusable_get(const Evas_Object *obj);
637 EAPI void elm_widget_highlight_ignore_set(Evas_Object *obj, Eina_Bool ignore);
638 EAPI Eina_Bool elm_widget_highlight_ignore_get(const Evas_Object *obj);
639 EAPI void elm_widget_highlight_in_theme_set(Evas_Object *obj, Eina_Bool highlight);
640 EAPI Eina_Bool elm_widget_highlight_in_theme_get(const Evas_Object *obj);
641 EAPI void elm_widget_access_highlight_in_theme_set(Evas_Object *obj, Eina_Bool highlight);
642 EAPI Eina_Bool elm_widget_access_highlight_in_theme_get(const Evas_Object *obj);
643 EAPI Eina_Bool elm_widget_focus_get(const Evas_Object *obj);
644 EAPI Eina_Bool elm_widget_highlight_get(const Evas_Object *obj);
645 EAPI Evas_Object *elm_widget_focused_object_get(const Evas_Object *obj);
646 EAPI Evas_Object *elm_widget_top_get(const Evas_Object *obj);
647 EAPI Eina_Bool elm_widget_is(const Evas_Object *obj);
648 EAPI Evas_Object *elm_widget_parent_widget_get(const Evas_Object *obj);
649 EAPI void elm_widget_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data);
650 EAPI void *elm_widget_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data);
651 EAPI Eina_Bool elm_widget_event_propagate(Evas_Object *obj, Evas_Callback_Type type, void *event_info, Evas_Event_Flags *event_flags);
652 EAPI void elm_widget_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs);
653 EAPI void elm_widget_focus_custom_chain_unset(Evas_Object *obj);
654 EAPI const Eina_List *elm_widget_focus_custom_chain_get(const Evas_Object *obj);
655 EAPI void elm_widget_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
656 EAPI void elm_widget_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
657 EAPI void elm_widget_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir);
658 EAPI Eina_Bool elm_widget_focus_direction_go(Evas_Object *obj, double degree);
659 EAPI Eina_Bool elm_widget_focus_direction_get(const Evas_Object *obj, const Evas_Object *base, double degree, Evas_Object **direction, double *weight);
660 EAPI Eina_Bool elm_widget_focus_next_get(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_Object **next);
661 EAPI Eina_Bool elm_widget_focus_list_direction_get(const Evas_Object *obj, const Evas_Object *base, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), double degree, Evas_Object **direction, double *weight);
662 EAPI Eina_Bool elm_widget_focus_list_next_get(const Evas_Object *obj, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), Elm_Focus_Direction dir, Evas_Object **next);
663 EAPI Evas_Object *elm_widget_focus_next_object_get(const Evas_Object *obj, Elm_Focus_Direction dir);
664 EAPI void elm_widget_focus_next_object_set(Evas_Object *obj, Evas_Object *next, Elm_Focus_Direction dir);
665 EAPI Eina_Bool elm_widget_focus_highlight_style_set(Evas_Object *obj, const char *style);
666 EAPI const char *elm_widget_focus_highlight_style_get(const Evas_Object *obj);
667 EAPI void elm_widget_parent_highlight_set(Evas_Object *obj, Eina_Bool highlighted);
668 EAPI void elm_widget_focus_set(Evas_Object *obj, Eina_Bool focus);
669 EAPI void elm_widget_focused_object_clear(Evas_Object *obj);
670 EAPI Evas_Object *elm_widget_parent_get(const Evas_Object *obj);
671 EAPI Evas_Object *elm_widget_parent2_get(const Evas_Object *obj);
672 EAPI void elm_widget_parent2_set(Evas_Object *obj, Evas_Object *parent);
673 EAPI void elm_widget_focus_steal(Evas_Object *obj);
674 EAPI Evas_Object *elm_widget_newest_focus_order_get(const Evas_Object *obj, unsigned int *newest_focus_order, Eina_Bool can_focus_only);
675 EAPI void elm_widget_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode);
676 EAPI Eina_Bool elm_widget_focus_highlight_enabled_get(const Evas_Object *obj);
677 EAPI void elm_widget_focus_highlight_focus_part_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
678 EAPI const Elm_Widget_Smart_Class *elm_widget_smart_class_get(void);
683 * Restore the focus state of the sub-tree.
685 * This API will restore the focus state of the sub-tree to the latest
686 * state. If a sub-tree is unfocused and wants to get back to the latest
687 * focus state, this API will be helpful.
689 * @param obj The widget root of sub-tree
693 EAPI void elm_widget_focus_restore(Evas_Object *obj);
695 EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled);
696 EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj);
697 EAPI void elm_widget_show_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Eina_Bool forceshow);
698 EAPI void elm_widget_show_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
699 EAPI Eina_Bool elm_widget_focus_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
700 EAPI void elm_widget_focus_region_show(const Evas_Object *obj);
701 EAPI void elm_widget_parents_bounce_get(const Evas_Object *obj, Eina_Bool *horiz, Eina_Bool *vert);
702 EAPI void elm_widget_scroll_hold_push(Evas_Object *obj);
703 EAPI void elm_widget_scroll_hold_pop(Evas_Object *obj);
704 EAPI int elm_widget_scroll_hold_get(const Evas_Object *obj);
705 EAPI void elm_widget_scroll_freeze_push(Evas_Object *obj);
706 EAPI void elm_widget_scroll_freeze_pop(Evas_Object *obj);
707 EAPI int elm_widget_scroll_freeze_get(const Evas_Object *obj);
708 EAPI void elm_widget_scale_set(Evas_Object *obj, double scale);
709 EAPI double elm_widget_scale_get(const Evas_Object *obj);
710 EAPI Eina_Bool elm_widget_mirrored_get(const Evas_Object *obj);
711 EAPI void elm_widget_mirrored_set(Evas_Object *obj, Eina_Bool mirrored);
712 EAPI Eina_Bool elm_widget_mirrored_automatic_get(const Evas_Object *obj);
713 EAPI void elm_widget_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic);
714 EAPI void elm_widget_theme_set(Evas_Object *obj, Elm_Theme *th);
715 EAPI Elm_Theme *elm_widget_theme_get(const Evas_Object *obj);
716 EAPI Eina_Bool elm_widget_style_set(Evas_Object *obj, const char *style);
717 EAPI const char *elm_widget_style_get(const Evas_Object *obj);
718 EAPI void elm_widget_type_set(Evas_Object *obj, const char *type);
719 EAPI const char *elm_widget_type_get(const Evas_Object *obj);
720 EAPI void elm_widget_tooltip_add(Evas_Object *obj, Elm_Tooltip *tt);
721 EAPI void elm_widget_tooltip_del(Evas_Object *obj, Elm_Tooltip *tt);
722 EAPI void elm_widget_cursor_add(Evas_Object *obj, Elm_Cursor *cur);
723 EAPI void elm_widget_cursor_del(Evas_Object *obj, Elm_Cursor *cur);
724 EAPI void elm_widget_drag_lock_x_set(Evas_Object *obj, Eina_Bool lock);
725 EAPI void elm_widget_drag_lock_y_set(Evas_Object *obj, Eina_Bool lock);
726 EAPI Eina_Bool elm_widget_drag_lock_x_get(const Evas_Object *obj);
727 EAPI Eina_Bool elm_widget_drag_lock_y_get(const Evas_Object *obj);
728 EAPI int elm_widget_drag_child_locked_x_get(const Evas_Object *obj);
729 EAPI int elm_widget_drag_child_locked_y_get(const Evas_Object *obj);
730 EAPI void elm_widget_item_loop_enabled_set(Evas_Object *obj, Eina_Bool enable);
731 EAPI Eina_Bool elm_widget_item_loop_enabled_get(const Evas_Object *obj);
732 EAPI Eina_Bool elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle);
733 EAPI Eina_Bool elm_widget_type_check(const Evas_Object *obj, const char *type, const char *func);
734 EAPI Evas_Object *elm_widget_name_find(const Evas_Object *obj, const char *name, int recurse);
735 EAPI Eina_List *elm_widget_stringlist_get(const char *str);
736 EAPI void elm_widget_stringlist_free(Eina_List *list);
737 EAPI void elm_widget_focus_hide_handle(Evas_Object *obj);
738 EAPI void elm_widget_focus_mouse_up_handle(Evas_Object *obj);
739 EAPI void elm_widget_focus_tree_unfocusable_handle(Evas_Object *obj);
740 EAPI void elm_widget_focus_disabled_handle(Evas_Object *obj);
741 EAPI unsigned int elm_widget_focus_order_get(const Evas_Object *obj);
742 EAPI void elm_widget_activate(Evas_Object *obj, Elm_Activate act);
743 EAPI void elm_widget_part_text_set(Evas_Object *obj, const char *part, const char *label);
744 EAPI const char *elm_widget_part_text_get(const Evas_Object *obj, const char *part);
745 EAPI void elm_widget_domain_translatable_part_text_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
746 EAPI const char *elm_widget_translatable_part_text_get(const Evas_Object *obj, const char *part);
747 EAPI void elm_widget_domain_part_text_translatable_set(Evas_Object *obj, const char *part, const char *domain, Eina_Bool translatable);
748 EAPI const char * elm_widget_part_text_translate(Evas_Object *obj, const char *part, const char *text);
749 EAPI void elm_widget_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
750 EAPI Evas_Object *elm_widget_content_part_get(const Evas_Object *obj, const char *part);
751 EAPI Evas_Object *elm_widget_content_part_unset(Evas_Object *obj, const char *part);
752 EAPI void elm_widget_access_info_set(Evas_Object *obj, const char *txt);
753 EAPI const char *elm_widget_access_info_get(const Evas_Object *obj);
754 EAPI void elm_widget_orientation_set(Evas_Object *obj, int rotation);
755 EAPI Elm_Object_Item *elm_widget_focused_item_get(const Evas_Object *obj);
756 EAPI void elm_widget_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled);
757 EAPI Eina_Bool elm_widget_orientation_mode_disabled_get(const Evas_Object *obj);
758 EAPI void elm_widget_focus_highlight_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h, Eina_Bool is_next);
759 EAPI Elm_Widget_Item *_elm_widget_item_new(Evas_Object *parent, size_t alloc_size);
760 EAPI void _elm_widget_item_free(Elm_Widget_Item *item);
761 EAPI Evas_Object *_elm_widget_item_widget_get(const Elm_Widget_Item *item);
762 EAPI void _elm_widget_item_del(Elm_Widget_Item *item);
763 EAPI void _elm_widget_item_pre_notify_del(Elm_Widget_Item *item);
764 EAPI void _elm_widget_item_del_cb_set(Elm_Widget_Item *item, Evas_Smart_Cb del_cb);
765 EAPI void _elm_widget_item_data_set(Elm_Widget_Item *item, const void *data);
766 EAPI void *_elm_widget_item_data_get(const Elm_Widget_Item *item);
767 EAPI void _elm_widget_item_tooltip_text_set(Elm_Widget_Item *item, const char *text);
768 EAPI void _elm_widget_item_tooltip_translatable_text_set(Elm_Widget_Item *item, const char *text);
769 EAPI void _elm_widget_item_tooltip_content_cb_set(Elm_Widget_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
770 EAPI void _elm_widget_item_tooltip_unset(Elm_Widget_Item *item);
771 EAPI void _elm_widget_item_tooltip_style_set(Elm_Widget_Item *item, const char *style);
772 EAPI Eina_Bool _elm_widget_item_tooltip_window_mode_set(Elm_Widget_Item *item, Eina_Bool disable);
773 EAPI Eina_Bool _elm_widget_item_tooltip_window_mode_get(const Elm_Widget_Item *item);
774 EAPI const char *_elm_widget_item_tooltip_style_get(const Elm_Widget_Item *item);
775 EAPI void _elm_widget_item_cursor_set(Elm_Widget_Item *item, const char *cursor);
776 EAPI const char *_elm_widget_item_cursor_get(const Elm_Widget_Item *item);
777 EAPI void _elm_widget_item_cursor_unset(Elm_Widget_Item *item);
778 EAPI void _elm_widget_item_cursor_style_set(Elm_Widget_Item *item, const char *style);
779 EAPI const char *_elm_widget_item_cursor_style_get(const Elm_Widget_Item *item);
780 EAPI void _elm_widget_item_cursor_engine_only_set(Elm_Widget_Item *item, Eina_Bool engine_only);
781 EAPI Eina_Bool _elm_widget_item_cursor_engine_only_get(const Elm_Widget_Item *item);
782 EAPI void _elm_widget_item_part_content_set(Elm_Widget_Item *item, const char *part, Evas_Object *content);
783 EAPI Evas_Object *_elm_widget_item_part_content_get(const Elm_Widget_Item *item, const char *part);
784 EAPI Evas_Object *_elm_widget_item_part_content_unset(Elm_Widget_Item *item, const char *part);
785 EAPI void _elm_widget_item_part_text_set(Elm_Widget_Item *item, const char *part, const char *label);
786 EAPI const char *_elm_widget_item_part_text_get(const Elm_Widget_Item *item, const char *part);
787 EAPI void _elm_widget_item_part_text_custom_set(Elm_Widget_Item *item, const char *part, const char *label);
788 EAPI const char *_elm_widget_item_part_text_custom_get(Elm_Widget_Item *item, const char *part);
789 EAPI void _elm_widget_item_part_text_custom_update(Elm_Widget_Item *item);
790 EAPI void _elm_widget_item_focus_set(Elm_Widget_Item *item, Eina_Bool focused);
791 EAPI Eina_Bool _elm_widget_item_focus_get(const Elm_Widget_Item *item);
792 EAPI void _elm_widget_item_style_set(Elm_Widget_Item *item, const char *style);
793 EAPI const char *_elm_widget_item_style_get(Elm_Widget_Item *item);
795 EAPI void _elm_widget_item_signal_callback_add(Elm_Widget_Item *item, const char *emission, const char *source, Elm_Widget_Item_Signal_Cb func, void *data);
796 EAPI void *_elm_widget_item_signal_callback_del(Elm_Widget_Item *it, const char *emission, const char *source, Elm_Widget_Item_Signal_Cb func);
797 EAPI void _elm_widget_item_signal_emit(Elm_Widget_Item *item, const char *emission, const char *source);
798 EAPI void _elm_widget_item_content_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Set_Cb func);
799 EAPI void _elm_widget_item_content_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Get_Cb func);
800 EAPI void _elm_widget_item_content_unset_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Unset_Cb func);
801 EAPI void _elm_widget_item_text_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Text_Set_Cb func);
802 EAPI void _elm_widget_item_text_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Text_Get_Cb func);
803 EAPI void _elm_widget_item_signal_emit_hook_set(Elm_Widget_Item *it, Elm_Widget_Signal_Emit_Cb func);
804 EAPI void _elm_widget_item_access_info_set(Elm_Widget_Item *item, const char *txt);
805 EAPI void _elm_widget_item_disabled_set(Elm_Widget_Item *item, Eina_Bool disabled);
806 EAPI Eina_Bool _elm_widget_item_disabled_get(const Elm_Widget_Item *item);
807 EAPI void _elm_widget_item_disable_hook_set(Elm_Widget_Item *item, Elm_Widget_Disable_Cb func);
808 EAPI void _elm_widget_item_del_pre_hook_set(Elm_Widget_Item *item, Elm_Widget_Del_Pre_Cb func);
809 EAPI void _elm_widget_item_style_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Style_Set_Cb func);
810 EAPI void _elm_widget_item_style_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Style_Get_Cb func);
811 EAPI void _elm_widget_item_focus_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Focus_Get_Cb func);
812 EAPI void _elm_widget_item_focus_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Focus_Set_Cb func);
813 EAPI void _elm_widget_item_domain_translatable_part_text_set(Elm_Widget_Item *item, const char *part, const char *domain, const char *label);
814 EAPI const char * _elm_widget_item_translatable_part_text_get(const Elm_Widget_Item *item, const char *part);
815 EAPI void _elm_widget_item_translate(Elm_Widget_Item *item);
816 EAPI void _elm_widget_item_domain_part_text_translatable_set(Elm_Widget_Item *item, const char *part, const char *domain, Eina_Bool translatable);
818 EAPI Evas_Object *elm_widget_item_track(Elm_Widget_Item *item);
819 EAPI void elm_widget_item_untrack(Elm_Widget_Item *item);
820 EAPI int elm_widget_item_track_get(const Elm_Widget_Item *item);
821 EAPI void _elm_widget_item_track_cancel(Elm_Widget_Item *item);
822 void _elm_widget_item_highlight_in_theme(Evas_Object *obj, Elm_Object_Item *it);
825 * Function to operate on a given widget's scrollabe children when necessary.
826 * @warning free the returned list with eina_list_free().
828 EAPI Eina_List *elm_widget_scrollable_children_get(const Evas_Object *obj);
830 /* debug function. don't use it unless you are tracking parenting issues */
831 EAPI void elm_widget_tree_dump(const Evas_Object *top);
832 EAPI void elm_widget_tree_dot_dump(const Evas_Object *top, FILE *output);
834 #define ELM_WIDGET_DATA_GET_OR_RETURN(o, ptr, ...) \
835 Elm_Widget_Smart_Data *ptr; \
836 ptr = eo_data_scope_get(o, ELM_OBJ_WIDGET_CLASS); \
837 if (EINA_UNLIKELY(!ptr)) \
839 CRI("no widget data for object %p (%s)", \
840 o, evas_object_type_get(o)); \
841 return __VA_ARGS__; \
844 #define ELM_WIDGET_CHECK(obj) \
845 if (EINA_UNLIKELY(!eo_isa((obj), ELM_OBJ_WIDGET_CLASS))) \
849 * Convenience macro to create new widget item, doing casts for you.
850 * @see _elm_widget_item_new()
851 * @param parent a valid elm_widget variant.
852 * @param type the C type that extends Elm_Widget_Item
854 #define elm_widget_item_new(parent, type) \
855 (type *)_elm_widget_item_new((parent), sizeof(type))
857 * Convenience macro to free widget item, doing casts for you.
858 * @see _elm_widget_item_free()
859 * @param item a valid item.
861 #define elm_widget_item_free(item) \
862 _elm_widget_item_free((Elm_Widget_Item *)item)
865 * Convenience macro to delete widget item, doing casts for you.
866 * @see _elm_widget_item_del()
867 * @param item a valid item.
869 #define elm_widget_item_del(item) \
870 _elm_widget_item_del((Elm_Widget_Item *)item)
872 * Convenience macro to notify deletion of widget item, doing casts for you.
873 * @see _elm_widget_item_pre_notify_del()
875 #define elm_widget_item_pre_notify_del(item) \
876 _elm_widget_item_pre_notify_del((Elm_Widget_Item *)item)
878 * Convenience macro to set deletion callback of widget item, doing casts for you.
879 * @see _elm_widget_item_del_cb_set()
881 #define elm_widget_item_del_cb_set(item, del_cb) \
882 _elm_widget_item_del_cb_set((Elm_Widget_Item *)item, del_cb)
885 * Get item's owner widget
886 * @see _elm_widget_item_widget_get()
888 #define elm_widget_item_widget_get(item) \
889 _elm_widget_item_widget_get((const Elm_Widget_Item *)item)
893 * @see _elm_widget_item_data_set()
895 #define elm_widget_item_data_set(item, data) \
896 _elm_widget_item_data_set((Elm_Widget_Item *)item, data)
899 * @see _elm_widget_item_data_get()
901 #define elm_widget_item_data_get(item) \
902 _elm_widget_item_data_get((const Elm_Widget_Item *)item)
905 * Convenience function to set widget item tooltip as a text string.
906 * @see _elm_widget_item_tooltip_text_set()
908 #define elm_widget_item_tooltip_text_set(item, text) \
909 _elm_widget_item_tooltip_text_set((Elm_Widget_Item *)item, text)
911 * Convenience function to set widget item tooltip as a text string.
912 * @see _elm_widget_item_tooltip_text_set()
914 #define elm_widget_item_tooltip_translatable_text_set(item, text) \
915 _elm_widget_item_tooltip_translatable_text_set((Elm_Widget_Item *)item, text)
917 * Convenience function to set widget item tooltip.
918 * @see _elm_widget_item_tooltip_content_cb_set()
920 #define elm_widget_item_tooltip_content_cb_set(item, func, data, del_cb) \
921 _elm_widget_item_tooltip_content_cb_set((Elm_Widget_Item *)item, \
924 * Convenience function to unset widget item tooltip.
925 * @see _elm_widget_item_tooltip_unset()
927 #define elm_widget_item_tooltip_unset(item) \
928 _elm_widget_item_tooltip_unset((Elm_Widget_Item *)item)
930 * Convenience function to change item's tooltip style.
931 * @see _elm_widget_item_tooltip_style_set()
933 #define elm_widget_item_tooltip_style_set(item, style) \
934 _elm_widget_item_tooltip_style_set((Elm_Widget_Item *)item, style)
936 #define elm_widget_item_tooltip_window_mode_set(item, disable) \
937 _elm_widget_item_tooltip_window_mode_set((Elm_Widget_Item *)item, disable)
939 #define elm_widget_item_tooltip_window_mode_get(item) \
940 _elm_widget_item_tooltip_window_mode_get((Elm_Widget_Item *)item)
942 * Convenience function to query item's tooltip style.
943 * @see _elm_widget_item_tooltip_style_get()
945 #define elm_widget_item_tooltip_style_get(item) \
946 _elm_widget_item_tooltip_style_get((const Elm_Widget_Item *)item)
948 * Convenience function to set widget item cursor.
949 * @see _elm_widget_item_cursor_set()
951 #define elm_widget_item_cursor_set(item, cursor) \
952 _elm_widget_item_cursor_set((Elm_Widget_Item *)item, cursor)
954 * Convenience function to get widget item cursor.
955 * @see _elm_widget_item_cursor_get()
957 #define elm_widget_item_cursor_get(item) \
958 _elm_widget_item_cursor_get((const Elm_Widget_Item *)item)
960 * Convenience function to unset widget item cursor.
961 * @see _elm_widget_item_cursor_unset()
963 #define elm_widget_item_cursor_unset(item) \
964 _elm_widget_item_cursor_unset((Elm_Widget_Item *)item)
966 * Convenience function to change item's cursor style.
967 * @see _elm_widget_item_cursor_style_set()
969 #define elm_widget_item_cursor_style_set(item, style) \
970 _elm_widget_item_cursor_style_set((Elm_Widget_Item *)item, style)
972 * Convenience function to query item's cursor style.
973 * @see _elm_widget_item_cursor_style_get()
975 #define elm_widget_item_cursor_style_get(item) \
976 _elm_widget_item_cursor_style_get((const Elm_Widget_Item *)item)
978 * Convenience function to change item's cursor engine_only.
979 * @see _elm_widget_item_cursor_engine_only_set()
981 #define elm_widget_item_cursor_engine_only_set(item, engine_only) \
982 _elm_widget_item_cursor_engine_only_set((Elm_Widget_Item *)item, engine_only)
984 * Convenience function to query item's cursor engine_only.
985 * @see _elm_widget_item_cursor_engine_only_get()
987 #define elm_widget_item_cursor_engine_only_get(item) \
988 _elm_widget_item_cursor_engine_only_get((const Elm_Widget_Item *)item)
990 * Convenience function to query item's content set hook.
991 * @see _elm_widget_item_content_set_hook_set()
993 #define elm_widget_item_content_set_hook_set(item, func) \
994 _elm_widget_item_content_set_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Content_Set_Cb)func)
996 * Convenience function to query item's content get hook.
997 * @see _elm_widget_item_content_get_hook_set()
999 #define elm_widget_item_content_get_hook_set(item, func) \
1000 _elm_widget_item_content_get_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Content_Get_Cb)func)
1002 * Convenience function to query item's content unset hook.
1003 * @see _elm_widget_item_content_unset_hook_set()
1005 #define elm_widget_item_content_unset_hook_set(item, func) \
1006 _elm_widget_item_content_unset_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Content_Unset_Cb)func)
1008 * Convenience function to query item's text set hook.
1009 * @see _elm_widget_item_text_set_hook_set()
1011 #define elm_widget_item_text_set_hook_set(item, func) \
1012 _elm_widget_item_text_set_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Text_Set_Cb)func)
1014 * Convenience function to query item's text get hook.
1015 * @see _elm_widget_item_text_get_hook_set()
1017 #define elm_widget_item_text_get_hook_set(item, func) \
1018 _elm_widget_item_text_get_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Text_Get_Cb)func)
1020 * Convenience function to query item's signal emit hook.
1021 * @see _elm_widget_item_signal_emit_hook_set()
1023 #define elm_widget_item_signal_emit_hook_set(item, func) \
1024 _elm_widget_item_signal_emit_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Signal_Emit_Cb)func)
1026 * Convenience function to query disable get hook.
1027 * @see _elm_widget_item_disabled_get()
1029 #define elm_widget_item_disabled_get(item) \
1030 _elm_widget_item_disabled_get((Elm_Widget_Item *)item)
1032 * Convenience function to query disable set hook.
1033 * @see _elm_widget_item_disable_hook_set()
1035 #define elm_widget_item_disable_hook_set(item, func) \
1036 _elm_widget_item_disable_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Disable_Cb)func)
1038 * Convenience function to query del pre hook.
1039 * @see _elm_widget_item_del_pre_hook_set()
1041 #define elm_widget_item_del_pre_hook_set(item, func) \
1042 _elm_widget_item_del_pre_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Del_Pre_Cb)func)
1044 * Convenience function to query style set hook.
1045 * @see _elm_widget_item_style_set_hook_set()
1047 #define elm_widget_item_style_set_hook_set(item, func) \
1048 _elm_widget_item_style_set_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Style_Set_Cb)func)
1050 * Convenience function to query style get hook.
1051 * @see _elm_widget_item_style_get_hook_set()
1053 #define elm_widget_item_style_get_hook_set(item, func) \
1054 _elm_widget_item_style_get_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Style_Get_Cb)func)
1057 * Convenience function to set style .
1058 * @see _elm_widget_item_style_set()
1060 #define elm_widget_item_style_set(item, style) \
1061 _elm_widget_item_style_set((Elm_Widget_Item *)item, style)
1063 * Convenience function to get style .
1064 * @see _elm_widget_item_style_get()
1066 #define elm_widget_item_style_get(item) \
1067 _elm_widget_item_style_get((Elm_Widget_Item *)item)
1070 * Convenience function to query focus set hook.
1071 * @see _elm_widget_item_focus_set_hook_set()
1073 #define elm_widget_item_focus_set_hook_set(item, func) \
1074 _elm_widget_item_focus_set_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Focus_Set_Cb)func)
1077 * Convenience function to query focus get hook.
1078 * @see _elm_widget_item_focus_get_hook_set()
1080 #define elm_widget_item_focus_get_hook_set(item, func) \
1081 _elm_widget_item_focus_get_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Focus_Get_Cb)func)
1084 * Convenience function to query track_cancel.
1085 * @see _elm_widget_item_del_pre_hook_set()
1087 #define elm_widget_item_track_cancel(item) \
1088 _elm_widget_item_track_cancel((Elm_Widget_Item *)item)
1091 * Convenience function to query translate hook.
1092 * @see _elm_widget_item_track_cancel()
1094 #define elm_widget_item_translate(item) \
1095 _elm_widget_item_translate((Elm_Widget_Item *)item)
1098 * Convenience function to save additional text part content.
1099 * @see _elm_widget_item_part_text_custom_set()
1101 #define elm_widget_item_part_text_custom_set(item, part, text) \
1102 _elm_widget_item_part_text_custom_set((Elm_Widget_Item *)item, part, text)
1105 * Convenience function to get additional text part content.
1106 * @see _elm_widget_item_part_text_custom_set()
1108 #define elm_widget_item_part_text_custom_get(item, part) \
1109 _elm_widget_item_part_text_custom_get((Elm_Widget_Item *)item, part)
1112 * Convenience function to update additional text part content.
1113 * @see _elm_widget_item_part_text_custom_set()
1115 #define elm_widget_item_part_text_custom_update(item) \
1116 _elm_widget_item_part_text_custom_update((Elm_Widget_Item *)item)
1119 * Convenience function to set the focus on widget item.
1120 * @see _elm_widget_item_focus_set()
1122 #define elm_widget_item_focus_set(item, focused) \
1123 _elm_widget_item_focus_set((Elm_Widget_Item *)item, focused)
1126 * Convenience function to query focus set hook.
1127 * @see _elm_widget_item_focus_get()
1129 #define elm_widget_item_focus_get(item) \
1130 _elm_widget_item_focus_get((const Elm_Widget_Item *)item)
1132 #define ELM_WIDGET_CHECK_OR_RETURN(obj, ...) \
1134 if (!obj || !evas_object_smart_data_get(obj)) \
1136 ERR("Object [%p] is NULL or already deleted", obj);\
1137 return __VA_ARGS__; \
1141 #define ELM_WIDGET_ITEM_RETURN_IF_ONDEL(item, ...) \
1143 if (item && (item)->on_deletion) { \
1144 WRN("Elm_Widget_Item " # item " is deleting"); \
1145 return __VA_ARGS__; \
1149 #define ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, ...) \
1152 CRI("Elm_Widget_Item " # item " is NULL"); \
1153 return __VA_ARGS__; \
1155 if (!EINA_MAGIC_CHECK(item, ELM_WIDGET_ITEM_MAGIC)) { \
1156 EINA_MAGIC_FAIL(item, ELM_WIDGET_ITEM_MAGIC); \
1157 return __VA_ARGS__; \
1161 #define ELM_WIDGET_ITEM_CHECK_OR_GOTO(item, label) \
1164 CRI("Elm_Widget_Item " # item " is NULL"); \
1167 if (!EINA_MAGIC_CHECK(item, ELM_WIDGET_ITEM_MAGIC)) { \
1168 EINA_MAGIC_FAIL(item, ELM_WIDGET_ITEM_MAGIC); \
1173 /* to be used by INTERNAL classes on Elementary, so that the widgets
1174 * parsing script skips it */
1175 #define ELM_INTERNAL_SMART_SUBCLASS_NEW EVAS_SMART_SUBCLASS_NEW
1177 EAPI Eina_Bool elm_selection_selection_has_owner(Evas_Object *obj);
1179 #include "elm_widget.eo.h"
1181 typedef void (*region_hook_func_type)(void *data, Evas_Object *obj);
1182 typedef void * (*list_data_get_func_type)(const Eina_List * l);
1185 #define ELM_OBJ_WIDGET_CLASS elm_widget_class_get()
1187 const Eo_Class *elm_widget_class_get(void) EINA_CONST;
1189 extern EAPI Eo_Op ELM_WIDGET_BASE_ID;
1193 ELM_WIDGET_SUB_ID_ON_FOCUS,
1194 ELM_WIDGET_SUB_ID_DISABLE,
1195 ELM_WIDGET_SUB_ID_THEME_APPLY,
1196 ELM_WIDGET_SUB_ID_TRANSLATE,
1197 ELM_WIDGET_SUB_ID_EVENT,
1198 ELM_WIDGET_SUB_ID_ON_FOCUS_REGION,
1199 ELM_WIDGET_SUB_ID_FOCUS_NEXT_MANAGER_IS,
1200 ELM_WIDGET_SUB_ID_FOCUS_NEXT,
1201 ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_MANAGER_IS,
1202 ELM_WIDGET_SUB_ID_FOCUS_DIRECTION,
1203 ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD,
1204 ELM_WIDGET_SUB_ID_SUB_OBJECT_DEL,
1205 ELM_WIDGET_SUB_ID_ACCESS,
1206 ELM_WIDGET_SUB_ID_PARENT_SET,
1207 ELM_WIDGET_SUB_ID_PARENT_GET,
1208 ELM_WIDGET_SUB_ID_PARENT2_SET,
1209 ELM_WIDGET_SUB_ID_PARENT2_GET,
1210 ELM_WIDGET_SUB_ID_ACTIVATE,
1212 ELM_WIDGET_SUB_ID_MIRRORED_GET,
1213 ELM_WIDGET_SUB_ID_MIRRORED_SET,
1214 ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_GET,
1215 ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_SET,
1217 ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_SET,
1218 ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_GET,
1219 ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_SET,
1220 ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_GET,
1221 ELM_WIDGET_SUB_ID_ACCESS_HIGHLIGHT_IN_THEME_SET,
1222 ELM_WIDGET_SUB_ID_ACCESS_HIGHLIGHT_IN_THEME_GET,
1224 ELM_WIDGET_SUB_ID_SCROLL_HOLD_PUSH,
1225 ELM_WIDGET_SUB_ID_SCROLL_HOLD_POP,
1226 ELM_WIDGET_SUB_ID_SCROLL_HOLD_GET,
1227 ELM_WIDGET_SUB_ID_SCROLL_FREEZE_PUSH,
1228 ELM_WIDGET_SUB_ID_SCROLL_FREEZE_POP,
1229 ELM_WIDGET_SUB_ID_SCROLL_FREEZE_GET,
1231 ELM_WIDGET_SUB_ID_ON_SHOW_REGION_HOOK_SET,
1232 ELM_WIDGET_SUB_ID_RESIZE_OBJECT_SET,
1233 ELM_WIDGET_SUB_ID_HOVER_OBJECT_SET,
1235 ELM_WIDGET_SUB_ID_CAN_FOCUS_SET,
1236 ELM_WIDGET_SUB_ID_CAN_FOCUS_GET,
1237 ELM_WIDGET_SUB_ID_CHILD_CAN_FOCUS_GET,
1238 ELM_WIDGET_SUB_ID_FOCUS_GET,
1239 ELM_WIDGET_SUB_ID_HIGHLIGHT_GET,
1240 ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_GET,
1241 ELM_WIDGET_SUB_ID_TOP_GET,
1243 ELM_WIDGET_SUB_ID_PARENT_WIDGET_GET,
1245 ELM_WIDGET_SUB_ID_FOCUS_SET,
1246 ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_CLEAR,
1247 ELM_WIDGET_SUB_ID_FOCUS_STEAL,
1248 ELM_WIDGET_SUB_ID_FOCUS_RESTORE,
1250 ELM_WIDGET_SUB_ID_DISABLED_SET,
1251 ELM_WIDGET_SUB_ID_DISABLED_GET,
1252 ELM_WIDGET_SUB_ID_SHOW_REGION_SET,
1253 ELM_WIDGET_SUB_ID_SHOW_REGION_GET,
1255 ELM_WIDGET_SUB_ID_PARENTS_BOUNCE_GET,
1257 ELM_WIDGET_SUB_ID_SCROLLABLE_CHILDREN_GET,
1258 ELM_WIDGET_SUB_ID_SCALE_SET,
1259 ELM_WIDGET_SUB_ID_SCALE_GET,
1261 ELM_WIDGET_SUB_ID_PART_TEXT_SET,
1262 ELM_WIDGET_SUB_ID_PART_TEXT_GET,
1263 ELM_WIDGET_SUB_ID_DOMAIN_TRANSLATABLE_PART_TEXT_SET,
1264 ELM_WIDGET_SUB_ID_TRANSLATABLE_PART_TEXT_GET,
1265 ELM_WIDGET_SUB_ID_DOMAIN_PART_TEXT_TRANSLATABLE_SET,
1266 ELM_WIDGET_SUB_ID_PART_TEXT_TRANSLATE,
1267 ELM_WIDGET_SUB_ID_ACCESS_INFO_SET,
1268 ELM_WIDGET_SUB_ID_ACCESS_INFO_GET,
1270 ELM_WIDGET_SUB_ID_THEME_SET,
1271 ELM_WIDGET_SUB_ID_THEME_GET,
1273 ELM_WIDGET_SUB_ID_STYLE_SET,
1274 ELM_WIDGET_SUB_ID_STYLE_GET,
1275 ELM_WIDGET_SUB_ID_TOOLTIP_ADD,
1276 ELM_WIDGET_SUB_ID_TOOLTIP_DEL,
1277 ELM_WIDGET_SUB_ID_CURSOR_ADD,
1278 ELM_WIDGET_SUB_ID_CURSOR_DEL,
1280 ELM_WIDGET_SUB_ID_DRAG_LOCK_X_SET,
1281 ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_SET,
1282 ELM_WIDGET_SUB_ID_DRAG_LOCK_X_GET,
1283 ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_GET,
1284 ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_X_GET,
1285 ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_Y_GET,
1286 ELM_WIDGET_SUB_ID_ITEM_LOOP_ENABLED_SET,
1287 ELM_WIDGET_SUB_ID_ITEM_LOOP_ENABLED_GET,
1289 ELM_WIDGET_SUB_ID_EVENT_CALLBACK_ADD,
1290 ELM_WIDGET_SUB_ID_EVENT_CALLBACK_DEL,
1291 ELM_WIDGET_SUB_ID_EVENT_PROPAGATE,
1293 ELM_WIDGET_SUB_ID_SIGNAL_EMIT,
1294 ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_ADD,
1295 ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_DEL,
1297 ELM_WIDGET_SUB_ID_NAME_FIND,
1299 ELM_WIDGET_SUB_ID_FOCUS_HIDE_HANDLE,
1300 ELM_WIDGET_SUB_ID_FOCUS_MOUSE_UP_HANDLE,
1301 ELM_WIDGET_SUB_ID_FOCUS_TREE_UNFOCUSABLE_HANDLE,
1302 ELM_WIDGET_SUB_ID_FOCUS_DISABLED_HANDLE,
1303 ELM_WIDGET_SUB_ID_FOCUS_ORDER_GET,
1304 ELM_WIDGET_SUB_ID_FOCUS_REGION_GET,
1305 ELM_WIDGET_SUB_ID_FOCUS_REGION_SHOW,
1306 ELM_WIDGET_SUB_ID_FOCUS_HIGHLIGHT_STYLE_SET,
1307 ELM_WIDGET_SUB_ID_FOCUS_HIGHLIGHT_STYLE_GET,
1309 ELM_WIDGET_SUB_ID_THEME_OBJECT_SET,
1310 ELM_WIDGET_SUB_ID_ORIENTATION_SET,
1311 ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_SET,
1312 ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_GET,
1315 ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_SET,
1316 ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_GET,
1317 ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_UNSET,
1318 ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_APPEND,
1319 ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_PREPEND,
1320 ELM_WIDGET_SUB_ID_FOCUS_CYCLE,
1321 ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GO,
1322 ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GET,
1323 ELM_WIDGET_SUB_ID_FOCUS_LIST_DIRECTION_GET,
1324 ELM_WIDGET_SUB_ID_FOCUS_NEXT_GET,
1325 ELM_WIDGET_SUB_ID_FOCUS_LIST_NEXT_GET,
1326 ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_GET,
1327 ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_SET,
1328 ELM_WIDGET_SUB_ID_PARENT_HIGHLIGHT_SET,
1330 ELM_WIDGET_SUB_ID_DISPLAY_MODE_SET,
1332 ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_SET,
1333 ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_GET,
1335 ELM_WIDGET_SUB_ID_CAN_FOCUS_CHILD_LIST_GET,
1336 ELM_WIDGET_SUB_ID_NEWEST_FOCUS_ORDER_GET,
1337 ELM_WIDGET_SUB_ID_FOCUS_HIGHLIGHT_GEOMETRY_GET,
1338 ELM_WIDGET_SUB_ID_FOCUSED_ITEM_GET,
1340 ELM_WIDGET_SUB_ID_THEME_APPLY, /* API + virtual*/
1341 ELM_WIDGET_SUB_ID_THEME_SPECIFIC,
1342 ELM_WIDGET_SUB_ID_TRANSLATE, /* API + virtual*/
1346 ELM_WIDGET_SUB_ID_LAST
1349 #define ELM_WIDGET_ID(sub_id) (ELM_WIDGET_BASE_ID + sub_id)
1353 * @def elm_wdg_on_focus
1356 * 'Virtual' function handling focus in/out events on the widget.
1358 * @param[out] ret @c EINA_TRUE if this widget can handle focus, EINA_FALSE
1362 #define elm_wdg_on_focus(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS), EO_TYPECHECK(Eina_Bool *, ret)
1365 * @def elm_wdg_disable
1368 * 'Virtual' function on the widget being disabled.
1373 #define elm_wdg_disable(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISABLE), EO_TYPECHECK(Eina_Bool *, ret)
1376 * @def elm_wdg_theme_apply
1379 * 'Virtual' function on the widget being re-themed.
1384 #define elm_wdg_theme_apply(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_APPLY), EO_TYPECHECK(Eina_Bool *, ret)
1387 * @def elm_wdg_translate
1390 * 'Virtual' function handling language changes on Elementary.
1395 #define elm_wdg_translate(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TRANSLATE), EO_TYPECHECK(Eina_Bool *, ret)
1398 * @def elm_wdg_event
1401 * 'Virtual' function handling input events on the widget.
1405 * @param[in] event_info
1409 #define elm_wdg_event(source, type, event_info, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT), EO_TYPECHECK(Evas_Object *, source), EO_TYPECHECK(Evas_Callback_Type, type), EO_TYPECHECK(void *, event_info), EO_TYPECHECK(Eina_Bool *, ret)
1412 * @def elm_wdg_on_focus_region
1415 * 'Virtual' function returning an inner area of a widget that should be brought
1416 * into the visible area of a broader viewport, may this context arise.
1425 #define elm_wdg_on_focus_region(x, y, w, h, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS_REGION), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h), EO_TYPECHECK(Eina_Bool *, ret)
1428 * @def elm_wdg_focus_next_manager_is
1431 * 'Virtual' function which checks if handling of passing focus to sub-objects
1432 * is supported by widget.
1437 #define elm_wdg_focus_next_manager_is(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_MANAGER_IS), EO_TYPECHECK(Eina_Bool *, ret)
1440 * @def elm_wdg_focus_next
1443 * 'Virtual' function handling passing focus to sub-objects.
1450 #define elm_wdg_focus_next(dir, next, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, next), EO_TYPECHECK(Eina_Bool *, ret)
1453 * @def elm_wdg_focus_direction_manager_is
1456 * 'Virtual' function which checks if handling of passing focus to sub-objects
1457 * in given direction is supported by widget.
1462 #define elm_wdg_focus_direction_manager_is(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_MANAGER_IS), EO_TYPECHECK(Eina_Bool *, ret)
1465 * @def elm_wdg_focus_direction
1468 * 'Virtual' function handling passing focus to sub-objects given a direction,
1473 * @param[out] direction
1474 * @param[out] weight
1478 #define elm_wdg_focus_direction(base, degree, direction, weight, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION), EO_TYPECHECK(const Evas_Object *, base), EO_TYPECHECK(double, degree), EO_TYPECHECK(Evas_Object **, direction), EO_TYPECHECK(double *, weight), EO_TYPECHECK(Eina_Bool *, ret)
1481 * @def elm_wdg_sub_object_add
1484 * 'Virtual' function handling sub objects being added.
1490 #define elm_wdg_sub_object_add(sobj, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD), EO_TYPECHECK(Evas_Object *, sobj), EO_TYPECHECK(Eina_Bool *, ret)
1493 * @def elm_wdg_sub_object_del
1496 * 'Virtual' function handling sub objects being removed.
1502 #define elm_wdg_sub_object_del(sobj, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SUB_OBJECT_DEL), EO_TYPECHECK(Evas_Object *, sobj), EO_TYPECHECK(Eina_Bool *, ret)
1505 * @def elm_wdg_access
1508 * 'Virtual' function on the widget being set access.
1510 * @param[in] is_access
1513 #define elm_wdg_access(is_access) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS), EO_TYPECHECK(Eina_Bool, is_access)
1517 * @def elm_wdg_parent_set
1520 * 'Virtual' function handling parent widget attachment to new object.
1525 #define elm_wdg_parent_set(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_SET), EO_TYPECHECK(Evas_Object *, parent)
1528 * @def elm_wdg_parent_get
1531 * 'Virtual' function handling getting object's parent widget.
1533 * @param[out] parent
1536 #define elm_wdg_parent_get(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_GET), EO_TYPECHECK(Evas_Object **, parent)
1540 * @def elm_wdg_parent2_set
1543 * No description supplied by the EAPI.
1548 #define elm_wdg_parent2_set(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_SET), EO_TYPECHECK(Evas_Object *, parent)
1551 * @def elm_wdg_parent2_get
1554 * No description supplied by the EAPI.
1556 * @param[out] parent
1559 #define elm_wdg_parent2_get(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_GET), EO_TYPECHECK(Evas_Object **, parent)
1563 * @def elm_wdg_activate
1566 * 'Virtual' function to activate widget.
1572 #define elm_wdg_activate(act, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACTIVATE), EO_TYPECHECK(Elm_Activate, act), EO_TYPECHECK(Eina_Bool *, ret)
1576 * @def elm_wdg_mirrored_get
1579 * Returns the widget's mirrored mode.
1584 #define elm_wdg_mirrored_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_GET), EO_TYPECHECK(Eina_Bool *, ret)
1587 * @def elm_wdg_mirrored_set
1590 * Sets the widget's mirrored mode.
1592 * @param[in] mirrored
1595 #define elm_wdg_mirrored_set(mirrored) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_SET), EO_TYPECHECK(Eina_Bool, mirrored)
1598 * @def elm_wdg_mirrored_automatic_get
1601 * Returns the widget's mirrored mode setting.
1606 #define elm_wdg_mirrored_automatic_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_GET), EO_TYPECHECK(Eina_Bool *, ret)
1609 * @def elm_wdg_mirrored_automatic_set
1612 * Sets the widget's mirrored mode setting.
1614 * @param[in] automatic
1617 #define elm_wdg_mirrored_automatic_set(automatic) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_SET), EO_TYPECHECK(Eina_Bool, automatic)
1621 * @def elm_wdg_highlight_ignore_set
1624 * No description supplied by the EAPI.
1629 #define elm_wdg_highlight_ignore_set(ignore) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_SET), EO_TYPECHECK(Eina_Bool, ignore)
1632 * @def elm_wdg_highlight_ignore_get
1635 * No description supplied by the EAPI.
1640 #define elm_wdg_highlight_ignore_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_GET), EO_TYPECHECK(Eina_Bool *, ret)
1643 * @def elm_wdg_highlight_in_theme_set
1646 * No description supplied by the EAPI.
1648 * @param[in] highlight
1651 #define elm_wdg_highlight_in_theme_set(highlight) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_SET), EO_TYPECHECK(Eina_Bool, highlight)
1654 * @def elm_wdg_highlight_in_theme_get
1657 * No description supplied by the EAPI.
1662 #define elm_wdg_highlight_in_theme_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_GET), EO_TYPECHECK(Eina_Bool *, ret)
1665 * @def elm_wdg_access_highlight_in_theme_set
1668 * No description supplied by the EAPI.
1670 * @param[in] access highlight
1673 #define elm_wdg_access_highlight_in_theme_set(highlight) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_HIGHLIGHT_IN_THEME_SET), EO_TYPECHECK(Eina_Bool, highlight)
1676 * @def elm_wdg_access_highlight_in_theme_get
1679 * No description supplied by the EAPI.
1684 #define elm_wdg_access_highlight_in_theme_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_HIGHLIGHT_IN_THEME_GET), EO_TYPECHECK(Eina_Bool *, ret)
1687 * @def elm_wdg_scroll_hold_push
1690 * No description supplied by the EAPI.
1693 #define elm_wdg_scroll_hold_push() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_HOLD_PUSH)
1696 * @def elm_wdg_scroll_hold_pop
1699 * No description supplied by the EAPI.
1702 #define elm_wdg_scroll_hold_pop() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_HOLD_POP)
1705 * @def elm_wdg_scroll_hold_get
1708 * No description supplied by the EAPI.
1713 #define elm_wdg_scroll_hold_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_HOLD_GET), EO_TYPECHECK(int *, ret)
1716 * @def elm_wdg_scroll_freeze_push
1719 * No description supplied by the EAPI.
1722 #define elm_wdg_scroll_freeze_push() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_FREEZE_PUSH)
1725 * @def elm_wdg_scroll_freeze_pop
1728 * No description supplied by the EAPI.
1731 #define elm_wdg_scroll_freeze_pop() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_FREEZE_POP)
1734 * @def elm_wdg_scroll_freeze_get
1737 * No description supplied by the EAPI.
1742 #define elm_wdg_scroll_freeze_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_FREEZE_GET), EO_TYPECHECK(int *, ret)
1746 * @def elm_wdg_on_show_region_hook_set
1749 * No description supplied by the EAPI.
1755 #define elm_wdg_on_show_region_hook_set(func, data) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_SHOW_REGION_HOOK_SET), EO_TYPECHECK(region_hook_func_type, func), EO_TYPECHECK(void *, data)
1758 * @def elm_wdg_resize_object_set
1761 * No description supplied by the EAPI.
1764 * @param[in] sub_object
1767 #define elm_wdg_resize_object_set(sobj, sub_obj) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_RESIZE_OBJECT_SET), EO_TYPECHECK(Evas_Object *, sobj), EO_TYPECHECK(Eina_Bool, sub_obj)
1770 * @def elm_wdg_hover_object_set
1773 * No description supplied by the EAPI.
1778 #define elm_wdg_hover_object_set(sobj) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HOVER_OBJECT_SET), EO_TYPECHECK(Evas_Object *, sobj)
1782 * @def elm_wdg_can_focus_set
1785 * No description supplied by the EAPI.
1787 * @param[in] can_focus
1790 #define elm_wdg_can_focus_set(can_focus) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CAN_FOCUS_SET), EO_TYPECHECK(Eina_Bool, can_focus)
1793 * @def elm_wdg_can_focus_get
1796 * No description supplied by the EAPI.
1801 #define elm_wdg_can_focus_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CAN_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, ret)
1804 * @def elm_wdg_child_can_focus_get
1807 * No description supplied by the EAPI.
1812 #define elm_wdg_child_can_focus_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CHILD_CAN_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, ret)
1816 * @def elm_wdg_focus_get
1819 * No description supplied by the EAPI.
1824 #define elm_wdg_focus_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, ret)
1827 * @def elm_wdg_highlight_get
1830 * No description supplied by the EAPI.
1835 #define elm_wdg_highlight_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_GET), EO_TYPECHECK(Eina_Bool *, ret)
1838 * @def elm_wdg_focused_object_get
1841 * No description supplied by the EAPI.
1846 #define elm_wdg_focused_object_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_GET), EO_TYPECHECK(Evas_Object **, ret)
1850 * @def elm_wdg_top_get
1853 * No description supplied by the EAPI.
1858 #define elm_wdg_top_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TOP_GET), EO_TYPECHECK(Evas_Object **, ret)
1861 * @def elm_wdg_parent_widget_get
1864 * No description supplied by the EAPI.
1869 #define elm_wdg_parent_widget_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_WIDGET_GET), EO_TYPECHECK(Evas_Object **, ret)
1873 * @def elm_wdg_focus_set
1876 * No description supplied by the EAPI.
1881 #define elm_wdg_focus_set(focus) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_SET), EO_TYPECHECK(Eina_Bool, focus)
1884 * @def elm_wdg_focused_object_clear
1887 * No description supplied by the EAPI.
1890 #define elm_wdg_focused_object_clear() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_CLEAR)
1893 * @def elm_wdg_focus_steal
1896 * No description supplied by the EAPI.
1899 #define elm_wdg_focus_steal() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_STEAL)
1902 * @def elm_wdg_focus_restore
1905 * No description supplied by the EAPI.
1908 #define elm_wdg_focus_restore() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_RESTORE)
1912 * @def elm_wdg_disabled_set
1915 * No description supplied by the EAPI.
1917 * @param[in] disabled
1920 #define elm_wdg_disabled_set(disabled) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISABLED_SET), EO_TYPECHECK(Eina_Bool, disabled)
1923 * @def elm_wdg_disabled_get
1926 * No description supplied by the EAPI.
1931 #define elm_wdg_disabled_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISABLED_GET), EO_TYPECHECK(Eina_Bool *, ret)
1934 * @def elm_wdg_show_region_set
1937 * No description supplied by the EAPI.
1943 * @param[in] forceshow
1946 #define elm_wdg_show_region_set(x, y, w, h, forceshow) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SHOW_REGION_SET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h), EO_TYPECHECK(Eina_Bool, forceshow)
1949 * @def elm_wdg_show_region_get
1952 * No description supplied by the EAPI.
1960 #define elm_wdg_show_region_get(x, y, w, h) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SHOW_REGION_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
1963 * @def elm_wdg_parents_bounce_get
1966 * No description supplied by the EAPI.
1972 #define elm_wdg_parents_bounce_get(horiz, vert) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENTS_BOUNCE_GET), EO_TYPECHECK(Eina_Bool *, horiz), EO_TYPECHECK(Eina_Bool *, vert)
1975 * @def elm_wdg_scrollable_children_get
1978 * No description supplied by the EAPI.
1983 #define elm_wdg_scrollable_children_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLLABLE_CHILDREN_GET), EO_TYPECHECK(Eina_List **, ret)
1986 * @def elm_wdg_scale_set
1989 * No description supplied by the EAPI.
1994 #define elm_wdg_scale_set(scale) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCALE_SET), EO_TYPECHECK(double, scale)
1997 * @def elm_wdg_scale_get
2000 * No description supplied by the EAPI.
2005 #define elm_wdg_scale_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCALE_GET), EO_TYPECHECK(double *, ret)
2009 * @def elm_wdg_part_text_set
2012 * No description supplied by the EAPI.
2018 #define elm_wdg_part_text_set(part, label) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PART_TEXT_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, label)
2021 * @def elm_wdg_part_text_get
2024 * No description supplied by the EAPI.
2030 #define elm_wdg_part_text_get(part, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PART_TEXT_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char **, ret)
2034 * @def elm_wdg_domain_translatable_part_text_set
2037 * No description supplied by the EAPI.
2044 #define elm_wdg_domain_translatable_part_text_set(part, domain, label) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DOMAIN_TRANSLATABLE_PART_TEXT_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, domain), EO_TYPECHECK(const char *, label)
2047 * @def elm_wdg_translatable_part_text_get
2050 * No description supplied by the EAPI.
2056 #define elm_wdg_translatable_part_text_get(part, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TRANSLATABLE_PART_TEXT_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char **, ret)
2059 * @def elm_wdg_domain_part_text_translatable_set
2062 * No description supplied by the EAPI.
2066 * @param[in] translatable
2069 #define elm_wdg_domain_part_text_translatable_set(part, domain, translatable) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DOMAIN_PART_TEXT_TRANSLATABLE_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, domain), EO_TYPECHECK(Eina_Bool, translatable)
2072 * @def elm_wdg_part_text_translate
2075 * No description supplied by the EAPI.
2082 #define elm_wdg_part_text_translate(part, text, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PART_TEXT_TRANSLATE), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, text), EO_TYPECHECK(const char **, ret)
2085 * @def elm_wdg_access_info_set
2088 * No description supplied by the EAPI.
2093 #define elm_wdg_access_info_set(txt) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_INFO_SET), EO_TYPECHECK(const char *, txt)
2096 * @def elm_wdg_access_info_get
2099 * No description supplied by the EAPI.
2104 #define elm_wdg_access_info_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_INFO_GET), EO_TYPECHECK(const char **, ret)
2108 * @def elm_wdg_theme_set
2111 * No description supplied by the EAPI.
2116 #define elm_wdg_theme_set(th) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_SET), EO_TYPECHECK(Elm_Theme *, th)
2119 * @def elm_wdg_theme_get
2122 * No description supplied by the EAPI.
2127 #define elm_wdg_theme_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_GET), EO_TYPECHECK(Elm_Theme **, ret)
2131 * @def elm_wdg_style_set
2134 * No description supplied by the EAPI.
2140 #define elm_wdg_style_set(style, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_STYLE_SET), EO_TYPECHECK(const char *, style), EO_TYPECHECK(Eina_Bool *, ret)
2143 * @def elm_wdg_style_get
2146 * No description supplied by the EAPI.
2151 #define elm_wdg_style_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_STYLE_GET), EO_TYPECHECK(const char **, ret)
2154 * @def elm_wdg_tooltip_add
2157 * No description supplied by the EAPI.
2162 #define elm_wdg_tooltip_add(tt) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TOOLTIP_ADD), EO_TYPECHECK(Elm_Tooltip *, tt)
2165 * @def elm_wdg_tooltip_del
2168 * No description supplied by the EAPI.
2173 #define elm_wdg_tooltip_del(tt) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TOOLTIP_DEL), EO_TYPECHECK(Elm_Tooltip *, tt)
2176 * @def elm_wdg_cursor_add
2179 * No description supplied by the EAPI.
2184 #define elm_wdg_cursor_add(cur) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CURSOR_ADD), EO_TYPECHECK(Elm_Cursor *, cur)
2187 * @def elm_wdg_cursor_del
2190 * No description supplied by the EAPI.
2195 #define elm_wdg_cursor_del(cur) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CURSOR_DEL), EO_TYPECHECK(Elm_Cursor *, cur)
2199 * @def elm_wdg_drag_lock_x_set
2202 * No description supplied by the EAPI.
2207 #define elm_wdg_drag_lock_x_set(lock) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_X_SET), EO_TYPECHECK(Eina_Bool, lock)
2210 * @def elm_wdg_drag_lock_y_set
2213 * No description supplied by the EAPI.
2218 #define elm_wdg_drag_lock_y_set(lock) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_SET), EO_TYPECHECK(Eina_Bool, lock)
2221 * @def elm_wdg_drag_lock_x_get
2224 * No description supplied by the EAPI.
2229 #define elm_wdg_drag_lock_x_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_X_GET), EO_TYPECHECK(Eina_Bool *, ret)
2232 * @def elm_wdg_drag_lock_y_get
2235 * No description supplied by the EAPI.
2240 #define elm_wdg_drag_lock_y_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_GET), EO_TYPECHECK(Eina_Bool *, ret)
2243 * @def elm_wdg_drag_child_locked_x_get
2246 * No description supplied by the EAPI.
2251 #define elm_wdg_drag_child_locked_x_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_X_GET), EO_TYPECHECK(int *, ret)
2254 * @def elm_wdg_drag_child_locked_y_get
2257 * No description supplied by the EAPI.
2262 #define elm_wdg_drag_child_locked_y_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_Y_GET), EO_TYPECHECK(int *, ret)
2265 * @def elm_wdg_item_loop_enabled_set
2268 * Set enable or disable item loop feature.
2272 #define elm_wdg_item_loop_enabled_set(enable) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ITEM_LOOP_ENABLED_SET), EO_TYPECHECK(Eina_Bool, enable)
2275 * @def elm_wdg_item_loop_enabled_get
2278 * Get the value whether item loop feature is enabled or not.
2282 #define elm_wdg_item_loop_enabled_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ITEM_LOOP_ENABLED_GET), EO_TYPECHECK(Eina_Bool *, ret)
2285 * @def elm_wdg_event_callback_add
2288 * No description supplied by the EAPI.
2294 #define elm_wdg_event_callback_add(func, data) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT_CALLBACK_ADD), EO_TYPECHECK(Elm_Event_Cb, func), EO_TYPECHECK(const void *, data)
2297 * @def elm_wdg_event_callback_del
2300 * No description supplied by the EAPI.
2307 #define elm_wdg_event_callback_del(func, data, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT_CALLBACK_DEL), EO_TYPECHECK(Elm_Event_Cb, func), EO_TYPECHECK(const void *, data), EO_TYPECHECK(void **, ret)
2310 * @def elm_wdg_event_propagate
2313 * No description supplied by the EAPI.
2316 * @param[in] event_info
2317 * @param[in] event_flags
2321 #define elm_wdg_event_propagate(type, event_info, event_flags, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT_PROPAGATE), EO_TYPECHECK(Evas_Callback_Type, type), EO_TYPECHECK(void *, event_info), EO_TYPECHECK(Evas_Event_Flags *, event_flags), EO_TYPECHECK(Eina_Bool *, ret)
2325 * @def elm_wdg_signal_emit
2328 * No description supplied by the EAPI.
2330 * @param[in] emission
2334 #define elm_wdg_signal_emit(emission, source) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SIGNAL_EMIT), EO_TYPECHECK(const char *, emission), EO_TYPECHECK(const char *, source)
2337 * @def elm_wdg_signal_callback_add
2340 * No description supplied by the EAPI.
2342 * @param[in] emission
2348 #define elm_wdg_signal_callback_add(emission, source, func, data) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_ADD), EO_TYPECHECK(const char *, emission), EO_TYPECHECK(const char *, source), EO_TYPECHECK(Edje_Signal_Cb, func), EO_TYPECHECK(void *, data)
2351 * @def elm_wdg_signal_callback_del
2354 * No description supplied by the EAPI.
2356 * @param[in] emission
2362 #define elm_wdg_signal_callback_del(emission, source, func, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_DEL), EO_TYPECHECK(const char *, emission), EO_TYPECHECK(const char *, source), EO_TYPECHECK(Edje_Signal_Cb, func), EO_TYPECHECK(void **, ret)
2366 * @def elm_wdg_name_find
2369 * No description supplied by the EAPI.
2372 * @param[in] recurse
2376 #define elm_wdg_name_find(name, recurse, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_NAME_FIND), EO_TYPECHECK(const char *, name), EO_TYPECHECK(int, recurse), EO_TYPECHECK(Evas_Object **, ret)
2379 * @def elm_wdg_focus_hide_handle
2382 * No description supplied by the EAPI.
2385 #define elm_wdg_focus_hide_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_HIDE_HANDLE)
2388 * @def elm_wdg_focus_mouse_up_handle
2391 * No description supplied by the EAPI.
2394 #define elm_wdg_focus_mouse_up_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_MOUSE_UP_HANDLE)
2397 * @def elm_wdg_focus_tree_unfocusable_handle
2400 * No description supplied by the EAPI.
2403 #define elm_wdg_focus_tree_unfocusable_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_TREE_UNFOCUSABLE_HANDLE)
2406 * @def elm_wdg_focus_disabled_handle
2409 * No description supplied by the EAPI.
2412 #define elm_wdg_focus_disabled_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DISABLED_HANDLE)
2415 * @def elm_wdg_focus_order_get
2418 * No description supplied by the EAPI.
2423 #define elm_wdg_focus_order_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_ORDER_GET), EO_TYPECHECK(unsigned int *, ret)
2426 * @def elm_wdg_focus_region_get
2429 * No description supplied by the EAPI.
2438 #define elm_wdg_focus_region_get(x, y, w, h, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_REGION_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h), EO_TYPECHECK(Eina_Bool *, ret)
2441 * @def elm_wdg_focus_region_show
2444 * No description supplied by the EAPI.
2447 #define elm_wdg_focus_region_show() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_REGION_SHOW)
2450 * @def elm_wdg_focus_highlight_style_set
2453 * This function set the widget focus highlight style.
2458 #define elm_wdg_focus_highlight_style_set(style, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_HIGHLIGHT_STYLE_SET), EO_TYPECHECK(const char *, style), EO_TYPECHECK(Eina_Bool *, ret)
2461 * @def elm_wdg_focus_highlight_style_get
2464 * This function returns the widget focus highlight style.
2468 #define elm_wdg_focus_highlight_style_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_HIGHLIGHT_STYLE_GET), EO_TYPECHECK(const char **, ret)
2471 * @def elm_wdg_theme_object_set
2474 * No description supplied by the EAPI.
2478 * @param[in] welement
2483 #define elm_wdg_theme_object_set(edj, wname, welement, wstyle, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_OBJECT_SET), EO_TYPECHECK(Evas_Object *, edj), EO_TYPECHECK(const char *, wname), EO_TYPECHECK(const char *, welement), EO_TYPECHECK(const char *, wstyle), EO_TYPECHECK(Eina_Bool *, ret)
2487 * @def elm_wdg_focus_custom_chain_set
2490 * No description supplied by the EAPI.
2495 #define elm_wdg_focus_custom_chain_set(objs) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_SET), EO_TYPECHECK(Eina_List *, objs)
2498 * @def elm_wdg_focus_custom_chain_get
2501 * No description supplied by the EAPI.
2506 #define elm_wdg_focus_custom_chain_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_GET), EO_TYPECHECK(const Eina_List **, ret)
2509 * @def elm_wdg_focus_custom_chain_unset
2512 * No description supplied by the EAPI.
2515 #define elm_wdg_focus_custom_chain_unset() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_UNSET)
2518 * @def elm_wdg_focus_custom_chain_append
2521 * No description supplied by the EAPI.
2524 * @param[in] relative_child
2527 #define elm_wdg_focus_custom_chain_append(child, relative_child) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_APPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object *, relative_child)
2530 * @def elm_wdg_focus_custom_chain_prepend
2533 * No description supplied by the EAPI.
2536 * @param[in] relative_child
2539 #define elm_wdg_focus_custom_chain_prepend(child, relative_child) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_PREPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object *, relative_child)
2542 * @def elm_wdg_focus_cycle
2545 * No description supplied by the EAPI.
2550 #define elm_wdg_focus_cycle(dir) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CYCLE), EO_TYPECHECK(Elm_Focus_Direction, dir)
2553 * @def elm_wdg_focus_direction_go
2556 * No description supplied by the EAPI.
2562 #define elm_wdg_focus_direction_go(degree, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GO), EO_TYPECHECK(double, degree), EO_TYPECHECK(Eina_Bool *, ret)
2565 * @def elm_wdg_focus_direction_get
2568 * No description supplied by the EAPI.
2572 * @param[out] direction
2573 * @param[out] weight
2577 #define elm_wdg_focus_direction_get(base, degree, direction, weight, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GET), EO_TYPECHECK(const Evas_Object *, base), EO_TYPECHECK(double, degree), EO_TYPECHECK(Evas_Object **, direction), EO_TYPECHECK(double *, weight), EO_TYPECHECK(Eina_Bool *, ret)
2581 * @def elm_wdg_focus_list_direction_get
2584 * No description supplied by the EAPI.
2588 * @param[in] list_data_get
2590 * @param[out] direction
2591 * @param[out] weight
2595 #define elm_wdg_focus_list_direction_get(base, items, list_data_get, degree, direction, weight, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_LIST_DIRECTION_GET), EO_TYPECHECK(const Evas_Object *, base), EO_TYPECHECK(const Eina_List *, items), EO_TYPECHECK(list_data_get_func_type, list_data_get), EO_TYPECHECK(double, degree), EO_TYPECHECK(Evas_Object **, direction), EO_TYPECHECK(double *, weight), EO_TYPECHECK(Eina_Bool *, ret)
2599 * @def elm_wdg_focus_next_get
2602 * No description supplied by the EAPI.
2609 #define elm_wdg_focus_next_get(dir, next, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_GET), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, next), EO_TYPECHECK(Eina_Bool *, ret)
2613 * @def elm_wdg_focus_list_next_get
2616 * No description supplied by the EAPI.
2619 * @param[in] list_data_get
2625 #define elm_wdg_focus_list_next_get(items, list_data_get, dir, next, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_LIST_NEXT_GET), EO_TYPECHECK(const Eina_List *, items), EO_TYPECHECK(list_data_get_func_type, list_data_get), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, next), EO_TYPECHECK(Eina_Bool *, ret)
2628 * @def elm_wdg_focus_next_object_get
2631 * No description supplied by the EAPI.
2637 #define elm_wdg_focus_next_object_get(dir, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_GET), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, ret)
2640 * @def elm_wdg_focus_next_object_set
2643 * No description supplied by the EAPI.
2649 #define elm_wdg_focus_next_object_set(next, dir) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_SET), EO_TYPECHECK(Evas_Object *, next), EO_TYPECHECK(Elm_Focus_Direction, dir)
2652 * @def elm_wdg_parent_highlight_set
2655 * No description supplied by the EAPI.
2657 * @param[in] highlighted
2660 #define elm_wdg_parent_highlight_set(highlighted) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_HIGHLIGHT_SET), EO_TYPECHECK(Eina_Bool, highlighted)
2663 * @def elm_wdg_display_mode_set
2666 * No description supplied by the EAPI.
2668 * @param[in] dispmode
2671 #define elm_wdg_display_mode_set(dispmode) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISPLAY_MODE_SET), EO_TYPECHECK(Evas_Display_Mode, dispmode)
2674 * @def elm_wdg_tree_unfocusable_set
2677 * No description supplied by the EAPI.
2679 * @param[in] tree_unfocusable
2682 #define elm_wdg_tree_unfocusable_set(tree_unfocusable) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_SET), EO_TYPECHECK(Eina_Bool, tree_unfocusable)
2685 * @def elm_wdg_tree_unfocusable_get
2688 * No description supplied by the EAPI.
2693 #define elm_wdg_tree_unfocusable_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
2697 * @def elm_wdg_can_focus_child_list_get
2700 * No description supplied by the EAPI.
2705 #define elm_wdg_can_focus_child_list_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CAN_FOCUS_CHILD_LIST_GET), EO_TYPECHECK(Eina_List **, ret)
2708 * @def elm_wdg_newest_focus_order_get
2711 * No description supplied by the EAPI.
2713 * @param[out] newest_focus_order
2714 * @param[in] can_focus_only
2718 #define elm_wdg_newest_focus_order_get(newest_focus_order, can_focus_only, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_NEWEST_FOCUS_ORDER_GET), EO_TYPECHECK(unsigned int *, newest_focus_order), EO_TYPECHECK(Eina_Bool, can_focus_only), EO_TYPECHECK(Evas_Object **, ret)
2721 * @def elm_wdg_orientation_set
2724 * No description supplied by the EAPI.
2726 * @param[in] rotation
2729 #define elm_wdg_orientation_set(rotation) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_SET), EO_TYPECHECK(int, rotation)
2732 * @def elm_wdg_orientation_mode_disabled_set
2735 * No description supplied by the EAPI.
2737 * @param[in] disabled
2740 #define elm_wdg_orientation_mode_disabled_set(disabled) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_SET), EO_TYPECHECK(Eina_Bool, disabled)
2743 * @def elm_wdg_orientation_mode_disabled_get
2746 * No description supplied by the EAPI.
2751 #define elm_wdg_orientation_mode_disabled_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_GET), EO_TYPECHECK(Eina_Bool *, ret)
2754 * @def elm_wdg_focus_highlight_geometry_get
2757 * Get the focus highlight geometry of widget.
2763 * @param[in] is_next
2766 #define elm_wdg_focus_highlight_geometry_get(x, y, w, h, is_next) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_HIGHLIGHT_GEOMETRY_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h), EO_TYPECHECK(Eina_Bool *, is_next)
2768 * @def elm_wdg_focused_item_get
2771 * Get the focused widget item.
2776 #define elm_wdg_focused_item_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUSED_ITEM_GET), EO_TYPECHECK(Elm_Object_Item **, ret)