Gtk.StatusIcon.prototype.set_from_icon_name

function set_from_icon_name(icon_name:String):void {
    // Gjs wrapper for gtk_status_icon_set_from_icon_name()
}

Makes status_icon display the icon named icon_name from the current icon theme. See Gtk.new_from_icon_name for details.

Since 2.10

icon_name

an icon name