Retrieve pointer behavior from graphics object
returns the pointer behavior structure associated with the graphics object
pointerBehavior = iptGetPointerBehavior(
obj. A pointer behavior structure contains function handles that interact
with a figure's pointer manager (see
iptPointerManager) to control what happens when the
figure's mouse pointer moves over and then exits the object.
obj — Graphics object
figure | axes | uipanel | image
Graphics object, specified as a handle to a figure, axes, uipanel, or image graphics objects.
pointerBehavior — Pointer behavior
Pointer behavior, returned as a structure with three fields.
|Called when the mouse pointer moves over the object.
|Called once when the mouse pointer moves over the object, and called again each time the mouse moves within the object.
|Called when the mouse pointer leaves the object.
obj does not contain a pointer behavior structure, then
Introduced in R2006a