forked from enlightenment/efl
ctxpopup: enhance atspi state information and actions.
This commit is contained in:
parent
029a0421fa
commit
4610ccfba2
|
@ -1447,6 +1447,7 @@ EOLIAN static const Elm_Atspi_Action*
|
|||
_elm_ctxpopup_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd EINA_UNUSED)
|
||||
{
|
||||
static Elm_Atspi_Action atspi_actions[] = {
|
||||
{ "escape", "escape", NULL, _key_action_escape},
|
||||
{ "move,previous", "move", "previous", _key_action_move},
|
||||
{ "move,next", "move", "next", _key_action_move},
|
||||
{ "move,left", "move", "left", _key_action_move},
|
||||
|
@ -1458,5 +1459,16 @@ _elm_ctxpopup_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNU
|
|||
return &atspi_actions[0];
|
||||
}
|
||||
|
||||
EOLIAN static Elm_Atspi_State_Set
|
||||
_elm_ctxpopup_elm_interface_atspi_accessible_state_set_get(Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED)
|
||||
{
|
||||
Elm_Atspi_State_Set ret;
|
||||
eo_do_super(obj, MY_CLASS, ret = elm_interface_atspi_accessible_state_set_get());
|
||||
|
||||
STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MODAL);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
#include "elm_ctxpopup_item.eo.c"
|
||||
#include "elm_ctxpopup.eo.c"
|
||||
|
|
|
@ -263,6 +263,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
|
|||
Elm.Layout.sub_object_add_enable;
|
||||
Elm.Layout.sizing_eval;
|
||||
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
|
||||
Elm_Interface_Atspi_Accessible.state_set.get;
|
||||
}
|
||||
events {
|
||||
dismissed;
|
||||
|
|
Loading…
Reference in New Issue