|
From: | Michael Goffioul |
Subject: | Re: Matlab test requested |
Date: | Sun, 30 Mar 2014 22:22:06 -0400 |
"move" is displayed for mouse movement anywhere in the figure (including over the button). "down" is displayed when the I click on the button, but not when I click on other areas of the figure.On Mar 30, 2014, at 8:57 PM, Michael Goffioul <address@hidden> wrote:
> Can anyone verify whether the callbacks 'windowbutton...' are executed when the mouse event occurs above a uicontrol? For instance, take the following:
>
> figure('windowbuttondownfcn', @(h,e) disp('down'), 'windowbuttonmotionfcn', @(h,e) disp('move'));
> uicontrol('position', [0 0 200 100]);
>
> Are the callbacks executed when the mouse is pressed and/or moved above the button?
>
> Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |