~~Title: Efl.Input.Clickable~~ ====== Efl.Input.Clickable (mixin) ====== ===== Description ===== %%Efl input clickable interface.%% //Since 1.23// {{page>:develop:api-include:efl:input:clickable:description&nouser&nolink&nodate}} ===== Members ===== **[[:develop:api:efl:input:clickable:property:interaction|interaction]]** //**(get)**//\\ > Eina_Bool efl_input_clickable_interaction_get(const Eo *obj); \\ **[[:develop:api:efl:input:clickable:method:button_state_reset|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); \\ **[[:develop:api:efl:input:clickable:method:longpress_abort|longpress_abort]]** ''protected''\\ > %%This aborts ongoing longpress event.%% void efl_input_clickable_longpress_abort(Eo *obj, unsigned int button); \\ **[[:develop:api:efl:input:clickable:method:press|press]]** ''protected''\\ > %%Change internal states that a button got pressed.%% void efl_input_clickable_press(Eo *obj, unsigned int button); \\ **[[:develop:api:efl:input:clickable:method:unpress|unpress]]** ''protected''\\ > %%Change internal states that a button got unpressed.%% void efl_input_clickable_unpress(Eo *obj, unsigned int button); \\ ===== Events ===== **[[:develop:api:efl:input:clickable:event:clicked|clicked]]**\\ > %%Called when object is in sequence pressed and unpressed by the primary button%% EFL_INPUT_EVENT_CLICKED(Efl_Input_Clickable_Clicked) \\ **[[:develop:api:efl:input:clickable:event:clicked_any|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) \\ **[[:develop:api:efl:input:clickable:event:longpressed|longpressed]]**\\ > %%Called when the object receives a long press, event_info is the button that got pressed%% EFL_INPUT_EVENT_LONGPRESSED(int) \\ **[[:develop:api:efl:input:clickable:event:pressed|pressed]]**\\ > %%Called when the object is pressed, event_info is the button that got pressed%% EFL_INPUT_EVENT_PRESSED(int) \\ **[[:develop:api:efl:input:clickable:event:unpressed|unpressed]]**\\ > %%Called when the object is no longer pressed, event_info is the button that got pressed%% EFL_INPUT_EVENT_UNPRESSED(int) \\