Simple widget which renders a vertical list of text lines.
- Command Input:
s(FontName)
- Command Output:
v
- Command Description:
- Set the font name. The font must have been registered with the gui server with the nguiserver.addfont command.
- Command Input:
v
- Command Output:
s(FontName)
- Command Description:
- Get the font name.
- Command Input:
f(HoriBorder)
- Command Output:
v
- Command Description:
- Set a horizontal border for the text.
- Command Input:
v
- Command Output:
f(HoriBorder)
- Command Description:
- Get the horizontal border for the text.
- Command Input:
ffff(TextColor)
- Command Output:
v
- Command Description:
- Set the text color.
- Command Input:
v
- Command Output:
ffff(TextColor)
- Command Description:
- Get the text color.
- Command Input:
v
- Command Output:
v
- Command Description:
- Begin appending text.
- Command Input:
s(TextLine)
- Command Output:
v
- Command Description:
- Append a line of text to the internal text array.
- Command Input:
v
- Command Output:
v
- Command Description:
- Finish appending text.
- Command Input:
v
- Command Output:
i
- Command Description:
- Returns the number of fully visible lines which would fit into the widget's area.
- Command Input:
i
- Command Output:
v
- Command Description:
- Set the current selection index.
- Command Input:
v
- Command Output:
i
- Command Description:
- Get the current selection index.
- Command Input:
b
- Command Output:
v
- Command Description:
- Enable/disable selection handling.
- Command Input:
v
- Command Output:
b
- Command Description:
- Get selection handling status.