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.Tooltip.setText.

class Widget
void
setTooltipText
(
string text = null
)

Parameters

text string

the contents of the tooltip for widget