addAttribute

addAttribute

  initialize the updateScheduled($attribute) = 0

updateRegisteredComponents
 incr updateScheduled($attribute)
 if { updateScheduled($attribute) == 1 } {
 after idle [list safeCallback "$this updateRegisteredComponentsNow $attribute $initiatorId_"] 
 }

原文地址:https://www.cnblogs.com/greencolor/p/2614137.html