def METHOD_NAME(self, rect):
    # type: (Rect) -> None
    """
    Set the text geometry bounding rectangle (``(x, y, width, height)``
    tuple).
    """
    if self.__rect != rect:
        self.__rect = rect
        self.geometry_changed.emit()