mirror of
https://gitlab.com/luk3yx/minetest-flow.git
synced 2025-06-16 23:28:01 +02:00
354 B
354 B
Tooltips
You can add tooltips to elements using the tooltip
field:
gui.Image{
w = 2, h = 2,
texture_name = "air.png",
tooltip = "Air",
}
There is also a gui.Tooltip
element which lets you
change the background colour of the tooltip. As with gui.Style
, it is
invisible and won't affect padding.