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 [[email protected]:has-tooltip] as a side effect, and of the default handler for the [ [email protected]:GtkWidget:query-tooltip] signal.

See also [[email protected]_text].

Parameters:

this

a `GtkWidget`

text

the contents of the tooltip for this




2022 vala-language.org