Easily toggle tooltips on or off

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

您现在正在关注此提交

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.

引用格式

Brett Shoelson (2026). Easily toggle tooltips on or off (https://ww2.mathworks.cn/matlabcentral/fileexchange/39223-easily-toggle-tooltips-on-or-off), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: imageToolbar

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.1

Updated license

1.0.0.0