def addsubmenu(self, label, title = ''): sub = Menu(self.bar, title, -1) item = self.additem(label, '\x1b', None, 'submenu') self.menu.SetItemMark(item, sub.id) sub._parent = self sub._parent_item = item return sub
def addsubmenu(self, label, title=""): sub = Menu(self.bar, title, -1) item = self.additem(label, "\x1B", None, "submenu") self.menu.SetItemMark(item, sub.id) sub._parent = self sub._parent_item = item return sub
"A sort of application framework for the Mac"