code: def set_popup_menu(self, menu):
          '''set a popup menu on the frame'''
          self.popup_menu = menu
          self.in_queue.put(MPImagePopupMenu(menu)f set_popup_menu(self, menu):
          '''set a popup menu on the frame'''
          self.popup_menu = menu
          self.in_queue.put(MPImagePopupMenu(menu))
docs: set a popup menu on the frame