GuiScrollPanel method
GuiResult
GuiScrollPanel(
- RectangleD bounds,
- String? text,
- RectangleD content, {
- Vector2D? scroll,
- RectangleD? view,
Scroll Panel control
Implementation
GuiResult GuiScrollPanel(
RectangleD bounds,
String? text,
RectangleD content, {
Vector2D? scroll,
RectangleD? view,
}) => run(
() => _debugLabels.GuiScrollPanel(bounds, text, content, scroll: scroll, view: view),
() => .fromValue(_flat.GuiScrollPanel(
bounds,
$.String$.ValueOrNull(text),
content,
$.Vector2$.RefUnique(scroll),
$.Rectangle$.RefUnique(view),
)),
);