Click or drag to resize

PopupMenuSetItemAsSeparator Method

Mark the item at index idx as a separator, which means that it would be displayed as a line. If false, sets the type of the item to plain text.

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

Parameters

idx
Type: SystemInt32

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

enable
Type: SystemBoolean

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

See Also