code: def set_code(self, code):
          
  
          for i, (_, style_code) in enumerate(self.styles):
              if code == style_code:
                  self.SetSelection(i)
docs: Sets widget from code string
  
          Parameters
          ----------
          code: String
          \tCode representation of widget value