class_docstr: GraphicsItem displaying unscaled text (the text will always appear normal even inside a scaled ViewBox). 
docstr: Set the width of the text.
  
  If the text requires more space than the width limit, then it will be
  wrapped into multiple lines.
  
  See QtWidgets.QGraphicsTextItem.setTextWidth().
docstr_tok: ["Set","the","width","of","the","text",".","If","the","text","requires","more","space","than","the","width","limit",",","then","it","will","be","wrapped","into","multiple","lines",".","See","QtWidgets.QGraphicsTextItem.setTextWidth","(",")","."]
code: def setTextWidth(self, *args):
      """
      Set the width of the text.
  
      If the text requires more space than the width limit, then it will be
      wrapped into multiple lines.
  
      See QtWidgets.QGraphicsTextItem.setTextWidth().
      """
      self.textItem.setTextWidth(*args)
      self.updateTextPos()
  
imports: from math import atan2, degrees
  from ..None import functions
  from ..Point import Point
  from ..Qt import QtCore, QtGui, QtWidgets
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 7 for calling the TextItem obj's underlying member method code with example usage: obj.setTextWidth() without return types