Easily toggle tooltips on or off

version (2.18 KB) by Brett Shoelson
toggleTooltips allows you to toggle tooltipstrings on or off for all children of a specified parent.


Updated Thu, 01 Sep 2016 15:22:24 +0000

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 (2022). 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

Inspired: imageToolbar

Community Treasure Hunt

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

Start Hunting!