Gtk.StatusIcon.prototype.get_tooltip_text

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

Gets the contents of the tooltip for status_icon.

Since 2.16

Returns

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