code: def _append(self, menu):
          '''append this menu item to a menu'''
          from wx_loader import wx
          submenu = wx.Menu()
          for i in range(len(self.items)):
              submenu.AppendRadioItem(self.id()+i, self.items[i], self.description)
              if self.items[i] == self.initial:
                  submenu.Check(self.id()+i, True)
          menu.AppendMenu(-1, self.name, submenuf _append(self, menu):
          '''append this menu item to a menu'''
          from wx_loader import wx
          submenu = wx.Menu()
          for i in range(len(self.items)):
              submenu.AppendRadioItem(self.id()+i, self.items[i], self.description)
              if self.items[i] == self.initial:
                  submenu.Check(self.id()+i, True)
          menu.AppendMenu(-1, self.name, submenu)
docs: append this menu item to a menu