Lines Matching refs:menus
21 from Carbon.Menus import *
42 # Trick to forestall a set of SIOUX menus being added to our menubar
450 """Represent a set of menus in a menu bar.
472 self.menus = {}
478 self.menus = None
510 for m in self.menus.keys():
511 menu = self.menus[m]
534 if id in self.menus:
535 self.menus[id].dispatch(id, item, window, event)
541 # XXX Need a way to get menus as resources and bind them to callbacks
549 bar.menus[self.id] = self
555 del self.bar.menus[self.id]
740 bar.menus[self.id] = self