~~Title: Efl.Ui.Autorepeat~~
====== Efl.Ui.Autorepeat (interface) ======
===== Description =====
%%Interface for autorepeating clicks.%%
%%This interface abstracts functions for enabling / disabling this feature. When enabled, keeping a button pressed will continuously emit the %%''repeated''%% event until the button is released. The time it takes until it starts emitting the event is given by %%[[:develop:api:efl:ui:autorepeat:property:autorepeat_initial_timeout|Efl.Ui.Autorepeat.autorepeat_initial_timeout]]%%, and the time between each new emission by %%[[:develop:api:efl:ui:autorepeat:property:autorepeat_gap_timeout|Efl.Ui.Autorepeat.autorepeat_gap_timeout]]%%.%%
//Since 1.23//
{{page>:develop:api-include:efl:ui:autorepeat:description&nouser&nolink&nodate}}
===== Members =====
**[[:develop:api:efl:ui:autorepeat:property:autorepeat_enabled|autorepeat_enabled]]** //**(get, set)**//\\
> %%Turn on/off the autorepeat event generated when a button is kept pressed.%%
Eina_Bool efl_ui_autorepeat_enabled_get(const Eo *obj);
void efl_ui_autorepeat_enabled_set(Eo *obj, Eina_Bool on);
\\
**[[:develop:api:efl:ui:autorepeat:property:autorepeat_gap_timeout|autorepeat_gap_timeout]]** //**(get, set)**//\\
> %%The interval between each generated autorepeat event.%%
double efl_ui_autorepeat_gap_timeout_get(const Eo *obj);
void efl_ui_autorepeat_gap_timeout_set(Eo *obj, double t);
\\
**[[:develop:api:efl:ui:autorepeat:property:autorepeat_initial_timeout|autorepeat_initial_timeout]]** //**(get, set)**//\\
> %%The initial timeout before the autorepeat event is generated.%%
double efl_ui_autorepeat_initial_timeout_get(const Eo *obj);
void efl_ui_autorepeat_initial_timeout_set(Eo *obj, double t);
\\
===== Events =====
**[[:develop:api:efl:ui:autorepeat:event:repeated|repeated]]**\\
> %%Called when a repeated event is emitted%%
EFL_UI_AUTOREPEAT_EVENT_REPEATED(void)
\\