summaryrefslogtreecommitdiff
path: root/doc/classes/Range.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-08-06 21:11:48 +0300
committerYuri Sizov <yuris@humnom.net>2022-08-08 22:34:31 +0300
commitc5d7115038de5f83cb83e08748615a84fc26bee2 (patch)
tree13b9b42aac25f7769428ef91f637e260b768f25d /doc/classes/Range.xml
parent35c1eae8d70eb6ae49495339b95f89bcd084c3f2 (diff)
Rename the argument tag to param in XML documentation
Diffstat (limited to 'doc/classes/Range.xml')
-rw-r--r--doc/classes/Range.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Range.xml b/doc/classes/Range.xml
index 22793e75d8..a4be738395 100644
--- a/doc/classes/Range.xml
+++ b/doc/classes/Range.xml
@@ -11,14 +11,14 @@
<methods>
<method name="_value_changed" qualifiers="virtual">
<return type="void" />
- <argument index="0" name="new_value" type="float" />
+ <param index="0" name="new_value" type="float" />
<description>
Called when the [Range]'s value is changed (following the same conditions as [signal value_changed]).
</description>
</method>
<method name="share">
<return type="void" />
- <argument index="0" name="with" type="Node" />
+ <param index="0" name="with" type="Node" />
<description>
Binds two [Range]s together along with any ranges previously grouped with either of them. When any of range's member variables change, it will share the new value with all other ranges in its group.
</description>
@@ -69,7 +69,7 @@
</description>
</signal>
<signal name="value_changed">
- <argument index="0" name="value" type="float" />
+ <param index="0" name="value" type="float" />
<description>
Emitted when [member value] changes. When used on a [Slider], this is called continuously while dragging (potentially every frame). If you are performing an expensive operation in a function connected to [signal value_changed], consider using a [i]debouncing[/i] [Timer] to call the function less often.
[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal value_changed] is also emitted when [code]value[/code] is set directly via code.