summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-21 16:24:47 +0200
committerGitHub <noreply@github.com>2021-09-21 16:24:47 +0200
commit051c2c8a3a96dd094a7c585b79bb90a2c81bd0f6 (patch)
tree7475ca1f6f594fcfe04f4cecb858bb550f6f899f /doc
parent26e3b3908d2ef9be41c34979afbb0da0ddb38445 (diff)
parentbaba971c81fee3c87c1b1a8994c42fc1a29e7b76 (diff)
Merge pull request #38256 from EricEzaM/add-option-update-spinbox-on-text-changed
Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/SpinBox.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml
index c86742eb46..33d2b472b5 100644
--- a/doc/classes/SpinBox.xml
+++ b/doc/classes/SpinBox.xml
@@ -55,6 +55,9 @@
<member name="suffix" type="String" setter="set_suffix" getter="get_suffix" default="&quot;&quot;">
Adds the specified [code]suffix[/code] string after the numerical value of the [SpinBox].
</member>
+ <member name="update_on_text_changed" type="bool" setter="set_update_on_text_changed" getter="get_update_on_text_changed" default="false">
+ Sets the value of the [Range] for this [SpinBox] when the [LineEdit] text is [i]changed[/i] instead of [i]submitted[/i]. See [signal LineEdit.text_changed] and [signal LineEdit.text_submitted].
+ </member>
</members>
<theme_items>
<theme_item name="updown" data_type="icon" type="Texture2D">