summaryrefslogtreecommitdiffstats
path: root/scene/gui/item_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r--scene/gui/item_list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h
index d050f4a9d0..cd91f97410 100644
--- a/scene/gui/item_list.h
+++ b/scene/gui/item_list.h
@@ -90,6 +90,7 @@ private:
bool ensure_selected_visible = false;
bool same_column_width = false;
+ bool allow_search = true;
bool auto_height = false;
float auto_height_value = 0.0;
@@ -258,6 +259,9 @@ public:
void set_allow_reselect(bool p_allow);
bool get_allow_reselect() const;
+ void set_allow_search(bool p_allow);
+ bool get_allow_search() const;
+
void ensure_current_is_visible();
void sort_items_by_text();