expose itemlist.unselect_all()

This commit is contained in:
Alexander Holland 2018-03-13 16:46:25 +01:00
parent 30d690ecfc
commit a3d2f59dbe

View file

@ -1423,6 +1423,8 @@ void ItemList::_bind_methods() {
ClassDB::bind_method(D_METHOD("select", "idx", "single"), &ItemList::select, DEFVAL(true));
ClassDB::bind_method(D_METHOD("unselect", "idx"), &ItemList::unselect);
ClassDB::bind_method(D_METHOD("unselect_all"), &ItemList::unselect_all);
ClassDB::bind_method(D_METHOD("is_selected", "idx"), &ItemList::is_selected);
ClassDB::bind_method(D_METHOD("get_selected_items"), &ItemList::get_selected_items);