• Home
  • Raw
  • Download

Lines Matching refs:menu

109         self.top = top = window.ListedToplevel(root, menu=self.menubar)
286 menu = self.menudict.get('window')
287 if menu:
288 end = menu.index("end")
292 menu.add_separator()
454 menudict[name] = menu = Menu(mbar, name=name, tearoff=0,
456 mbar.add_cascade(label=label, menu=menu, underline=underline)
459 menudict['application'] = menu = Menu(mbar, name='apple',
461 mbar.add_cascade(label='IDLE', menu=menu)
466 menu=self.recent_files_menu)
472 menu = self.menudict['window']
473 end = menu.index("end")
477 menu.delete(self.wmenu_end+1, end)
478 window.add_windows_to_menu(menu)
480 def update_menu_label(self, menu, index, label): argument
482 menuitem = self.menudict[menu]
485 def update_menu_state(self, menu, index, state): argument
487 menuitem = self.menudict[menu]
872 for menu in self.mainmenu.menudefs:
873 menuEventDict[menu[0]] = {}
874 for item in menu[1]:
876 menuEventDict[menu[0]][prepstr(item[0])[1]] = item[1]
878 menu = self.menudict[menubarItem]
879 end = menu.index(END)
885 if menu.type(index) == 'command':
886 accel = menu.entrycget(index, 'accelerator')
888 itemName = menu.entrycget(index, 'label')
895 menu.entryconfig(index, accelerator=accel)
973 menu = instance.recent_files_menu
974 menu.delete(0, END) # clear, and rebuild:
978 menu.add_command(label=ulchars[i] + " " + file_name,
1169 menu = menudict.get(mname)
1170 if not menu:
1174 menu.add_separator()
1186 menu.add_checkbutton(label=label, underline=underline,
1190 menu.add_command(label=label, underline=underline,
1532 self.update_menu_label(menu='options', index='*ine*umbers',