Picture:onDoubleClick() event
This event is fired when the user has doubleclicked on the Picture.
Return value
The event returns no value.Example
local ui = require "ui"
-- create a simple window
local win = ui.Window("Picture:onDoubleClick() sample", 340, 180)
local picture = ui.Picture(win, "examples/LuaRT.png", -74)
picture.cursor = "hand"
function picture:onDoubleClick()
ui.info("You have doubleclicked on the Picture !")
end
win:show()
repeat
ui.update()
until win.visible == false