[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matlab test requested
From: |
Ben Abbott |
Subject: |
Re: Matlab test requested |
Date: |
Sun, 30 Mar 2014 21:02:21 -0400 |
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.
"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.
Ben