Text.embedWidget

Embed a widget into the text.

class Text
embedWidget
(
this T
)
(
int line
,,,
int padding = 0
)

Parameters

line int

The line at which to insert the text. Indexes start at 1.

character int

The character at which to insert the text. Indexes start at 0.

widget Widget

The widget to embed.

padding int

The amount of padding around the widget.

Return Value

Type: auto

This widget to aid method chaining.

Meta