类型 函数 库 widget.* 返回值 字符串 修订 版本 2024.3703 关键词 widget, button, ButtonWidget, getLabel 另请参阅 object:setLabel() widget.newButton() ButtonWidget
返回 ButtonWidget 标签文本作为字符串。
object:getLabel()
local label = myButton:getLabel()