set_text


Description:

public void set_text (string? text)

Sets the text of the tooltip to be text.

If text is null, the label will be hidden. See also [method@Gtk.Tooltip.set_markup].

Parameters:

this

a `GtkTooltip`

text

a text string