www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@uitoolbar/pNotifyNewButtonVisible.m

    function pNotifyNewButtonVisible(obj, butobj)
%PNOTIFYNEWBUTTONVISIBLE Notify toolbar that button visibility has altered
%
%  PNOTIFYNEWBUTTONVISIBLE(OBJ, BUTTON) is used by toolbar children to
%  nofify the toolbar that their visible setting has altered.   Cached
%  information in the toolbar is then updated and redraws triggered if
%  required.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


obj.hRenderer.notifyNewVisible(butobj);