|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #60153] uicontrol pushbutton has different behavior for 'Value' field from Matlab |
Date: | Wed, 3 Mar 2021 05:41:58 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.81 |
Update of bug #60153 (project octave): Priority: 5 - Normal => 3 - Low _______________________________________________________ Follow-up Comment #3: I am not sure if this is just an "implementation accident" or intended behavior in Matlab. If you are only interested in which button was clicked in the callback, you could also use `gcbo`. That should be working both in Matlab and Octave. In Rik's example, `cb_uipushbutton` could look like this: function cb_uipushbutton () global h_b; gcbo == h_b end Lowering priority because the same can be achieved using documented behavior. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60153> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |