code: def _get_info(self, layout):
          
          info = str(self.tk.call(layout, 'info', self._w)).split("-")
          dic = {}
          for i in info:
              if i:
                  key, val = i.strip().split()
                  dic[key] = val
          return dic
docs: Alternative to pack_info and place_info in case of bug.