Gtk.Widget.prototype.set_has_tooltip

function set_has_tooltip(has_tooltip:Boolean):void {
    // Gjs wrapper for gtk_widget_set_has_tooltip()
}

Sets the has-tooltip property on widget to has_tooltip. See Gtk.has-tooltip for more information.

Since 2.12

has_tooltip

whether or not widget has a tooltip.