PropListener - add a callback to property value get/set event
Sin licencia
This is an enhancement of Matlab's hidden and unsupported addlistener function (within the uitools folder). It attaches a listener callback to one or more property (or properties) get or set event(s).
Acceptable events are PreGet, PreSet, PostGet and PostSet, which are triggered immediately before/after a get/set event on a handle property value.
Example:
proplistener(gcf,{'Visible','NumberTitle'},{'PreGet','postSet'},@myFunc)
See more extensive help section within.
Note: relies on undocumented and unsupported Matlab functionality. Use at your own risk. Comments welcome
Citar como
Yair Altman (2024). PropListener - add a callback to property value get/set event (https://www.mathworks.com/matlabcentral/fileexchange/18301-proplistener-add-a-callback-to-property-value-get-set-event), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > App Building >
Etiquetas
Agradecimientos
Inspiración para: UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers, changeloglabels v3, gridcolor
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |