www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcmultiview/@Action/setToolbuttonProperties.m
function setToolbuttonProperties(obj, hButton) %SETTOOLBUTTONPROPERTIES Set toolbar button properties to match the action % % SETTOOLBUTTONPROPERTIES(OBJ, HBUTTON) is called when the menu item's % properties need to be set up to match the action's state. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. set(hButton, ... 'Enable', 'on', ... 'Visible', 'on', ... 'ImageFile', obj.IconFile, ... 'ToolTipString', obj.Description);