Click or drag to resize

PopupMenuSetItemSubmenu Method

Sets the submenu of the item at index idx. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemSubmenu(
	int idx,
	string submenu
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.PopupMenu.SetItemSubmenu(System.Int32,System.String)"]

submenu
Type: SystemString

[Missing <param name="submenu"/> documentation for "M:Godot.PopupMenu.SetItemSubmenu(System.Int32,System.String)"]

See Also