set_icon_tooltip_text


Description:

[ Version ( since = "2.16" ) ]
public void set_icon_tooltip_text (EntryIconPosition icon_pos, string? tooltip)

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 set_tooltip_text and set_icon_tooltip_markup.

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

Parameters:

this

a Entry

icon_pos

the icon position

tooltip

the contents of the tooltip for the icon, or null