Efl.Input.Clickable (mixin)

Description

Efl input clickable interface.

Since 1.23

Members

interaction (get)

Eina_Bool efl_input_clickable_interaction_get(const Eo *obj);


button_state_reset protected

This aborts the internal state after a press call.
void efl_input_clickable_button_state_reset(Eo *obj, unsigned int button);


longpress_abort protected

This aborts ongoing longpress event.
void efl_input_clickable_longpress_abort(Eo *obj, unsigned int button);


press protected

Change internal states that a button got pressed.
void efl_input_clickable_press(Eo *obj, unsigned int button);


unpress protected

Change internal states that a button got unpressed.
void efl_input_clickable_unpress(Eo *obj, unsigned int button);


Events

clicked

Called when object is in sequence pressed and unpressed by the primary button
EFL_INPUT_EVENT_CLICKED(Efl_Input_Clickable_Clicked)


clicked,any

Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.
EFL_INPUT_EVENT_CLICKED_ANY(Efl_Input_Clickable_Clicked)


longpressed

Called when the object receives a long press, event_info is the button that got pressed
EFL_INPUT_EVENT_LONGPRESSED(int)


pressed

Called when the object is pressed, event_info is the button that got pressed
EFL_INPUT_EVENT_PRESSED(int)


unpressed

Called when the object is no longer pressed, event_info is the button that got pressed
EFL_INPUT_EVENT_UNPRESSED(int)