Merge pull request #17426 from AlexHolly/expose-itemlist-is_anything_selected

expose Itemlist.is_anything_selected
This commit is contained in:
Rémi Verschelde 2018-03-13 09:23:31 +01:00 committed by GitHub
commit 67a5a39dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1465,6 +1465,8 @@ void ItemList::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_auto_height", "enable"), &ItemList::set_auto_height);
ClassDB::bind_method(D_METHOD("has_auto_height"), &ItemList::has_auto_height);
ClassDB::bind_method(D_METHOD("is_anything_selected"), &ItemList::is_anything_selected);
ClassDB::bind_method(D_METHOD("get_item_at_position", "position", "exact"), &ItemList::get_item_at_position, DEFVAL(false));
ClassDB::bind_method(D_METHOD("ensure_current_is_visible"), &ItemList::ensure_current_is_visible);