diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-08-30 16:49:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 16:49:12 +0200 |
commit | 41ee85b6a0dd9e0ee6960688a63ad8036a2a0497 (patch) | |
tree | 134ea975b276b1e66f8d0eb51085fda9fe265e97 /doc | |
parent | 5efe47fb0bd08bba569ec951ed6b6e40d4b264f1 (diff) | |
parent | 141360ed82c2eff634cdee3a7823465937876484 (diff) |
Merge pull request #5262 from vnen/button-signals
Add button_down and button_up signals
Diffstat (limited to 'doc')
-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 157bb0f575..144ac007c0 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -5922,14 +5922,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"> |