Easily toggle tooltips on or off

toggleTooltips allows you to toggle tooltipstrings on or off for all children of a specified parent.
Updated 1 Sep 2016

View License

Sometimes it's convenient to show tooltips; other times you might want to hide them. |toggleTooltips| makes switching between these conventions trivially easy.

...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
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Inspired: imageToolbar

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license