summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-24 15:31:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-29 10:40:53 +0900
commit0a0bbe5fdad38ef4411ce18bd26dad9a81238e93 (patch)
tree3bd37278a1245a288ea494d064dca395119e5dd1 /src/lib
parent0e98f57d6d6b1527d8040d79101cfeb2089bbb3e (diff)
widget: Rename hook "access" (EO)
This is also another protected and beta API. Meant to be overridden by subclasses, but belongs to a still unstable API. The difference between the internal legacy and the EO API is really bad. Same as with activate (previous commit). Ref T5363
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/elc_multibuttonentry.c3
-rw-r--r--src/lib/elementary/elc_naviframe.c3
-rw-r--r--src/lib/elementary/elc_popup.c3
-rw-r--r--src/lib/elementary/elm_bubble.c3
-rw-r--r--src/lib/elementary/elm_bubble.eo2
-rw-r--r--src/lib/elementary/elm_calendar.c3
-rw-r--r--src/lib/elementary/elm_calendar.eo2
-rw-r--r--src/lib/elementary/elm_clock.c3
-rw-r--r--src/lib/elementary/elm_clock.eo2
-rw-r--r--src/lib/elementary/elm_colorselector.c3
-rw-r--r--src/lib/elementary/elm_colorselector.eo2
-rw-r--r--src/lib/elementary/elm_diskselector.c3
-rw-r--r--src/lib/elementary/elm_diskselector.eo2
-rw-r--r--src/lib/elementary/elm_gengrid.c3
-rw-r--r--src/lib/elementary/elm_gengrid.eo2
-rw-r--r--src/lib/elementary/elm_genlist.c3
-rw-r--r--src/lib/elementary/elm_genlist.eo2
-rw-r--r--src/lib/elementary/elm_index.c5
-rw-r--r--src/lib/elementary/elm_index.eo2
-rw-r--r--src/lib/elementary/elm_list.c3
-rw-r--r--src/lib/elementary/elm_list.eo2
-rw-r--r--src/lib/elementary/elm_multibuttonentry.eo2
-rw-r--r--src/lib/elementary/elm_naviframe.eo2
-rw-r--r--src/lib/elementary/elm_panel.c3
-rw-r--r--src/lib/elementary/elm_panel.eo2
-rw-r--r--src/lib/elementary/elm_popup.eo2
-rw-r--r--src/lib/elementary/elm_segment_control.c5
-rw-r--r--src/lib/elementary/elm_segment_control.eo2
-rw-r--r--src/lib/elementary/elm_spinner.c3
-rw-r--r--src/lib/elementary/elm_spinner.eo2
-rw-r--r--src/lib/elementary/elm_toolbar.c3
-rw-r--r--src/lib/elementary/elm_toolbar.eo2
-rw-r--r--src/lib/elementary/elm_widget.c8
-rw-r--r--src/lib/elementary/elm_widget.eo42
34 files changed, 76 insertions, 58 deletions
diff --git a/src/lib/elementary/elc_multibuttonentry.c b/src/lib/elementary/elc_multibuttonentry.c
index f9244f37d7..e86f25c669 100644
--- a/src/lib/elementary/elc_multibuttonentry.c
+++ b/src/lib/elementary/elc_multibuttonentry.c
@@ -5,6 +5,7 @@
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_WIDGET_ITEM_PROTECTED 6#define ELM_WIDGET_ITEM_PROTECTED
7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
8#define ELM_WIDGET_BETA
8 9
9#include <Elementary.h> 10#include <Elementary.h>
10#include "elm_priv.h" 11#include "elm_priv.h"
@@ -1745,7 +1746,7 @@ _access_obj_process(Evas_Object *obj, Eina_Bool is_access)
1745} 1746}
1746 1747
1747EOLIAN static void 1748EOLIAN static void
1748_elm_multibuttonentry_elm_widget_access(Eo *obj, Elm_Multibuttonentry_Data *sd EINA_UNUSED, Eina_Bool acs) 1749_elm_multibuttonentry_elm_widget_on_access_update(Eo *obj, Elm_Multibuttonentry_Data *sd EINA_UNUSED, Eina_Bool acs)
1749{ 1750{
1750 _elm_multibuttonentry_smart_focus_next_enable = acs; 1751 _elm_multibuttonentry_smart_focus_next_enable = acs;
1751 _access_obj_process(obj, _elm_multibuttonentry_smart_focus_next_enable); 1752 _access_obj_process(obj, _elm_multibuttonentry_smart_focus_next_enable);
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index 16d7f5ef3e..4897d45ddc 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -6,6 +6,7 @@
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_WIDGET_ITEM_PROTECTED 7#define ELM_WIDGET_ITEM_PROTECTED
8#define ELM_WIDGET_PROTECTED 8#define ELM_WIDGET_PROTECTED
9#define ELM_WIDGET_BETA
9 10
10#include <Elementary.h> 11#include <Elementary.h>
11#include "elm_priv.h" 12#include "elm_priv.h"
@@ -1570,7 +1571,7 @@ _key_action_item_pop(Evas_Object *obj, const char *params EINA_UNUSED)
1570} 1571}
1571 1572
1572EOLIAN static void 1573EOLIAN static void
1573_elm_naviframe_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd, Eina_Bool is_access) 1574_elm_naviframe_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd, Eina_Bool is_access)
1574{ 1575{
1575 Elm_Naviframe_Item_Data *it; 1576 Elm_Naviframe_Item_Data *it;
1576 1577
diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 8819df0f7c..778312c7e7 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -6,6 +6,7 @@
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_WIDGET_PROTECTED 7#define ELM_WIDGET_PROTECTED
8#define ELM_WIDGET_ITEM_PROTECTED 8#define ELM_WIDGET_ITEM_PROTECTED
9#define ELM_WIDGET_BETA
9 10
10#include <Elementary.h> 11#include <Elementary.h>
11#include "elm_priv.h" 12#include "elm_priv.h"
@@ -1611,7 +1612,7 @@ _elm_popup_elm_widget_widget_parent_set(Eo *obj, Elm_Popup_Data *sd, Evas_Object
1611} 1612}
1612 1613
1613EOLIAN static void 1614EOLIAN static void
1614_elm_popup_elm_widget_access(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED, Eina_Bool is_access) 1615_elm_popup_elm_widget_on_access_update(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED, Eina_Bool is_access)
1615{ 1616{
1616 _access_obj_process(obj, is_access); 1617 _access_obj_process(obj, is_access);
1617} 1618}
diff --git a/src/lib/elementary/elm_bubble.c b/src/lib/elementary/elm_bubble.c
index 0e2455f926..fcb8bb6f4c 100644
--- a/src/lib/elementary/elm_bubble.c
+++ b/src/lib/elementary/elm_bubble.c
@@ -4,6 +4,7 @@
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_LAYOUT_PROTECTED 6#define ELM_LAYOUT_PROTECTED
7#define ELM_WIDGET_BETA
7 8
8#include <Elementary.h> 9#include <Elementary.h>
9#include "elm_priv.h" 10#include "elm_priv.h"
@@ -211,7 +212,7 @@ _elm_bubble_efl_canvas_group_group_add(Eo *obj, Elm_Bubble_Data *priv)
211} 212}
212 213
213EOLIAN static void 214EOLIAN static void
214_elm_bubble_elm_widget_access(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED, Eina_Bool is_access) 215_elm_bubble_elm_widget_on_access_update(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED, Eina_Bool is_access)
215{ 216{
216 ELM_BUBBLE_CHECK(obj); 217 ELM_BUBBLE_CHECK(obj);
217 218
diff --git a/src/lib/elementary/elm_bubble.eo b/src/lib/elementary/elm_bubble.eo
index 5bf8644648..fe297a718b 100644
--- a/src/lib/elementary/elm_bubble.eo
+++ b/src/lib/elementary/elm_bubble.eo
@@ -42,7 +42,7 @@ class Elm.Bubble (Efl.Ui.Layout, Efl.Ui.Clickable)
42 Elm.Widget.focus_next_manager_is; 42 Elm.Widget.focus_next_manager_is;
43 Elm.Widget.focus_next; 43 Elm.Widget.focus_next;
44 Elm.Widget.focus_direction_manager_is; 44 Elm.Widget.focus_direction_manager_is;
45 Elm.Widget.access; 45 Elm.Widget.on_access_update;
46 Efl.Part.part; 46 Efl.Part.part;
47 } 47 }
48} 48}
diff --git a/src/lib/elementary/elm_calendar.c b/src/lib/elementary/elm_calendar.c
index f346c4661b..06e142b21f 100644
--- a/src/lib/elementary/elm_calendar.c
+++ b/src/lib/elementary/elm_calendar.c
@@ -4,6 +4,7 @@
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_WIDGET_BETA
7 8
8#include <Elementary.h> 9#include <Elementary.h>
9#include "elm_priv.h" 10#include "elm_priv.h"
@@ -1890,7 +1891,7 @@ _access_obj_process(Evas_Object *obj, Eina_Bool is_access)
1890} 1891}
1891 1892
1892EOLIAN static void 1893EOLIAN static void
1893_elm_calendar_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Calendar_Data *_pd EINA_UNUSED, Eina_Bool acs) 1894_elm_calendar_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Calendar_Data *_pd EINA_UNUSED, Eina_Bool acs)
1894{ 1895{
1895 _elm_calendar_smart_focus_next_enable = acs; 1896 _elm_calendar_smart_focus_next_enable = acs;
1896 _access_obj_process(obj, _elm_calendar_smart_focus_next_enable); 1897 _access_obj_process(obj, _elm_calendar_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_calendar.eo b/src/lib/elementary/elm_calendar.eo
index 542ee3fce1..0fd61da281 100644
--- a/src/lib/elementary/elm_calendar.eo
+++ b/src/lib/elementary/elm_calendar.eo
@@ -415,7 +415,7 @@ class Elm.Calendar (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action)
415 Elm.Widget.theme_apply; 415 Elm.Widget.theme_apply;
416 Elm.Widget.focus_next_manager_is; 416 Elm.Widget.focus_next_manager_is;
417 Elm.Widget.focus_direction_manager_is; 417 Elm.Widget.focus_direction_manager_is;
418 Elm.Widget.access; 418 Elm.Widget.on_access_update;
419 Elm.Widget.focus_next; 419 Elm.Widget.focus_next;
420 Elm.Widget.on_focus; 420 Elm.Widget.on_focus;
421 Elm.Widget.widget_event; 421 Elm.Widget.widget_event;
diff --git a/src/lib/elementary/elm_clock.c b/src/lib/elementary/elm_clock.c
index 2486cb075c..c0ae68220f 100644
--- a/src/lib/elementary/elm_clock.c
+++ b/src/lib/elementary/elm_clock.c
@@ -3,6 +3,7 @@
3#endif 3#endif
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_WIDGET_BETA
6 7
7#include <Elementary.h> 8#include <Elementary.h>
8#include "elm_priv.h" 9#include "elm_priv.h"
@@ -780,7 +781,7 @@ _access_obj_process(Evas_Object *obj, Eina_Bool is_access)
780} 781}
781 782
782EOLIAN static void 783EOLIAN static void
783_elm_clock_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Clock_Data *_pd EINA_UNUSED, Eina_Bool acs) 784_elm_clock_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Clock_Data *_pd EINA_UNUSED, Eina_Bool acs)
784{ 785{
785 _elm_clock_smart_focus_next_enable = acs; 786 _elm_clock_smart_focus_next_enable = acs;
786 _access_obj_process(obj, _elm_clock_smart_focus_next_enable); 787 _access_obj_process(obj, _elm_clock_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_clock.eo b/src/lib/elementary/elm_clock.eo
index ad445163b9..76b6ef45ae 100644
--- a/src/lib/elementary/elm_clock.eo
+++ b/src/lib/elementary/elm_clock.eo
@@ -165,7 +165,7 @@ class Elm.Clock (Efl.Ui.Layout)
165 Efl.Object.constructor; 165 Efl.Object.constructor;
166 Elm.Widget.focus_next_manager_is; 166 Elm.Widget.focus_next_manager_is;
167 Elm.Widget.focus_direction_manager_is; 167 Elm.Widget.focus_direction_manager_is;
168 Elm.Widget.access; 168 Elm.Widget.on_access_update;
169 Elm.Widget.focus_next; 169 Elm.Widget.focus_next;
170 Elm.Widget.theme_apply; 170 Elm.Widget.theme_apply;
171 } 171 }
diff --git a/src/lib/elementary/elm_colorselector.c b/src/lib/elementary/elm_colorselector.c
index 0c6ea5a10a..9cd1247e5d 100644
--- a/src/lib/elementary/elm_colorselector.c
+++ b/src/lib/elementary/elm_colorselector.c
@@ -5,6 +5,7 @@
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED 6#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
8#define ELM_WIDGET_BETA
8 9
9#include <Elementary.h> 10#include <Elementary.h>
10#include "elm_priv.h" 11#include "elm_priv.h"
@@ -2273,7 +2274,7 @@ _elm_colorselector_elm_widget_focus_highlight_geometry_get(const Eo *obj EINA_UN
2273} 2274}
2274 2275
2275EOLIAN static void 2276EOLIAN static void
2276_elm_colorselector_elm_widget_access(Eo *obj, Elm_Colorselector_Data *_pd EINA_UNUSED, Eina_Bool acs) 2277_elm_colorselector_elm_widget_on_access_update(Eo *obj, Elm_Colorselector_Data *_pd EINA_UNUSED, Eina_Bool acs)
2277{ 2278{
2278 _elm_colorselector_smart_focus_next_enable = acs; 2279 _elm_colorselector_smart_focus_next_enable = acs;
2279 _access_obj_process(obj, _elm_colorselector_smart_focus_next_enable); 2280 _access_obj_process(obj, _elm_colorselector_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_colorselector.eo b/src/lib/elementary/elm_colorselector.eo
index 9bc1349c87..cf6beafbf5 100644
--- a/src/lib/elementary/elm_colorselector.eo
+++ b/src/lib/elementary/elm_colorselector.eo
@@ -113,7 +113,7 @@ class Elm.Colorselector (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action,
113 Elm.Widget.focus_next; 113 Elm.Widget.focus_next;
114 Elm.Widget.focus_direction_manager_is; 114 Elm.Widget.focus_direction_manager_is;
115 Elm.Widget.focus_highlight_geometry_get; 115 Elm.Widget.focus_highlight_geometry_get;
116 Elm.Widget.access; 116 Elm.Widget.on_access_update;
117 Elm.Widget.widget_event; 117 Elm.Widget.widget_event;
118 Elm.Interface.Atspi_Widget_Action.elm_actions { get; } 118 Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
119 Elm.Interface.Atspi_Accessible.children { get; } 119 Elm.Interface.Atspi_Accessible.children { get; }
diff --git a/src/lib/elementary/elm_diskselector.c b/src/lib/elementary/elm_diskselector.c
index 7563c05d8b..3dd23818dd 100644
--- a/src/lib/elementary/elm_diskselector.c
+++ b/src/lib/elementary/elm_diskselector.c
@@ -5,6 +5,7 @@
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_WIDGET_ITEM_PROTECTED 7#define ELM_WIDGET_ITEM_PROTECTED
8#define ELM_WIDGET_BETA
8 9
9#include <Elementary.h> 10#include <Elementary.h>
10#include "elm_priv.h" 11#include "elm_priv.h"
@@ -1432,7 +1433,7 @@ _elm_diskselector_efl_canvas_group_group_member_add(Eo *obj, Elm_Diskselector_Da
1432} 1433}
1433 1434
1434EOLIAN static void 1435EOLIAN static void
1435_elm_diskselector_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *_pd EINA_UNUSED, Eina_Bool acs) 1436_elm_diskselector_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *_pd EINA_UNUSED, Eina_Bool acs)
1436{ 1437{
1437 _elm_diskselector_smart_focus_next_enable = acs; 1438 _elm_diskselector_smart_focus_next_enable = acs;
1438} 1439}
diff --git a/src/lib/elementary/elm_diskselector.eo b/src/lib/elementary/elm_diskselector.eo
index 9cf2be91e1..7a6fa6b490 100644
--- a/src/lib/elementary/elm_diskselector.eo
+++ b/src/lib/elementary/elm_diskselector.eo
@@ -202,7 +202,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
202 Efl.Gfx.size { set; } 202 Efl.Gfx.size { set; }
203 Efl.Canvas.Group.group_member_add; 203 Efl.Canvas.Group.group_member_add;
204 Elm.Widget.focus_next_manager_is; 204 Elm.Widget.focus_next_manager_is;
205 Elm.Widget.access; 205 Elm.Widget.on_access_update;
206 Elm.Widget.focus_next; 206 Elm.Widget.focus_next;
207 Elm.Widget.theme_apply; 207 Elm.Widget.theme_apply;
208 Elm.Widget.on_focus; 208 Elm.Widget.on_focus;
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 98c0caa0f0..b0cbbb25dc 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -6,6 +6,7 @@
6#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
8#define ELM_WIDGET_ITEM_PROTECTED 8#define ELM_WIDGET_ITEM_PROTECTED
9#define ELM_WIDGET_BETA
9 10
10#include <Elementary.h> 11#include <Elementary.h>
11#include <Elementary_Cursor.h> 12#include <Elementary_Cursor.h>
@@ -4264,7 +4265,7 @@ _access_obj_process(Elm_Gengrid_Data * sd, Eina_Bool is_access)
4264} 4265}
4265 4266
4266EOLIAN static void 4267EOLIAN static void
4267_elm_gengrid_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bool acs) 4268_elm_gengrid_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bool acs)
4268{ 4269{
4269 _elm_gengrid_smart_focus_next_enable = acs; 4270 _elm_gengrid_smart_focus_next_enable = acs;
4270 _access_obj_process(sd, _elm_gengrid_smart_focus_next_enable); 4271 _access_obj_process(sd, _elm_gengrid_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_gengrid.eo b/src/lib/elementary/elm_gengrid.eo
index 96506b4dfa..2e0bdff78b 100644
--- a/src/lib/elementary/elm_gengrid.eo
+++ b/src/lib/elementary/elm_gengrid.eo
@@ -550,7 +550,7 @@ class Elm.Gengrid (Efl.Ui.Layout, Elm.Interface_Scrollable,
550 Elm.Widget.theme_apply; 550 Elm.Widget.theme_apply;
551 Elm.Widget.focus_next_manager_is; 551 Elm.Widget.focus_next_manager_is;
552 Elm.Widget.focus_direction_manager_is; 552 Elm.Widget.focus_direction_manager_is;
553 Elm.Widget.access; 553 Elm.Widget.on_access_update;
554 Elm.Widget.focus_next; 554 Elm.Widget.focus_next;
555 Elm.Widget.focus_direction; 555 Elm.Widget.focus_direction;
556 Elm.Widget.on_focus; 556 Elm.Widget.on_focus;
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index b6e708e058..e57cc82c3e 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -8,6 +8,7 @@
8#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED 8#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
9#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 9#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
10#define ELM_WIDGET_ITEM_PROTECTED 10#define ELM_WIDGET_ITEM_PROTECTED
11#define ELM_WIDGET_BETA
11 12
12#include <Elementary.h> 13#include <Elementary.h>
13#include <Elementary_Cursor.h> 14#include <Elementary_Cursor.h>
@@ -5749,7 +5750,7 @@ _access_obj_process(Elm_Genlist_Data *sd, Eina_Bool is_access)
5749} 5750}
5750 5751
5751EOLIAN static void 5752EOLIAN static void
5752_elm_genlist_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bool acs) 5753_elm_genlist_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bool acs)
5753{ 5754{
5754 _elm_genlist_smart_focus_next_enable = acs; 5755 _elm_genlist_smart_focus_next_enable = acs;
5755 _access_obj_process(sd, _elm_genlist_smart_focus_next_enable); 5756 _access_obj_process(sd, _elm_genlist_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_genlist.eo b/src/lib/elementary/elm_genlist.eo
index 9740f35a41..86a1f09e7a 100644
--- a/src/lib/elementary/elm_genlist.eo
+++ b/src/lib/elementary/elm_genlist.eo
@@ -535,7 +535,7 @@ class Elm.Genlist (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
535 Elm.Widget.theme_apply; 535 Elm.Widget.theme_apply;
536 Elm.Widget.focus_next_manager_is; 536 Elm.Widget.focus_next_manager_is;
537 Elm.Widget.widget_sub_object_add; 537 Elm.Widget.widget_sub_object_add;
538 Elm.Widget.access; 538 Elm.Widget.on_access_update;
539 Elm.Widget.focus_highlight_geometry_get; 539 Elm.Widget.focus_highlight_geometry_get;
540 Elm.Widget.focus_next; 540 Elm.Widget.focus_next;
541 Elm.Widget.on_focus; 541 Elm.Widget.on_focus;
diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c
index 2e7244c472..1d077be47e 100644
--- a/src/lib/elementary/elm_index.c
+++ b/src/lib/elementary/elm_index.c
@@ -5,8 +5,9 @@
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED 7#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
8
9#define ELM_WIDGET_ITEM_PROTECTED 8#define ELM_WIDGET_ITEM_PROTECTED
9#define ELM_WIDGET_BETA
10
10#include <Elementary.h> 11#include <Elementary.h>
11 12
12#include "elm_priv.h" 13#include "elm_priv.h"
@@ -1228,7 +1229,7 @@ _access_obj_process(Evas_Object *obj, Eina_Bool is_access)
1228} 1229}
1229 1230
1230EOLIAN static void 1231EOLIAN static void
1231_elm_index_elm_widget_access(Eo *obj, Elm_Index_Data *_pd EINA_UNUSED, Eina_Bool acs) 1232_elm_index_elm_widget_on_access_update(Eo *obj, Elm_Index_Data *_pd EINA_UNUSED, Eina_Bool acs)
1232{ 1233{
1233 _elm_index_smart_focus_next_enable = acs; 1234 _elm_index_smart_focus_next_enable = acs;
1234 _access_obj_process(obj, _elm_index_smart_focus_next_enable); 1235 _access_obj_process(obj, _elm_index_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_index.eo b/src/lib/elementary/elm_index.eo
index c67b2d7fa0..2d294f55f6 100644
--- a/src/lib/elementary/elm_index.eo
+++ b/src/lib/elementary/elm_index.eo
@@ -200,7 +200,7 @@ class Elm.Index (Efl.Ui.Layout, Efl.Ui.Direction,
200 Elm.Widget.theme_apply; 200 Elm.Widget.theme_apply;
201 Elm.Widget.focus_next_manager_is; 201 Elm.Widget.focus_next_manager_is;
202 Elm.Widget.focus_direction_manager_is; 202 Elm.Widget.focus_direction_manager_is;
203 Elm.Widget.access; 203 Elm.Widget.on_access_update;
204 Elm.Widget.focus_next; 204 Elm.Widget.focus_next;
205 Efl.Ui.Direction.direction { get; set; [[Only supports $vertical and $horizontal. Default is $vertical.]] } 205 Efl.Ui.Direction.direction { get; set; [[Only supports $vertical and $horizontal. Default is $vertical.]] }
206 Elm.Interface.Atspi_Accessible.children { get; } 206 Elm.Interface.Atspi_Accessible.children { get; }
diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c
index 05323969f5..81e5733d38 100644
--- a/src/lib/elementary/elm_list.c
+++ b/src/lib/elementary/elm_list.c
@@ -6,6 +6,7 @@
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED 7#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
8#define ELM_WIDGET_ITEM_PROTECTED 8#define ELM_WIDGET_ITEM_PROTECTED
9#define ELM_WIDGET_BETA
9 10
10#include <Elementary.h> 11#include <Elementary.h>
11 12
@@ -2523,7 +2524,7 @@ _elm_list_efl_canvas_group_group_member_add(Eo *obj, Elm_List_Data *sd, Evas_Obj
2523} 2524}
2524 2525
2525EOLIAN static void 2526EOLIAN static void
2526_elm_list_elm_widget_access(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Eina_Bool acs) 2527_elm_list_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Eina_Bool acs)
2527{ 2528{
2528 Eina_List *elist = NULL; 2529 Eina_List *elist = NULL;
2529 Elm_Object_Item *eo_it; 2530 Elm_Object_Item *eo_it;
diff --git a/src/lib/elementary/elm_list.eo b/src/lib/elementary/elm_list.eo
index 2db4e0bb2d..452beff3ac 100644
--- a/src/lib/elementary/elm_list.eo
+++ b/src/lib/elementary/elm_list.eo
@@ -436,7 +436,7 @@ class Elm.List (Efl.Ui.Layout, Elm.Interface_Scrollable,
436 Elm.Widget.theme_apply; 436 Elm.Widget.theme_apply;
437 Elm.Widget.focus_next_manager_is; 437 Elm.Widget.focus_next_manager_is;
438 Elm.Widget.focus_direction_manager_is; 438 Elm.Widget.focus_direction_manager_is;
439 Elm.Widget.access; 439 Elm.Widget.on_access_update;
440 Elm.Widget.focus_highlight_geometry_get; 440 Elm.Widget.focus_highlight_geometry_get;
441 Elm.Widget.focus_next; 441 Elm.Widget.focus_next;
442 Elm.Widget.on_disabled_update; 442 Elm.Widget.on_disabled_update;
diff --git a/src/lib/elementary/elm_multibuttonentry.eo b/src/lib/elementary/elm_multibuttonentry.eo
index 40d4e727f9..a0358b0ca6 100644
--- a/src/lib/elementary/elm_multibuttonentry.eo
+++ b/src/lib/elementary/elm_multibuttonentry.eo
@@ -181,7 +181,7 @@ class Elm.Multibuttonentry (Efl.Ui.Layout)
181 Elm.Widget.theme_apply; 181 Elm.Widget.theme_apply;
182 Elm.Widget.focus_next_manager_is; 182 Elm.Widget.focus_next_manager_is;
183 Elm.Widget.focus_direction_manager_is; 183 Elm.Widget.focus_direction_manager_is;
184 Elm.Widget.access; 184 Elm.Widget.on_access_update;
185 Elm.Widget.focus_direction; 185 Elm.Widget.focus_direction;
186 Elm.Widget.focus_next; 186 Elm.Widget.focus_next;
187 Elm.Widget.on_focus; 187 Elm.Widget.on_focus;
diff --git a/src/lib/elementary/elm_naviframe.eo b/src/lib/elementary/elm_naviframe.eo
index 18974b2749..f526919c00 100644
--- a/src/lib/elementary/elm_naviframe.eo
+++ b/src/lib/elementary/elm_naviframe.eo
@@ -147,7 +147,7 @@ class Elm.Naviframe (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action)
147 Elm.Widget.focus_direction; 147 Elm.Widget.focus_direction;
148 Elm.Widget.focus_next_manager_is; 148 Elm.Widget.focus_next_manager_is;
149 Elm.Widget.focus_direction_manager_is; 149 Elm.Widget.focus_direction_manager_is;
150 Elm.Widget.access; 150 Elm.Widget.on_access_update;
151 Elm.Widget.focus_next; 151 Elm.Widget.focus_next;
152 Elm.Widget.translate; 152 Elm.Widget.translate;
153 Elm.Widget.theme_apply; 153 Elm.Widget.theme_apply;
diff --git a/src/lib/elementary/elm_panel.c b/src/lib/elementary/elm_panel.c
index be7135c246..a890902878 100644
--- a/src/lib/elementary/elm_panel.c
+++ b/src/lib/elementary/elm_panel.c
@@ -4,6 +4,7 @@
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_WIDGET_BETA
7 8
8#include <Elementary.h> 9#include <Elementary.h>
9 10
@@ -990,7 +991,7 @@ _elm_panel_efl_canvas_group_group_member_add(Eo *obj, Elm_Panel_Data *sd, Evas_O
990} 991}
991 992
992EOLIAN static void 993EOLIAN static void
993_elm_panel_elm_widget_access(Eo *obj, Elm_Panel_Data *_pd, Eina_Bool is_access) 994_elm_panel_elm_widget_on_access_update(Eo *obj, Elm_Panel_Data *_pd, Eina_Bool is_access)
994{ 995{
995 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 996 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
996 Elm_Panel_Data *sd = _pd; 997 Elm_Panel_Data *sd = _pd;
diff --git a/src/lib/elementary/elm_panel.eo b/src/lib/elementary/elm_panel.eo
index 829a1fcdd5..2b03f95b39 100644
--- a/src/lib/elementary/elm_panel.eo
+++ b/src/lib/elementary/elm_panel.eo
@@ -83,7 +83,7 @@ class Elm.Panel (Efl.Ui.Layout, Elm.Interface_Scrollable,
83 Elm.Widget.focus_next_manager_is; 83 Elm.Widget.focus_next_manager_is;
84 Elm.Widget.focus_next; 84 Elm.Widget.focus_next;
85 Elm.Widget.on_disabled_update; 85 Elm.Widget.on_disabled_update;
86 Elm.Widget.access; 86 Elm.Widget.on_access_update;
87 Elm.Widget.widget_event; 87 Elm.Widget.widget_event;
88 Elm.Widget.on_focus_region; 88 Elm.Widget.on_focus_region;
89 Elm.Interface.Atspi_Widget_Action.elm_actions { get; } 89 Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
diff --git a/src/lib/elementary/elm_popup.eo b/src/lib/elementary/elm_popup.eo
index 8592d8cde3..8023d62571 100644
--- a/src/lib/elementary/elm_popup.eo
+++ b/src/lib/elementary/elm_popup.eo
@@ -172,7 +172,7 @@ class Elm.Popup (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action)
172 Elm.Widget.focus_next_manager_is; 172 Elm.Widget.focus_next_manager_is;
173 Elm.Widget.theme_apply; 173 Elm.Widget.theme_apply;
174 Elm.Widget.focus_direction_manager_is; 174 Elm.Widget.focus_direction_manager_is;
175 Elm.Widget.access; 175 Elm.Widget.on_access_update;
176 Elm.Widget.focus_next; 176 Elm.Widget.focus_next;
177 Elm.Widget.widget_parent { set; } 177 Elm.Widget.widget_parent { set; }
178 Elm.Widget.translate; 178 Elm.Widget.translate;
diff --git a/src/lib/elementary/elm_segment_control.c b/src/lib/elementary/elm_segment_control.c
index 01dc0d18c6..c472e5e39d 100644
--- a/src/lib/elementary/elm_segment_control.c
+++ b/src/lib/elementary/elm_segment_control.c
@@ -3,8 +3,9 @@
3#endif 3#endif
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6
7#define ELM_WIDGET_ITEM_PROTECTED 6#define ELM_WIDGET_ITEM_PROTECTED
7#define ELM_WIDGET_BETA
8
8#include <Elementary.h> 9#include <Elementary.h>
9 10
10#include "elm_priv.h" 11#include "elm_priv.h"
@@ -692,7 +693,7 @@ _access_obj_process(Elm_Segment_Control_Data *sd, Eina_Bool is_access)
692} 693}
693 694
694EOLIAN static void 695EOLIAN static void
695_elm_segment_control_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Segment_Control_Data *sd, Eina_Bool acs) 696_elm_segment_control_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Segment_Control_Data *sd, Eina_Bool acs)
696{ 697{
697 _elm_segment_control_smart_focus_next_enable = acs; 698 _elm_segment_control_smart_focus_next_enable = acs;
698 _access_obj_process(sd, _elm_segment_control_smart_focus_next_enable); 699 _access_obj_process(sd, _elm_segment_control_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_segment_control.eo b/src/lib/elementary/elm_segment_control.eo
index ef43cc12fb..36016d7e39 100644
--- a/src/lib/elementary/elm_segment_control.eo
+++ b/src/lib/elementary/elm_segment_control.eo
@@ -140,7 +140,7 @@ class Elm.Segment_Control (Efl.Ui.Layout)
140 Elm.Widget.focus_next_manager_is; 140 Elm.Widget.focus_next_manager_is;
141 Elm.Widget.focus_next; 141 Elm.Widget.focus_next;
142 Elm.Widget.focus_direction_manager_is; 142 Elm.Widget.focus_direction_manager_is;
143 Elm.Widget.access; 143 Elm.Widget.on_access_update;
144 Elm.Widget.on_disabled_update; 144 Elm.Widget.on_disabled_update;
145 Elm.Widget.translate; 145 Elm.Widget.translate;
146 } 146 }
diff --git a/src/lib/elementary/elm_spinner.c b/src/lib/elementary/elm_spinner.c
index 00e7bcdc4a..2c00ad3b61 100644
--- a/src/lib/elementary/elm_spinner.c
+++ b/src/lib/elementary/elm_spinner.c
@@ -5,6 +5,7 @@
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED 6#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
8#define ELM_WIDGET_BETA
8 9
9#include <Elementary.h> 10#include <Elementary.h>
10#include <ctype.h> 11#include <ctype.h>
@@ -1404,7 +1405,7 @@ _elm_spinner_elm_widget_focus_next(Eo *obj, Elm_Spinner_Data *_pd, Elm_Focus_Dir
1404} 1405}
1405 1406
1406EOLIAN static void 1407EOLIAN static void
1407_elm_spinner_elm_widget_access(Eo *obj, Elm_Spinner_Data *_pd EINA_UNUSED, Eina_Bool acs) 1408_elm_spinner_elm_widget_on_access_update(Eo *obj, Elm_Spinner_Data *_pd EINA_UNUSED, Eina_Bool acs)
1408{ 1409{
1409 _elm_spinner_smart_focus_next_enable = acs; 1410 _elm_spinner_smart_focus_next_enable = acs;
1410 _access_spinner_register(obj, _elm_spinner_smart_focus_next_enable); 1411 _access_spinner_register(obj, _elm_spinner_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_spinner.eo b/src/lib/elementary/elm_spinner.eo
index 95614a3ad8..69d121474e 100644
--- a/src/lib/elementary/elm_spinner.eo
+++ b/src/lib/elementary/elm_spinner.eo
@@ -149,7 +149,7 @@ class Elm.Spinner (Efl.Ui.Layout, Efl.Ui.Spin,
149 Elm.Widget.theme_apply; 149 Elm.Widget.theme_apply;
150 Elm.Widget.focus_next_manager_is; 150 Elm.Widget.focus_next_manager_is;
151 Elm.Widget.focus_direction_manager_is; 151 Elm.Widget.focus_direction_manager_is;
152 Elm.Widget.access; 152 Elm.Widget.on_access_update;
153 Elm.Widget.focus_next; 153 Elm.Widget.focus_next;
154 Elm.Widget.focus_direction; 154 Elm.Widget.focus_direction;
155 Elm.Widget.on_focus; 155 Elm.Widget.on_focus;
diff --git a/src/lib/elementary/elm_toolbar.c b/src/lib/elementary/elm_toolbar.c
index 4d4c1d0c36..852fc6251f 100644
--- a/src/lib/elementary/elm_toolbar.c
+++ b/src/lib/elementary/elm_toolbar.c
@@ -6,6 +6,7 @@
6#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 7#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
8#define ELM_WIDGET_ITEM_PROTECTED 8#define ELM_WIDGET_ITEM_PROTECTED
9#define ELM_WIDGET_BETA
9 10
10#include <Elementary.h> 11#include <Elementary.h>
11 12
@@ -3001,7 +3002,7 @@ _access_obj_process(Elm_Toolbar_Data * sd, Eina_Bool is_access)
3001} 3002}
3002 3003
3003EOLIAN static void 3004EOLIAN static void
3004_elm_toolbar_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd, Eina_Bool acs) 3005_elm_toolbar_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd, Eina_Bool acs)
3005{ 3006{
3006 _elm_toolbar_smart_focus_next_enable = acs; 3007 _elm_toolbar_smart_focus_next_enable = acs;
3007 _access_obj_process(sd, _elm_toolbar_smart_focus_next_enable); 3008 _access_obj_process(sd, _elm_toolbar_smart_focus_next_enable);
diff --git a/src/lib/elementary/elm_toolbar.eo b/src/lib/elementary/elm_toolbar.eo
index e70fee6177..133fa69699 100644
--- a/src/lib/elementary/elm_toolbar.eo
+++ b/src/lib/elementary/elm_toolbar.eo
@@ -321,7 +321,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Ui.Direction,
321 Efl.Canvas.Group.group_calculate; 321 Efl.Canvas.Group.group_calculate;
322 Efl.Canvas.Group.group_member_add; 322 Efl.Canvas.Group.group_member_add;
323 Elm.Widget.focus_next_manager_is; 323 Elm.Widget.focus_next_manager_is;
324 Elm.Widget.access; 324 Elm.Widget.on_access_update;
325 Elm.Widget.focus_next; 325 Elm.Widget.focus_next;
326 Elm.Widget.theme_apply; 326 Elm.Widget.theme_apply;
327 Elm.Widget.on_focus; 327 Elm.Widget.on_focus;
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 02b9635740..68b88bf7a0 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -1176,14 +1176,14 @@ elm_widget_access(Evas_Object *obj,
1176 ret &= elm_widget_access(child, is_access); 1176 ret &= elm_widget_access(child, is_access);
1177 } 1177 }
1178 1178
1179 elm_obj_widget_access(obj, is_access); 1179 elm_obj_widget_on_access_update(obj, is_access);
1180 efl_event_callback_legacy_call(obj, ELM_WIDGET_EVENT_ACCESS_CHANGED, NULL); 1180 efl_event_callback_legacy_call(obj, ELM_WIDGET_EVENT_ACCESS_CHANGED, NULL);
1181 1181
1182 return ret; 1182 return ret;
1183} 1183}
1184 1184
1185EOLIAN static void 1185EOLIAN static void
1186_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Eina_Bool is_access EINA_UNUSED) 1186_elm_widget_on_access_update(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Eina_Bool is_access EINA_UNUSED)
1187{ 1187{
1188} 1188}
1189 1189
@@ -3901,9 +3901,7 @@ _elm_widget_focus_reconfigure(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
3901EOLIAN static void 3901EOLIAN static void
3902_elm_widget_access_info_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, const char *txt) 3902_elm_widget_access_info_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, const char *txt)
3903{ 3903{
3904 eina_stringshare_del(sd->access_info); 3904 eina_stringshare_replace(&sd->access_info, txt);
3905 if (!txt) sd->access_info = NULL;
3906 else sd->access_info = eina_stringshare_add(txt);
3907} 3905}
3908 3906
3909EOLIAN static const char* 3907EOLIAN static const char*
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 0e3b350d20..e9e760189a 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -246,6 +246,29 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
246 txt: string @nullable; [[Accessibility text description]] 246 txt: string @nullable; [[Accessibility text description]]
247 } 247 }
248 } 248 }
249 on_access_activate @protected @beta {
250 [[Hook function called when widget is activated through accessibility.
251
252 This meant to be overridden by subclasses to support accessibility.
253 This is an unstable API.
254 ]]
255 params {
256 @in act: Elm.Activate; [[Type of activation.]]
257 }
258 return: bool; [[$true on success, $false otherwise]]
259 legacy: null; /* FIXME: legacy API does extra work */
260 }
261 on_access_update @protected @beta {
262 [[Hook function called when accessibility is changed on the widget.
263
264 This meant to be overridden by subclasses to support accessibility.
265 This is an unstable API.
266 ]]
267 params {
268 @in enable: bool; [[$true if accessibility is enabled.]]
269 }
270 legacy: null; /* FIXME: legacy API does extra work */
271 }
249 272
250 /* Drag API */ 273 /* Drag API */
251 @property drag_lock_x { 274 @property drag_lock_x {
@@ -400,25 +423,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
400 return: Efl.Ui.Theme.Apply; [[Indicates success, and if the current 423 return: Efl.Ui.Theme.Apply; [[Indicates success, and if the current
401 theme or default theme was used.]] 424 theme or default theme was used.]]
402 } 425 }
403 on_access_activate @protected @beta {
404 [[Hook function called when widget is activated through accessibility.
405
406 This meant to be overridden by subclasses to support accessibility.
407 This is an unstable API.
408 ]]
409 params {
410 @in act: Elm.Activate; [[Type of activation.]]
411 }
412 return: bool; [[$true on success, $false otherwise]]
413 legacy: null; /* the legacy API has not the same number of parameter to we don't generate it. */
414 }
415 access {
416 [['Virtual' function on the widget being set access.]]
417 params {
418 @in acs: bool; [[$true if access is set, $false otherwise]]
419 }
420 legacy: null;
421 }
422 on_focus { 426 on_focus {
423 [['Virtual' function handling focus in/out events on the widget]] 427 [['Virtual' function handling focus in/out events on the widget]]
424 params { 428 params {