Widget.setTooltipText

void setTooltipText(string text = null)

Sets text as the contents of the tooltip.

If text contains any markup, it will be escaped.

This function will take care of setting gtk.widget.Widget.hasTooltip as a side effect, and of the default handler for the gtk.widget.Widget.queryTooltip signal.

See also gtk.tooltip.Tooltip.setText.

Parameters

textthe contents of the tooltip for widget