Click or drag to resize

PopupMenuSetItemDisabled Method

Enables/disables the item at index idx. When it is disabled, it can't be selected and its action can't be invoked.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemDisabled(
	int idx,
	bool disabled
)

Parameters

idx
Type: SystemInt32

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

disabled
Type: SystemBoolean

[Missing <param name="disabled"/> documentation for "M:Godot.PopupMenu.SetItemDisabled(System.Int32,System.Boolean)"]

See Also