summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorAlexander Holland <alexander.holland@live.de>2018-03-11 03:01:16 +0100
committerAlexander Holland <alexander.holland@live.de>2018-03-11 03:01:16 +0100
commit11e40d37005425e56bbaeb3453078dfdba517629 (patch)
treec0bcd7b283d000cb674ebd18ed101e5ab38844e9 /scene/gui
parenteceba5aa6a36521c878cf976845123e820d27161 (diff)
expose Itemlist.is_anything_selected
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/item_list.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp
index f7574ca2cd..50041ffd89 100644
--- a/scene/gui/item_list.cpp
+++ b/scene/gui/item_list.cpp
@@ -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);