Better document the BaseButton signals
(cherry picked from commit 141360ed82
)
This commit is contained in:
parent
a21b9caa2a
commit
0657d43960
|
@ -5912,14 +5912,24 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<signals>
|
<signals>
|
||||||
|
<signal name="button_down">
|
||||||
|
<description>
|
||||||
|
Emitted when the button starts being held down.
|
||||||
|
</description>
|
||||||
|
</signal>
|
||||||
|
<signal name="button_up">
|
||||||
|
<description>
|
||||||
|
Emitted when the button stops being held down.
|
||||||
|
</description>
|
||||||
|
</signal>
|
||||||
<signal name="pressed">
|
<signal name="pressed">
|
||||||
<description>
|
<description>
|
||||||
This signal is emitted every time the button is pressed or toggled.
|
This signal is emitted every time the button is toggled or pressed (i.e. activated, so on [code]button_down[/code] if "Click on press" is active and on [code]button_up[/code] otherwise).
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="released">
|
<signal name="released">
|
||||||
<description>
|
<description>
|
||||||
This signal is emitted when the button was released.
|
Emitted when the button was released. This is only emitted by non-toggle buttons and if "Click on press" is active.
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="toggled">
|
<signal name="toggled">
|
||||||
|
|
Loading…
Reference in New Issue