//
};
+enum
+{
+ ELM_ACCESSIBLE_DEFAULT_LABEL_ENABLED = 0,
+ ELM_ACCESSIBLE_DEFAULT_LABEL_DISABLED = 1 << 0,
+};
+
enum _Atspi_Object_Child_Event_Type
{
ATSPI_OBJECT_CHILD_ADDED = 0,
}
//
+static unsigned int
+_window_activated_detail_value_add(Eo *obj)
+{
+ unsigned int ret = ELM_ACCESSIBLE_DEFAULT_LABEL_ENABLED;
+ Eina_List *l, *attr_list = NULL;
+ Elm_Atspi_Attribute *attr = NULL;
+
+ eo_do(obj, attr_list = elm_interface_atspi_accessible_attributes_get());
+ EINA_LIST_FOREACH(attr_list, l, attr)
+ {
+ if (!strcmp(attr->key, "default_label") && !strcmp(attr->value, "disabled"))
+ {
+ ret |= ELM_ACCESSIBLE_DEFAULT_LABEL_DISABLED;
+ break;
+ }
+ }
+ if (attr_list)
+ elm_atspi_attributes_list_free(attr_list);
+
+ return ret;
+}
+
static Eina_Bool
_window_signal_send(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info EINA_UNUSED)
{
return EINA_FALSE;
}
+ unsigned int det1 = 0;
+ if (desc == ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED)
+ det1 = _window_activated_detail_value_add(obj);
+
_bridge_signal_send(data, obj, ATSPI_DBUS_INTERFACE_EVENT_WINDOW,
- &_window_obj_signals[type], "", 0, 0, "i", 0);
+ &_window_obj_signals[type], "", det1, 0, "i", 0);
return EINA_TRUE;
}