PopupMenuAddRadioCheckShortcut Method |
Adds a new radio check button and assigns a ShortCut to it. Sets the label of the checkbox to the ShortCut's name.
An id can optionally be provided. If no id is provided, one will be created from the index.
Note: Checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See SetItemChecked(Int32, Boolean) for more info on how to control it.
Namespace: Godot
public void AddRadioCheckShortcut( ShortCut shortcut, int id = -1, bool global = false )
[Missing <param name="shortcut"/> documentation for "M:Godot.PopupMenu.AddRadioCheckShortcut(Godot.ShortCut,System.Int32,System.Boolean)"]
[Missing <param name="id"/> documentation for "M:Godot.PopupMenu.AddRadioCheckShortcut(Godot.ShortCut,System.Int32,System.Boolean)"]
[Missing <param name="global"/> documentation for "M:Godot.PopupMenu.AddRadioCheckShortcut(Godot.ShortCut,System.Int32,System.Boolean)"]