atspi: expose elm_image "activate" action through d-bus
This commit is contained in:
parent
b32349d5d6
commit
f9ad7f921a
|
@ -14,6 +14,9 @@
|
|||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
|
||||
#include "elm_interface_atspi_widget_action.eo.h"
|
||||
|
||||
#define FMT_SIZE_T "%zu"
|
||||
|
||||
#define MY_CLASS ELM_IMAGE_CLASS
|
||||
|
@ -1342,6 +1345,12 @@ _elm_image_elm_interface_atspi_image_extents_get(Eo *obj, Elm_Image_Data *sd EIN
|
|||
elm_image_object_size_get(obj, w, h);
|
||||
}
|
||||
|
||||
EOLIAN const Elm_Action *
|
||||
_elm_image_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Image_Data *pd EINA_UNUSED)
|
||||
{
|
||||
return &key_actions[0];
|
||||
}
|
||||
|
||||
|
||||
// A11Y - END
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class Elm_Image (Elm_Widget, Evas.Clickable_Interface, Elm_Interface_Atspi_Image)
|
||||
class Elm_Image (Elm_Widget, Evas.Clickable_Interface,
|
||||
Elm_Interface_Atspi_Image, Elm_Interface_Atspi_Widget_Action)
|
||||
{
|
||||
eo_prefix: elm_obj_image;
|
||||
properties {
|
||||
|
@ -548,6 +549,7 @@ class Elm_Image (Elm_Widget, Evas.Clickable_Interface, Elm_Interface_Atspi_Image
|
|||
Elm_Widget.theme_apply;
|
||||
Elm_Widget.event;
|
||||
Elm_Interface_Atspi_Image.extents.get;
|
||||
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
|
||||
}
|
||||
events {
|
||||
drop;
|
||||
|
|
Loading…
Reference in New Issue