PopupMenuAddSeparator Method |
Adds a separator between items. Separators also occupy an index, which you can set by using the id parameter.
A label can optionally be provided, which will appear at the center of the separator.
Namespace: Godot
public void AddSeparator( string label = "", int id = -1 )
[Missing <param name="label"/> documentation for "M:Godot.PopupMenu.AddSeparator(System.String,System.Int32)"]
[Missing <param name="id"/> documentation for "M:Godot.PopupMenu.AddSeparator(System.String,System.Int32)"]