Picture.tooltip read/write property


Get or set the tooltip text that appears when the user moves the mouse over the control, represented as a string value.
Set the property to an empty string to remove the tooltip message.

Example

local ui = require "ui" -- create a simple window local win = ui.Window("Picture.tooltip sample", 340, 180) local picture = ui.Picture(win, "examples/LuaRT.png", -74) -- set the Picture tooltip picture.tooltip = "I'm a tooltip" win:status("Hover the mouse on the Picture") win:show() -- update the user interface until the user closes the Window repeat ui.update() until not win.visible