Entry.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("Entry.tooltip sample", 320, 200) local entry = ui.Entry(win, "Hover me !", 100, 80) entry.font = "Corbel" entry.fontsize = 18 -- set the Entry tooltip entry.tooltip = "I'm a tooltip" win:show() -- update the user interface until the user closes the Window repeat ui.update() until not win.visible