docs: def qteGetMode(self, mode: str):
          """
          Return a tuple containing the ``mode``, its value, and
          its associated ``QLabel`` instance.
  
          |Args|
  
          * ``mode`` (**str**): size and position of new window.
  
          |Returns|
  
          * (**str**, **object**, **QLabel**: (mode, value, label).
  
          |Raises|
  
          * **QtmacsArgumentError** if at least one argument has an invalid type.
          """
          for item in self._qteModeList:
              if item[0] == mode:
                  return item
          return None