Type Function Library widget.* Return value String Revision 2017.3060 Keywords widget, button, ButtonWidget, getLabel See also object:setLabel() widget.newButton() ButtonWidget
Returns the ButtonWidget label text as a string.
object:getLabel()
local label = myButton:getLabel()