Click or drag to resize

PopupMenuSetItemShortcut Method

Sets a ShortCut for the specified item idx.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemShortcut(
	int idx,
	ShortCut shortcut,
	bool global = false
)

Parameters

idx
Type: SystemInt32

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

shortcut
Type: GodotShortCut

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

global (Optional)
Type: SystemBoolean

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

See Also