Widget.setTooltipText

Sets text as the contents of the tooltip.

If text contains any markup, it will be escaped.

This function will take care of setting propertyGtk.Widget:has-tooltip as a side effect, and of the default handler for the signalGtk.Widget::query-tooltip signal.

See also gtk.tooltip.Tooltip.setText.

class Widget
void
setTooltipText
(
string text = null
)

Parameters

text string

the contents of the tooltip for widget