diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-09 23:15:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-09 23:15:33 +0100 |
| commit | bf59b73250b0d8e0edf191104246da50bdf16541 (patch) | |
| tree | eee4e830df476501fdcb260bf6fcc867360e5779 /doc/classes/MenuButton.xml | |
| parent | 3a312dbd324dcb4c543ad96da68b9e5a4ab93466 (diff) | |
| parent | da7d3c5a585b944ac1223021eab2b2a23b25eee3 (diff) | |
| download | redot-engine-bf59b73250b0d8e0edf191104246da50bdf16541.tar.gz | |
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/MenuButton.xml')
| -rw-r--r-- | doc/classes/MenuButton.xml | 5 |
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> |
