Gtk.StatusIcon.prototype.set_screen

function set_screen(screen:Gdk.Screen):void {
    // Gjs wrapper for gtk_status_icon_set_screen()
}

Sets the Gdk.Screen where status_icon is displayed; if the icon is already mapped, it will be unmapped, and then remapped on the new screen.

Since 2.12

screen

a Gdk.Screen