code: def watch_thread(self):
          '''watch for menu events from child'''
          from mp_settings import MPSetting
          try:
              while True:
                  msg = self.parent_pipe_recv.recv()
                  if self.menu_callback is not None:
                      self.menu_callback(msg)
                  time.sleep(0.1)
          except EOFError:
              pasf watch_thread(self):
          '''watch for menu events from child'''
          from mp_settings import MPSetting
          try:
              while True:
                  msg = self.parent_pipe_recv.recv()
                  if self.menu_callback is not None:
                      self.menu_callback(msg)
                  time.sleep(0.1)
          except EOFError:
              pass
docs: watch for menu events from child