OSGlobalMenuAddItem Method |
Add a new item with text "label" to global menu. Use "_dock" menu to add item to the macOS dock icon menu.
Note: This method is implemented on macOS.
Namespace: Godot
public static void GlobalMenuAddItem( string menu, string label, Object id, Object meta )
[Missing <param name="menu"/> documentation for "M:Godot.OS.GlobalMenuAddItem(System.String,System.String,System.Object,System.Object)"]
[Missing <param name="label"/> documentation for "M:Godot.OS.GlobalMenuAddItem(System.String,System.String,System.Object,System.Object)"]
[Missing <param name="id"/> documentation for "M:Godot.OS.GlobalMenuAddItem(System.String,System.String,System.Object,System.Object)"]
[Missing <param name="meta"/> documentation for "M:Godot.OS.GlobalMenuAddItem(System.String,System.String,System.Object,System.Object)"]