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 [property@Gtk.Widget:has-tooltip] as a side effect, and of the default handler for the [signal@Gtk.Widget::query-tooltip] signal.

See also [method@Gtk.Tooltip.set_text].

class Widget
void
setTooltipText
(
string text
)

Parameters

text string

the contents of the tooltip for @widget

Meta