diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-01 10:30:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 10:30:40 +0200 |
commit | a72552367e2d003e886b378a8b932d9b12daae54 (patch) | |
tree | 57b7d1be92b18caa9bc4e8f71645c66b39aa135a /doc/classes | |
parent | 48d31632a5f794f578879c80ab1bc5bcd44c1092 (diff) | |
parent | 43bd28bc14b82918c22003214084f92e6dd24103 (diff) |
Merge pull request #25453 from nekomatata/button-keep-pressed-option
Add option to keep button pressed when moving cursor outside while pressing
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/BaseButton.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml index 08be3ed0f4..c65d545f3e 100644 --- a/doc/classes/BaseButton.xml +++ b/doc/classes/BaseButton.xml @@ -69,6 +69,9 @@ <member name="toggle_mode" type="bool" setter="set_toggle_mode" getter="is_toggle_mode"> If [code]true[/code], the button is in toggle mode. Makes the button flip state between pressed and unpressed each time its area is clicked. </member> + <member name="keep_pressed_outside" type="bool" setter="set_keep_pressed_outside" getter="is_keep_pressed_outside"> + If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it. Default value: [code]false[/code]. + </member> </members> <signals> <signal name="button_down"> |