summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-09 23:15:33 +0100
committerGitHub <noreply@github.com>2018-12-09 23:15:33 +0100
commitbf59b73250b0d8e0edf191104246da50bdf16541 (patch)
treeeee4e830df476501fdcb260bf6fcc867360e5779 /doc/classes
parent3a312dbd324dcb4c543ad96da68b9e5a4ab93466 (diff)
parentda7d3c5a585b944ac1223021eab2b2a23b25eee3 (diff)
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
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>