0%

Tooltip

Tooltips give the user additional information about a widget. Users can view tooltips by long hovering over a widget for 250 milliseconds or long pressing down on a widget for 500 milliseconds, so tooltips work on all platforms.

You can set the tooltip of any widget:

core.NewButton(b).SetIcon(icons.Add).SetTooltip("Add a new item to the list")

Some widgets automatically add certain information to their tooltip by implementing the core.Widget.WidgetTooltip method, like sliders:

core.NewSlider(b)