summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-07-29 19:26:43 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-11-20 20:37:45 -0200
commitda7d3c5a585b944ac1223021eab2b2a23b25eee3 (patch)
treee8444d1d01047b25135ea179fc7cda8bc9bf2261 /doc/classes
parentf2cc9698433a32a05c76987acd20a07441313037 (diff)
Make opening menus with the same parent on mouse focus explicit
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/MenuButton.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/classes/MenuButton.xml b/doc/classes/MenuButton.xml
index c9a8d3ce7a..636edd504b 100644
--- a/doc/classes/MenuButton.xml
+++ b/doc/classes/MenuButton.xml
@@ -27,6 +27,11 @@
</description>
</method>
</methods>
+ <members>
+ <member name="switch_on_hover" type="bool" setter="set_switch_on_hover" getter="is_switch_on_hover">
+ If [code]true[/code], when the cursor hovers above another MenuButton within the same parent which also has [code]switch_on_hover[/code] enabled, it will close the current MenuButton and open the other one.
+ </member>
+ </members>
<signals>
<signal name="about_to_show">
<description>