Publisher review:event dispatching - Extended mouse/key event dispatching for figure drawing canvas This toolbox allows more control over mouse event callbacks associated with handle graphics objects on a figure canvas (i.e. figure, uipanel, axes, plot objects, but NOT uicontrols). Each object can respond to several events, like ButtonDown, ButtonUp, WheelMoved, Drag, Drop, Move etc. Multiple callback functions can be associated with each event.To enable the extended event notification framework for a figure, do:hFig = event_dispatch( figure );Now the figure and all its current and future children will have a set of extra callback properties. For example to have the figure respond to mouse wheel events:set( hFig, 'MyWheelMovedFcn', @(h, e) fprintf('wheel moved: %f', e.WheelRotation) );To explore some of the possibilities run test_events.m.Several utilities based on the extended events are included:scroll_pan.m - pan axes with mouse wheel or keysscroll_zoom.m - zoom axes with mouse wheel or keysruler.m - draw a rulertab_axes.m - tab through axes using t-keyRun demo_events.m for a demonstration of these utilities.Note:-Please read the Readme.txt file for install instructions.-This toolbox uses undocumented features of Matlab, which may change from one version Matlab to another.-It was tested under Linux (RHEL3), but should work under Windows XP as well. Requirements: ยท MATLAB Release: R14SP1
event dispatching is a Matlab script for Development Tools scripts design by Fabian Kloosterman.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris