Source/WebKit/efl/ewk/ewk_frame.cpp
Eina_Bool
ewk_frame_scroll_set(Evas_Object* o, int x, int y)
{
    EWK_FRAME_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame->view(), EINA_FALSE);
    sd->frame->view()->setScrollPosition(WebCore::IntPoint(x, y));
    return EINA_TRUE;
}
/**
 * Set absolute scroll of given frame.
 *
 * Both values are from zero to the contents size minus the viewport
 * size. See ewk_frame_scroll_size_get().
 *
 * @param o frame object to scroll.
 * @param x horizontal position to scroll.
 * @param y vertical position to scroll.
 *
 * @return @c EINA_TRUE if possible, @c EINA_FALSE otherwise.
 */
Set absolute scroll of given frame.
Both values are from zero to the contents size minus the viewport
size.

@param o frame object to scroll.
@param x horizontal position to scroll.
@param y vertical position to scroll.

@return @c EINA_TRUE if possible, @c EINA_FALSE otherwise.
Set absolute scroll of given frame . Both values are from zero to the contents size minus the viewport size . @param o frame object to scroll . @param x horizontal position to scroll . @param y vertical position to scroll . @return @c EINA_TRUE if possible @c EINA_FALSE otherwise .
Eina_Bool
ewk_frame_scroll_set(Evas_Object* o, int x, int y)
{
    EWK_FRAME_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame->view(), EINA_FALSE);
    sd->frame->view()->setScrollPosition(WebCore::IntPoint(x, y));
    return EINA_TRUE;
}
Eina_Bool ewk_frame_scroll_set ( Evas_Object * o , int x , int y ) { EWK_FRAME_SD_GET_OR_RETURN ( o , sd , EINA_FALSE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> frame , EINA_FALSE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> frame -> view ( ) , EINA_FALSE ) ; sd -> frame -> view ( ) -> setScrollPosition ( WebCore :: IntPoint ( x , y ) ) ; return EINA_TRUE ; }
Set absolute scroll of given frame.
Set absolute scroll of given frame .