Where is a list of eventtypes for listeners?

Asked by Matt Fig on 11 Dec 2012
Latest activity Commented on by Jan Simon on 12 Dec 2012

Usually I think MATLAB has excellent documentation, but there are occasions when I have to pull my hair out looking for something. So when referring to this example solution posted by TMW, it seems we can add an eventlistener to a uicontrol with an eventtype of 'ActionEvent'. But when I use this example I get the following warning message in r2011b:

Warning: The specified event will be removed in a future release.
Please use the following event instead: ContinuousValueChange

So the obvious question is:

What are all of the choices when setting eventtypes for listeners?

I have searched everywhere I can think of for a list of such events but found nothing. Is this yet another instance of non-documentation in MATLAB or have I just not been able to find it?

Does anyone know of such a list in the doc? I want to find something like this list of axes properties but for events or listeners. On that list would be 'ActionEvent' and 'ContinuousValueChange' at least.

2 Comments

Daniel on 12 Dec 2012

I cannot even find documentation on handle.listener. I wonder if this is a result of undocumented functionality associated with hg2.

Jan Simon on 12 Dec 2012

The addlistener command works for many years now, so it is not connected to HG2. The M-file contains some documentation, but you do not find it in the docs, as far as I remember.

Matt Fig

Products

No products are associated with this question.

0 Answers

Contact us