Gtk.Menu.prototype.set_screen

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

Sets the Gdk.Screen on which the menu will be displayed.

Since 2.2

screen

a Gdk.Screen, or null if the screen should be determined by the widget the menu is attached to