Exemple #1
0
 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
Exemple #2
0
 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
Exemple #3
0
 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
Exemple #4
0
"A sort of application framework for the Mac"