forked from enlightenment/efl
elm_slideshow: loop -> items_loop
This commit is contained in:
parent
f07d0d3ff6
commit
7a0bdda5d6
|
@ -587,7 +587,7 @@ _elm_slideshow_timeout_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd)
|
|||
}
|
||||
|
||||
EOLIAN static void
|
||||
_elm_slideshow_loop_set(Eo *obj, Elm_Slideshow_Data *sd, Eina_Bool loop)
|
||||
_elm_slideshow_items_loop_set(Eo *obj, Elm_Slideshow_Data *sd, Eina_Bool loop)
|
||||
{
|
||||
ELM_SLIDESHOW_CHECK(obj);
|
||||
sd->loop = loop;
|
||||
|
@ -614,7 +614,7 @@ _elm_slideshow_layout_set(Eo *obj, Elm_Slideshow_Data *sd, const char *layout)
|
|||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_slideshow_loop_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd)
|
||||
_elm_slideshow_items_loop_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd)
|
||||
{
|
||||
return sd->loop;
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class Elm.Slideshow (Efl.Ui.Layout, Efl.Access.Widget.Action, Efl.Ui.Legacy)
|
|||
transition: string @nullable; [[The new transition's name string.]]
|
||||
}
|
||||
}
|
||||
@property loop {
|
||||
@property items_loop {
|
||||
set {
|
||||
[[Set if the slideshow items should be displayed cyclically or not,
|
||||
so when the end is reached it will restart from the first item.
|
||||
|
@ -88,11 +88,13 @@ class Elm.Slideshow (Efl.Ui.Layout, Efl.Access.Widget.Action, Efl.Ui.Legacy)
|
|||
Note: This will affect the "automatic" slidshow behaviour and the
|
||||
@.next and @.previous functions as well.
|
||||
]]
|
||||
legacy: elm_slideshow_loop_set;
|
||||
}
|
||||
get {
|
||||
[[Get if, after a slideshow is started, for a given slideshow
|
||||
widget, its items are to be displayed cyclically or not.
|
||||
]]
|
||||
legacy: elm_slideshow_loop_get;
|
||||
}
|
||||
values {
|
||||
loop: bool; [[Use $true to make it cycle through items or
|
||||
|
|
Loading…
Reference in New Issue