parameters: (self)
docstring: Clears all text in the visualization.
docstring_summary: Clears all text in the visualization.
docstring_tokens: Clears all text in the visualization .
function: def clearText(self):
          """Clears all text in the visualization."""
          global _globalLock
          with _globalLock:
              del_items = []
              for (name,itemvis) in self.items.items():
                  if isinstance(itemvis.item,str):
                      itemvis.destroy()
                      del_items.append(name)
              for n in del_items:
                  del self.items[n]
function_tokens: def clearText ( self ) : global _globalLock with _globalLock : del_items = [ ] for ( name , itemvis ) in self . items . items ( ) : if isinstance ( itemvis . item , str ) : itemvis . destroy ( ) del_items . append ( name ) for n in del_items : del self . items [ n ]