def setMessage(self, message):
    "Sets the Popup window's message to the given message.\n\n        message (str): A string that you want to display.\n\n        Returns:\n          None.\n        "
    self.__message = message.split('\n')
    self.longestLineLength = max([len(line) for line in self.__message])
Sets the Popup window's message to the given message.

message (str): A string that you want to display.

Returns:
  None.
def setMessage(self, message):
    "Sets the Popup window's message to the given message.\n\n        message (str): A string that you want to display.\n\n        Returns:\n          None.\n        "
    self.__message = message.split('\n')
    self.longestLineLength = max([len(line) for line in self.__message])