[ Version ( since = "2.12" ) ]
public void set_tooltip_text (string? text)
Sets the contents of the tooltip for the widget.
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:GtkWidget:query-tooltip] signal.
See also [method@Gtk.Tooltip.set_text].
| this |
a widget |
| text |
the contents of the tooltip for this |