PopupMenuAddShortcut Method |
Adds a ShortCut.
An id can optionally be provided. If no id is provided, one will be created from the index.
Namespace: Godot
public void AddShortcut( ShortCut shortcut, int id = -1, bool global = false )
[Missing <param name="shortcut"/> documentation for "M:Godot.PopupMenu.AddShortcut(Godot.ShortCut,System.Int32,System.Boolean)"]
[Missing <param name="id"/> documentation for "M:Godot.PopupMenu.AddShortcut(Godot.ShortCut,System.Int32,System.Boolean)"]
[Missing <param name="global"/> documentation for "M:Godot.PopupMenu.AddShortcut(Godot.ShortCut,System.Int32,System.Boolean)"]