Entry.setIconTooltipText

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 propertyGtk.Widget:has-tooltip to false, which suppresses icon tooltips too. You can resolve this by then calling gtk.widget.Widget.setHasTooltip to set propertyGtk.Widget:has-tooltip back to true, or setting at least one non-empty tooltip on any icon achieves the same result.

class Entry
void
setIconTooltipText

Parameters

iconPos gtk.types.EntryIconPosition

the icon position

tooltip string

the contents of the tooltip for the icon