summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGeorge L. Albany <Megacake1234@gmail.com>2022-07-22 19:19:48 -0400
committerGeorge L. Albany <Megacake1234@gmail.com>2022-10-20 02:02:12 -0400
commitd846dd6e9156aeab00aa530b30240294964c0d0f (patch)
tree7a02e61459c9dd0026a9830e61a4c183945980b0 /doc
parenta8c805be2947b211ee8b881d7a8bab7cdc86e170 (diff)
Make `BaseButton` Shortcut feedback togglable
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/BaseButton.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml
index 47e1f85c97..638934bc9e 100644
--- a/doc/classes/BaseButton.xml
+++ b/doc/classes/BaseButton.xml
@@ -68,6 +68,9 @@
<member name="shortcut" type="Shortcut" setter="set_shortcut" getter="get_shortcut">
[Shortcut] associated to the button.
</member>
+ <member name="shortcut_feedback" type="bool" setter="set_shortcut_feedback" getter="is_shortcut_feedback">
+ If [code]true[/code], the button will appear pressed when its shortcut is activated. If [code]false[/code] and [member toggle_mode] is [code]false[/code], the shortcut will activate the button without appearing to press the button.
+ </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>