object:getView()

Type Function
Library widget.*
Return value Table
Revision Release 2022.3683
Keywords widget, scroll view, ScrollViewWidget, getView
See also widget.newScrollView()
ScrollViewWidget

Overview

Returns a reference to the ScrollViewWidget object's view.

Syntax

object:getView()

Example

local scrollView = widget.newScrollView {
    width = 280,
    height = 400,
    left = 100,
    top = 200,
    scrollWidth = 800,
    scrollHeight =  1200
}

local view = scrollView:getView()