code: def setAnning(self, anning=True):
      self.anning = anning
      self.setEnabled(anning)
      self.updateWidth()
  
file_path: PaddleSeg/EISeg/eiseg/widget/line.py
imports: from qtpy import QtWidgets, QtGui, QtCore
label_desc: Use image node_id 3 for calling the LineItem obj's underlying member method code with example usage: obj.setAnning(anning) without return types