SGButtonDownFcn

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 4.9, Creation date: 2020-08-15, Last change: 2025-09-14

Callback Fnct for current axis and all polygons inside

Description

This function installs the callback uipolygonmoveWindowButtonDownFcn if required
This function can be attached to gca and polygons

See Also: , SGWindowButtonMotionFcn

Example Illustration

 missing image of SGButtonDownFcn(srch,cbdat)

Syntax

SGButtonDownFcn(srch,cbdat)

Input Parameter

srch: callback arg 1
cbdat: callback arg 2

Examples


set(gca,'ButtonDownFcn',@SGButtonDownFcn)
set(findobj(gca,'Type','polygon'),'ButtonDownFcn',@SGButtonDownFcn,'selected','off')




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21