Widget.setTooltipText

Sets @text as the contents of the tooltip. This function will take care of setting #GtkWidget:has-tooltip to %TRUE and of the default handler for the #GtkWidget::query-tooltip signal.

See also the #GtkWidget:tooltip-text property and gtk_tooltip_set_text().

class Widget
void
setTooltipText
(
string text
)

Parameters

text string

the contents of the tooltip for @widget

Meta

Since

2.12