Click or drag to resize

PopupMenuIsItemDisabled Method

Returns true if the item at index idx is disabled. When it is disabled it can't be selected, or its action invoked.

See SetItemDisabled(Int32, Boolean) for more info on how to disable an item.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool IsItemDisabled(
	int idx
)

Parameters

idx
Type: SystemInt32

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

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.PopupMenu.IsItemDisabled(System.Int32)"]

See Also