PopupMenuAddIconItem Method |
Adds a new item with text label and icon texture.
An id can optionally be provided, as well as an accelerator (accel). If no id is provided, one will be created from the index. If no accel is provided then the default 0 will be assigned to it. See GetItemAccelerator(Int32) for more info on accelerators.
Namespace: Godot
public void AddIconItem( Texture texture, string label, int id = -1, uint accel = 0 )
[Missing <param name="texture"/> documentation for "M:Godot.PopupMenu.AddIconItem(Godot.Texture,System.String,System.Int32,System.UInt32)"]
[Missing <param name="label"/> documentation for "M:Godot.PopupMenu.AddIconItem(Godot.Texture,System.String,System.Int32,System.UInt32)"]
[Missing <param name="id"/> documentation for "M:Godot.PopupMenu.AddIconItem(Godot.Texture,System.String,System.Int32,System.UInt32)"]
[Missing <param name="accel"/> documentation for "M:Godot.PopupMenu.AddIconItem(Godot.Texture,System.String,System.Int32,System.UInt32)"]