Thanks to Dave for pointing out this.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
interface Efl.Ui.Autorepeat {
[[Efl UI autorepeat interface]]
+ eo_prefix: efl_ui;
methods {
- @property initial_timeout {
+ @property autorepeat_initial_timeout {
[[The initial timeout before the autorepeat event is generated
Sets the timeout, in seconds, since the button is pressed until the
won't be any delay and the event will be fired the moment the button is
pressed.
- See also @.enabled.set, @.gap_timeout.set.
+ See also @.autorepeat_enabled.set, @.autorepeat_gap_timeout.set.
]]
values {
t: double; [[Timeout in seconds]]
}
}
- @property gap_timeout {
+ @property autorepeat_gap_timeout {
[[The interval between each generated autorepeat event
After the first $repeated event is fired, all subsequent ones will
follow after a delay of $t seconds for each.
- See also @.initial_timeout.set.
+ See also @.autorepeat_initial_timeout.set.
]]
values {
t: double; [[Interval in seconds]]
}
}
- @property enabled {
+ @property autorepeat_enabled {
[[Turn on/off the autorepeat event generated when the button is kept pressed
When off, no autorepeat is performed and buttons emit a normal $clicked
When on, keeping a button pressed will continuously emit a $repeated
signal until the button is released. The time it takes until it starts
- emitting the signal is given by @.initial_timeout.set, and the
- time between each new emission by @.gap_timeout.set.
+ emitting the signal is given by @.autorepeat_initial_timeout.set, and the
+ time between each new emission by @.autorepeat_gap_timeout.set.
]]
values {
on: bool; [[A bool to turn on/off the event]]
}
}
- @property supported {
+ @property autorepeat_supported {
[[Whether the button supports autorepeat.]]
get {
}
}
EOLIAN static Eina_Bool
-_elm_combobox_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED,
- Elm_Combobox_Data *sd EINA_UNUSED)
+_elm_combobox_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED,
+ Elm_Combobox_Data *sd EINA_UNUSED)
{
return EINA_FALSE;
}
}
EOLIAN static Eina_Bool
-_elm_fileselector_button_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
+_elm_fileselector_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
{
return EINA_FALSE;
}
}
EOLIAN static Eina_Bool
-_elm_hoversel_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED)
+_elm_hoversel_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED)
{
return EINA_FALSE;
}
}
EOLIAN static void
-_elm_button_efl_ui_autorepeat_enabled_set(Eo *obj EINA_UNUSED, Elm_Button_Data *sd, Eina_Bool on)
+_elm_button_efl_ui_autorepeat_autorepeat_enabled_set(Eo *obj EINA_UNUSED, Elm_Button_Data *sd, Eina_Bool on)
{
ELM_SAFE_FREE(sd->timer, ecore_timer_del);
sd->autorepeat = on;
}
EOLIAN static Eina_Bool
-_elm_button_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Button_Data *_pd EINA_UNUSED)
+_elm_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Button_Data *_pd EINA_UNUSED)
{
return EINA_TRUE;
}
EOLIAN static Eina_Bool
-_elm_button_efl_ui_autorepeat_enabled_get(Eo *obj, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_enabled_get(Eo *obj, Elm_Button_Data *sd)
{
return (_AR_CAPABLE(obj) & sd->autorepeat);
}
EOLIAN static void
-_elm_button_efl_ui_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
+_elm_button_efl_ui_autorepeat_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
{
if (!_AR_CAPABLE(obj))
{
}
EOLIAN static double
-_elm_button_efl_ui_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
{
if (!_AR_CAPABLE(obj))
return 0.0;
}
EOLIAN static void
-_elm_button_efl_ui_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
+_elm_button_efl_ui_autorepeat_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
{
if (!_AR_CAPABLE(obj))
{
}
EOLIAN static double
-_elm_button_efl_ui_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Elm_Button_Data *sd)
{
return sd->ar_gap_timeout;
}
class.constructor;
Efl.Object.constructor;
Efl.Canvas.Group.group_add;
- Efl.Ui.Autorepeat.initial_timeout { set; get; }
- Efl.Ui.Autorepeat.gap_timeout { set; get; }
- Efl.Ui.Autorepeat.enabled { set; get; }
- Efl.Ui.Autorepeat.supported { get;}
+ Efl.Ui.Autorepeat.autorepeat_initial_timeout { set; get; }
+ Efl.Ui.Autorepeat.autorepeat_gap_timeout { set; get; }
+ Efl.Ui.Autorepeat.autorepeat_enabled { set; get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get;}
Elm.Widget.activate;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
Elm.Widget.translate;
Elm.Widget.widget_event;
- Efl.Ui.Autorepeat.supported { get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get; }
Elm.Genlist.filter { set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
Efl.Canvas.Group.group_add;
Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
- Efl.Ui.Autorepeat.supported { get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get; }
Elm.Interface.Fileselector.selected_models { get; }
Elm.Interface.Fileselector.expandable { get; set; }
Elm.Interface.Fileselector.thumbnail_size { get; set; }
Elm.Widget.theme_apply;
Elm.Widget.translate;
Elm.Widget.widget_event;
- Efl.Ui.Autorepeat.supported { get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
events {