Efl.Ui.Autorepeat (interface)


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 Efl.Ui.Autorepeat.autorepeat_initial_timeout, and the time between each new emission by Efl.Ui.Autorepeat.autorepeat_gap_timeout.

Since 1.23


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);

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);

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);



Called when a repeated event is emitted