Entry.setIconTooltipText

void setIconTooltipText(gtk.types.EntryIconPosition iconPos, string tooltip = null)

Sets tooltip as the contents of the tooltip for the icon at the specified position.

Use null for tooltip to remove an existing tooltip.

See also [gtk.widget.Widget.setTooltipText] and [gtk.entry.Entry.setIconTooltipMarkup].

If you unset the widget tooltip via [gtk.widget.Widget.setTooltipText] or [gtk.widget.Widget.setTooltipMarkup], this sets GtkWidget:has-tooltip to false, which suppresses icon tooltips too. You can resolve this by then calling [gtk.widget.Widget.setHasTooltip] to set GtkWidget:has-tooltip back to true, or setting at least one non-empty tooltip on any icon achieves the same result.

Parameters

iconPosthe icon position
tooltipthe contents of the tooltip for the icon, or null