Click or drag to resize

OSGlobalMenuRemoveItem Method

Removes the item at index "idx" from the global menu. Note that the indexes of items after the removed item are going to be shifted by one.

Note: This method is implemented on macOS.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void GlobalMenuRemoveItem(
	string menu,
	int idx
)

Parameters

menu
Type: SystemString

[Missing <param name="menu"/> documentation for "M:Godot.OS.GlobalMenuRemoveItem(System.String,System.Int32)"]

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.OS.GlobalMenuRemoveItem(System.String,System.Int32)"]

See Also