klyn.gui.windows.ScrollPane.addContent
method
public addContent(widget as Widget) as Void:
Description

Adds an interactive widget to the scrollable content.

Wheel events emitted by the complete added subtree are forwarded to the pane so scrolling also works while the pointer is over form controls.

Parameters
ParameterDescription
widgetWidget appended to content.
Example
pane.addContent(TextBox())