{
elm_config_first_item_focus_on_first_focusin_set(elm_check_state_get(obj));
}
+
+static void
+_gl_wheel_disabled_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+{
+ elm_scroller_wheel_disabled_set(data, elm_check_state_get(obj));
+}
+
static Eina_Bool
_focus_timer_cb(void *data)
{
elm_box_pack_end(bx_opt, chk);
evas_object_show(chk);
+ chk = elm_check_add(bx_opt);
+ elm_object_text_set(chk, "Wheel Disabled");
+ elm_check_state_set(chk, elm_scroller_wheel_disabled_get(gl));
+ evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0);
+ evas_object_smart_callback_add(chk, "changed", _gl_wheel_disabled_cb, gl);
+ elm_box_pack_end(bx_opt, chk);
+ evas_object_show(chk);
+
// Focus Autoscroll Mode
fr = _focus_autoscroll_mode_frame_create(bx);
elm_box_pack_end(bx, fr);