Gtk.ToolItem.prototype.set_tooltip_text

function set_tooltip_text(text:String):void {
    // Gjs wrapper for gtk_tool_item_set_tooltip_text()
}

Sets the text to be displayed as tooltip on the item. See Gtk.set_tooltip_text.

Since 2.12

text

text to be used as tooltip for tool_item