BaseButton: add shortcut_in_tooltip

This flag disables the input related information in the tooltip.
It is exposed as a member variable in gdscript.
This commit is contained in:
lupoDharkael
2018-11-19 14:30:59 +01:00
parent 26d33d1c6e
commit d2b890ede5
3 changed files with 22 additions and 1 deletions

View File

@@ -68,6 +68,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="shortcut_in_tooltip" type="bool" setter="set_shortcut_in_tooltip" getter="is_shortcut_in_tooltip_enabled">
If [code]true[/code] the button will add information about its shortcut in the tooltip.
</member>
</members>
<signals>
<signal name="button_down">