Efl.Ui.Scrollable.scroll

Description

Show a specific virtual region within the scroller content object.

This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0,0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.

Since 1.23

Signature

scroll @pure_virtual {
    params {
        @in rect: Eina.Rect;
        @in animation: bool;
    }
}

C signature

void efl_ui_scrollable_scroll(Eo *obj, Eina_Rect rect, Eina_Bool animation);

Parameters

  • rect (in) - The position where to scroll and the size user want to see.
  • animation (in) - Whether to scroll with animation or not.

Implemented by