MouseManager

バージョン 1.0.0.0 (22.1 KB) 作成者: Kenneth Eaton
The MouseManager class provides an interface for managing mouse interactions with figure objects.
ダウンロード: 121
更新 2017/3/9

ライセンスの表示

The MouseManager class provides a general-purpose, easy-to-use interface for managing mouse-based interactions with objects in a figure. A MouseManager object is associated with a figure window and helps handle any mouse-driven interactions (such as clicking, hovering, and scrolling) with multiple graphics objects within the figure, particularly axes objects and their children.
MMOBJ = MouseManager(HFIGURE) will create a MouseManager object MMOBJ associated with HFIGURE. HFIGURE must be a valid figure handle. The lifecycle of MMOBJ is bound to HFIGURE; deleting HFIGURE will cause MMOBJ to be deleted as well.

Graphics objects to be managed by MMOBJ, along with their associated callback functions, can be added using the MouseManager.add_item method. MMOBJ can be enabled/disabled using the MouseManager.enable method. Please see the documentation in MouseManager_demo.html for more details and example use cases.

All source code is maintained on GitHub: https://github.com/kpeaton/MouseManager

引用

Kenneth Eaton (2024). MouseManager (https://www.mathworks.com/matlabcentral/fileexchange/61975-mousemanager), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersInteractive Control and Callbacks についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Fixed description formatting.