code: def set_priority(self, priority):
          
  
          if priority in ["hidden", "background", "info", "foreground", "alert", "input"]:
              self.priority = priority
              self.server.request("screen_set %s priority %s" % (self.ref, self.priority))
docs: Set Screen Priority Class