Description

This enum type describes the state of a gesture recognizer.

Fields

  • ignore - The event does not change the state of the recognizer.
  • maybe - The event changed the internal state of the recognizer, but it isn't clear yet if it is a gesture or not. The recognizer needs to filter more events to decide.
  • trigger - The gesture has been triggered
  • finish - The gesture has been finished successfully.
  • cancel - The event made it clear that it is not a gesture. If the gesture recognizer was in Triggered state before, then the gesture is canceled.
  • result_mask - The gesture result mask

Signature

enum Efl.Gesture.Recognizer_Result {
    ignore: 1,
    maybe: 2,
    trigger: 4,
    finish: 8,
    cancel: 16,
    result_mask: 255
}

C signature

typedef enum {
    EFL_GESTURE_IGNORE = 1,
    EFL_GESTURE_MAYBE = 2,
    EFL_GESTURE_TRIGGER = 4,
    EFL_GESTURE_FINISH = 8,
    EFL_GESTURE_CANCEL = 16,
    EFL_GESTURE_RESULT_MASK = 255
} Efl_Gesture_Recognizer_Result;