modify api for consistency.
scrollable_set is more closed to other similar apis.
evas_object_show(hoversel);
hoversel = elm_hoversel_add(win);
- elm_hoversel_scroll_enabled_set(hoversel, EINA_TRUE);
+ elm_hoversel_scrollable_set(hoversel, EINA_TRUE);
elm_hoversel_hover_parent_set(hoversel, win);
elm_object_text_set(hoversel, "Some Icons");
elm_hoversel_item_add(hoversel, "Item 1", NULL, ELM_ICON_NONE, NULL, NULL);
}
EOLIAN void
-_elm_hoversel_scroll_enabled_set(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd, Eina_Bool scroll_enabled)
+_elm_hoversel_scrollable_set(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd, Eina_Bool scroll)
{
- sd->scroll_enabled = !!scroll_enabled;
+ sd->scroll_enabled = !!scroll;
}
EOLIAN Eina_Bool
-_elm_hoversel_scroll_enabled_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd)
+_elm_hoversel_scrollable_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd)
{
return sd->scroll_enabled;
}
return: const(list<Elm.Widget_Item *>)*;
}
}
- @property scroll_enabled {
+ @property scrollable {
[[Control wether scrolling is enabled.
- This Limit the size of contents and make them scrollable.]]
+ This Limit the size of contents and make them scrollable.
+
+ @since 1.16
+ ]]
get {
}
set {
}
values {
- scroll_enabled: bool; [[$true if scrollable $false otherwise.]]
+ scrollable: bool; [[$true if scrollable $false otherwise.]]
}
}
hover_begin {