Easily toggle tooltips on or off
Sometimes it's convenient to show tooltips; other times you might want to hide them. |toggleTooltips| makes switching between these conventions trivially easy.
toggleTooltips(parent)
...toggles OFF or ON all tooltips of all objects that are children of the specified parent.
toggleTooltips(parent, onOff)
...also allows you to specify onoff, using either 'on' or 'off'.
status = toggleTooltips(...)
...returns the state of the tooltips AFTER the function has run.
Cite As
Brett Shoelson (2024). Easily toggle tooltips on or off (https://www.mathworks.com/matlabcentral/fileexchange/39223-easily-toggle-tooltips-on-or-off), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: imageToolbar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.