Gtk.Widget.prototype.set_tooltip_markup
function set_tooltip_markup(markup:String):void { // Gjs wrapper for gtk_widget_set_tooltip_markup() }
Sets markup as the contents of the tooltip, which is marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>.
This function will take care of setting Gtk.has-tooltip to true and of the default handler for the Gtk.query-tooltip signal.
See also the Gtk.tooltip-markup property and Gtk.Tooltip.prototype.set_markup.
Since 2.12
- markup
the contents of the tooltip for widget, or null