MenuItem
create_menu_item (string
title, string
? icon = null, bool
force_show_icon = false)
MenuItem
create_menu_item (string
title, string
? icon = null, bool
force_show_icon = false)
Creates a new menu item.
title | the title of the menu item |
icon | the icon of the menu item |
force_show_icon | whether to force showing the icon |
the new menu item |