Scrollbar Class
A window element used to scroll in lists
Declared on: line 730 of Lua/window.lua.
Member Index
- base
- callback
- direction
- max_value
- min_value
- page_size
- slider
- value
- visible
function Scrollbar:Scrollbar()
Declared on: line 733 of Lua/window.lua.
function Scrollbar:getXorY()
Get the pixel position of the slider in the axis which the slider can move
Declared on: line 773 of Lua/window.lua.
function Scrollbar:setRange(min_value, max_value, page_size, value)
Parameters:
Name | Type | Description |
---|---|---|
min_value | ? | ? |
max_value | ? | ? |
page_size | ? | ? |
value | ? | ? |
Declared on: line 745 of Lua/window.lua.
function Scrollbar:setXorY(xy)
Set the pixel position of the slider in the axis which the slider can move
Parameters:
Name | Type | Description |
---|---|---|
xy | ? | ? |
Declared on: line 778 of Lua/window.lua.