set_tooltip_text


Description:

public void set_tooltip_text (string? text)

Sets text as the contents of the tooltip.

If text contains any markup, it will be escaped.

This function will take care of setting has_tooltip as a side effect, and of the default handler for the query_tooltip signal.

See also the tooltip_text property and set_text.

Parameters:

this

a Widget

text

the contents of the tooltip for this