set_tooltip_text
Description:
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:GtkWidget:query-tooltip
] signal.
See also [method@Gtk.Tooltip.set_text].
Parameters:
this |
a `GtkWidget` |
text |
the contents of the tooltip for this |