The search functionality needs JavaScript enabled
Adds an item to the item list with specified text. Specify an icon, or use null as the icon for a list item with no icon. If selectable is true, the list item will be selectable.
icon
null
true
void addItem ( const(String) text, Texture icon = Texture(godot_object(null), ), const(bool) selectable = true ) nothrow @nogc;