Gtk.StatusIcon.prototype.set_visible

function set_visible(visible:Boolean):void {
    // Gjs wrapper for gtk_status_icon_set_visible()
}

Shows or hides a status icon.

Since 2.10

visible

true to show the status icon, false to hide it