Gtk.StatusIcon.prototype.set_tooltip_text
function set_tooltip_text(text:String):void { // Gjs wrapper for gtk_status_icon_set_tooltip_text() }
Sets text as the contents of the tooltip.
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-text property and Gtk.set_text.
Since 2.16
- text
the contents of the tooltip for status_icon