set_screen


Description:

[ Version ( since = "2.2" ) ]
public void set_screen (Screen? screen)

Sets the Screen on which the menu will be displayed.

Parameters:

this

a Menu

screen

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