Description

The mouse button that triggered the event.

Valid if and only if Efl.Input.Pointer.value_has(button) is true.

Since 1.18

Values

  • but - 1 to 32, 0 if not a button event.

Signature

@property button {
    get {
        values {
            but: int;
        }
    }
    set {
        values {
            but: int;
        }
    }
}

C signature

int efl_input_pointer_button_get(const Eo *obj);
void efl_input_pointer_button_set(Eo *obj, int but);

Implemented by

  • Efl.Input.Pointer.button