def block_events(self):
<EOL>BaseObject.block_events(self)<EOL>for i in range(self._widget.topLevelItemCount()):<EOL><INDENT>self._widget.topLevelItem(i).param.blockSignals(True)<EOL><DEDENT>return self<EOL>
Special version of block_events that loops over all tree elements.