diff options
| author | George Marques | 2016-06-17 20:35:27 -0300 |
|---|---|---|
| committer | Rémi Verschelde | 2016-09-01 08:44:52 +0200 |
| commit | 0657d439607c47f70bde10214c661eb79f8c7b1c (patch) | |
| tree | d92e90964771af422be7787ced0bf33a3e1bbad2 | |
| parent | a21b9caa2ab7dbc89483805a71511a72f6098db1 (diff) | |
| download | godot-0657d439607c47f70bde10214c661eb79f8c7b1c.tar.gz godot-0657d439607c47f70bde10214c661eb79f8c7b1c.tar.zst godot-0657d439607c47f70bde10214c661eb79f8c7b1c.zip | |
Better document the BaseButton signals
(cherry picked from commit 141360ed82c2eff634cdee3a7823465937876484)
| -rw-r--r-- | doc/base/classes.xml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 3701de1ec..56eeaf6ac 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -5912,14 +5912,24 @@ </method> </methods> <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"> <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> </signal> <signal name="released"> <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> </signal> <signal name="toggled"> |
