Gtk.Widget.prototype.get_tooltip_text

function get_tooltip_text():String {
    // Gjs wrapper for gtk_widget_get_tooltip_text()
}

Gets the contents of the tooltip for widget.

Since 2.12

Returns

the tooltip text, or null. You should free the returned string with GLib.free when done.