forked from enlightenment/efl
parent
74a985e916
commit
8f34a43231
|
@ -82,7 +82,7 @@ test_button(void *data, Evas_Object *obj, void *event_info)
|
|||
elm_box_pack_end(bx, bt);
|
||||
evas_object_smart_callback_add(bt, "repeated", _bt_repeated, NULL);
|
||||
elm_button_autorepeat_set(bt, 1);
|
||||
elm_button_autorepeat_initital_timeout_set(bt, 2.0);
|
||||
elm_button_autorepeat_initial_timeout_set(bt, 2.0);
|
||||
elm_button_autorepeat_gap_timeout_set(bt, 0.5);
|
||||
evas_object_show(bt);
|
||||
|
||||
|
|
|
@ -382,7 +382,7 @@ extern "C" {
|
|||
EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
|
||||
EAPI Evas_Object *elm_button_icon_get(Evas_Object *obj);
|
||||
EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on);
|
||||
EAPI void elm_button_autorepeat_initital_timeout_set(Evas_Object *obj, double t);
|
||||
EAPI void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t);
|
||||
EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t);
|
||||
/* available styles:
|
||||
* default
|
||||
|
|
|
@ -349,7 +349,7 @@ elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on)
|
|||
* @ingroup Button
|
||||
*/
|
||||
EAPI void
|
||||
elm_button_autorepeat_initital_timeout_set(Evas_Object *obj, double t)
|
||||
elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
|
|
Loading…
Reference in New Issue