Add drag start/end signals for Slider

(cherry picked from commit 753ae7403f)
This commit is contained in:
Haoyu Qiu
2021-12-10 11:19:10 +08:00
committed by Rémi Verschelde
parent 0b6b2015f0
commit 4621b41bfc
2 changed files with 21 additions and 0 deletions

View File

@@ -27,6 +27,19 @@
If [code]true[/code], the slider will display ticks for minimum and maximum values.
</member>
</members>
<signals>
<signal name="drag_ended">
<argument index="0" name="value_changed" type="bool" />
<description>
Emitted when dragging stops. If [code]value_changed[/code] is true, [member Range.value] is different from the value when you started the dragging.
</description>
</signal>
<signal name="drag_started">
<description>
Emitted when dragging is started.
</description>
</signal>
</signals>
<constants>
</constants>
</class>