aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2017-11-24 16:50:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-24 16:50:01 +0900
commit2016bacd177b3d8787b5e829155c9eb9cbb24875 (patch)
tree2535cb648338c1871219573b5d5bf6d208869529
parentlayout: Fix erroneous warnings (from earlier patch) (diff)
downloadefl-2016bacd177b3d8787b5e829155c9eb9cbb24875.tar.gz
elm: add custom access state for Elm.Hover
Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5523
-rw-r--r--src/lib/elementary/elm_hover.c10
-rw-r--r--src/lib/elementary/elm_hover.eo1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c
index 5bbbc570dd..b92b2ea1a3 100644
--- a/src/lib/elementary/elm_hover.c
+++ b/src/lib/elementary/elm_hover.c
@@ -865,6 +865,16 @@ _elm_hover_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Hov
return &atspi_actions[0];
}
+EOLIAN static Efl_Access_State_Set
+_elm_hover_efl_access_state_set_get(Eo *obj, Elm_Hover_Data *pd EINA_UNUSED)
+{
+ Efl_Access_State_Set states;
+ states = efl_access_state_set_get(efl_super(obj, MY_CLASS));
+
+ STATE_TYPE_SET(states, EFL_ACCESS_STATE_MODAL);
+ return states;
+}
+
/* Efl.Part begin */
ELM_PART_OVERRIDE(elm_hover, ELM_HOVER, Elm_Hover_Data)
diff --git a/src/lib/elementary/elm_hover.eo b/src/lib/elementary/elm_hover.eo
index a1c33f0b4b..c517b9c0a8 100644
--- a/src/lib/elementary/elm_hover.eo
+++ b/src/lib/elementary/elm_hover.eo
@@ -69,6 +69,7 @@ class Elm.Hover (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Efl.Ui.Clickable, Efl.Access
Elm.Widget.widget_parent { get; set; }
Elm.Widget.widget_sub_object_del;
Efl.Access.Widget.Action.elm_actions { get; }
+ Efl.Access.state_set { get; }
Efl.Part.part;
}
events {