Hi,
I have a box, which has 1 label in the middle of the screen.
I create a gesture, setup the callback, attach to the box, but the callback is only called when I touch on the label.
If I click other area of the box, the gesture callback is not called.
ad->box = elm_box_add(ad->conform); evas_object_size_hint_weight_set(ad->box,EVAS_HINT_EXPAND,EVAS_HINT_EXPAND); elm_object_content_set(ad->conform,ad->box); evas_object_show(ad->box); ad->label = elm_label_add(ad->conform); elm_object_text_set(ad->label, "xxxxxxxxxxxxxxxxxxxx"); evas_object_size_hint_align_set(ad->label,0.5,0.5); evas_object_size_hint_weight_set(ad->label, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(ad->label); elm_box_pack_end(ad->box,ad->label); Evas_Object *gesture = elm_gesture_layer_add(ad->win); elm_gesture_layer_attach(gesture, ad->box); elm_gesture_layer_cb_set(gesture, ELM_GESTURE_N_TAPS, ELM_GESTURE_STATE_START, n_finger_tap_start, NULL);
What I want, is to be able to catch the gestures on fullscreen.
But if I add a rectangle to the box, it will not cover the full box area, only comes after the label.
But anyway, can't I catch the gesture on the box-fullscreen area? (or maybe my box is not fullscreen?)