summaryrefslogtreecommitdiff
path: root/scene/gui/spin_box.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 11:55:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 11:55:06 +0100
commit33c7c8020a7c1b4103642ff5124b2b76ecdeea14 (patch)
tree92b930936d793f4adac2727a60070bac14967bf7 /scene/gui/spin_box.h
parent6946bc56ef422ae2de51200297f626c4751b06f5 (diff)
parent3aed3edc0677c59ebd96175410d9cc1f5427c053 (diff)
Merge pull request #67489 from timothyqiu/auto-select-all
Allow selecting SpinBox & LineEdit text when focus enters
Diffstat (limited to 'scene/gui/spin_box.h')
-rw-r--r--scene/gui/spin_box.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/spin_box.h b/scene/gui/spin_box.h
index c2f2ac3f5a..00f5a95699 100644
--- a/scene/gui/spin_box.h
+++ b/scene/gui/spin_box.h
@@ -101,6 +101,9 @@ public:
void set_update_on_text_changed(bool p_enabled);
bool get_update_on_text_changed() const;
+ void set_select_all_on_focus(bool p_enabled);
+ bool is_select_all_on_focus() const;
+
void apply();
void set_custom_arrow_step(const double p_custom_arrow_step);
double get_custom_arrow_step() const;