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.

Signature

scroll @pure_virtual {
    params {
        @in rect: free(Eina.Rect, eina_rectangle_free);
        @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