Skip to content

Scrollgroup

trubblegum edited this page Apr 12, 2012 · 4 revisions

Uses a screenbuffer to draw scrollable content.

local element = Gspot:scrollgroup(label, pos, parent, axis)

Additional constructor parameters :

axis : "horizontal", "vertical", or "both"
Additional values :
Gspot.scroll scrollh, scrollv This element's scrollbars, which it automatically generates when created.
Nil if only one is used