Class: WidgetBlock
Lua
C++
Edit

WidgetBlock:SetText

This method allows you to dynamically modify the text a widget block displays. This can be more efficient than clearing and re-creating all widget blocks.

Syntax

WidgetBlock:SetText(text)

Parameters

Parameter Description
text new text to display

Example

local block = WidgetBlock()
block:SetText("Hello, Lua!")
Copyright © 2024 Ultra Software.
All rights reserved.