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_set_tooltip_text() and gtk_entry_set_icon_tooltip_markup().

If you unset the widget tooltip via gtk_widget_set_tooltip_text() or gtk_widget_set_tooltip_markup(), this sets GtkWidget:has-tooltip to %FALSE, which suppresses icon tooltips too. You can resolve this by then calling gtk_widget_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.

class Entry
void
setIconTooltipText

Parameters

iconPos GtkEntryIconPosition

the icon position

tooltip string

the contents of the tooltip for the icon, or %NULL

Meta

Since

2.16