Radiobutton.text read/write property
Get or set the Radiobutton caption as a string.
Example
local ui = require "ui"
-- create a simple Window
local win = ui.Window("Radiobutton:show() sample", 320, 200)
-- add a Radiobutton...
local radiobutton = ui.Radiobutton(win, "Check me", 130, 80)
function radiobutton:onClick()
ui.info("radiobutton.text property = "..self.text)
end
win:show()
-- update the user interface until the user closes the Window
repeat
ui.update()
until not win.visible