Label:onDoubleClick() event
This event is fired when the user has doubleclicked on the Label.
Return value
The event returns no value.Example
local ui = require "ui"
-- create a simple window
local win = ui.Window("Label:onDoubleClick() sample", 340, 180)
local label = ui.Label(win, "Doubleclick on this text !")
label:center()
function label:onDoubleClick()
ui.info("You have doubleclicked on the Label !")
end
win:show()
repeat
ui.update()
until win.visible == false