Creating Graphical User Interfaces - The MathWorks - #501

/ 520


catalogue search
P. 501
P. 502
P. 503
P. 504
P. 505
P. 506
P. 507
P. 508
P. 509
P. 510
P. 511
P. 512
P. 513
P. 514
P. 515
P. 516
P. 517
P. 518
P. 519
P. 520


See other catalogues for The MathWorks

Text version of the page
Icon Editor
Function
Description
IhMainFigureWindowButtonDownFcn
Executes when the user clicks a mouse button anywhere in the GUI figure. It calls localEditColor.
IhMainFigureWindowButtonUpFcn
Executes when the user releases the mouse button.
hMainFigureWindowButtonMotionFcn
Executes when the user drags the mouse anywhere in the figure with a button pressed. It calls localEditColor.
hIconFileEditCallback
Executes after the user manually changes the filename of the icon to be edited. It calls localUpdatelconPlot.
hIconFileEditButtondownFcn
Executes the first time the user clicks the Icon file edit box.
hOKButtonCallback
Executes when the user clicks the OK push button.
ICancelButtonCallback
Executes when the user clicks the Cancel push button.
hIconFileButtonCallback
Executes when the user clicks the
Icon file push button_.It calls
localUpdatelconPlot.
The example also includes the helper functions listed in the following table.
Function
Description
localEditColor
Changes the color of an icon data point to the currently selected color. Call the function mGetColorFcn returned by the colorPalette function. It also calls localUpdatelconPlot.
15-33

pageCatalog pdf di En 2012-06-22-01