* Fix the calculation double type number.
* Fix the policy is not changed when the theme is changed.
* When entry is disabled, scrolling is also disabled.
+ * Make access object unfocusable when Aaccessibility is disabled.
Removals:
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
- elm_widget_can_focus_set(obj, EINA_TRUE);
+ elm_widget_can_focus_set(obj, _elm_config->access_mode);
}
static Eina_Bool
}
static void
+_elm_access_smart_access(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
+{
+ Eina_Bool is_access = va_arg(*list, int);
+
+ elm_widget_can_focus_set(obj, is_access);
+}
+
+static void
_class_constructor(Eo_Class *klass)
{
const Eo_Op_Func_Description func_desc[] = {
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS), _elm_access_smart_on_focus),
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACTIVATE), _elm_access_smart_activate),
+ EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS), _elm_access_smart_access),
EO_OP_FUNC_SENTINEL
};