Get rid of Edit menu
This commit is contained in:
parent
0fa6e4b421
commit
03e8a31eb3
|
@ -38,17 +38,6 @@ class PyncheWidget:
|
|||
root.bind('<Alt-q>', self.__quit)
|
||||
root.bind('<Alt-Q>', self.__quit)
|
||||
#
|
||||
# Edit Menu
|
||||
#
|
||||
editbtn = Menubutton(menubar, text='Edit',
|
||||
underline=0)
|
||||
editbtn.pack(side=LEFT)
|
||||
editmenu = Menu(editbtn, tearoff=0)
|
||||
editbtn['menu'] = editmenu
|
||||
editmenu.add_command(label='Options...',
|
||||
command=self.__popup_options,
|
||||
underline=0)
|
||||
#
|
||||
# Help menu
|
||||
#
|
||||
helpbtn = Menubutton(menubar, text='Help',
|
||||
|
@ -75,9 +64,6 @@ class PyncheWidget:
|
|||
def parent(self):
|
||||
return self.__root
|
||||
|
||||
def __popup_options(self, event=None):
|
||||
print 'Options...'
|
||||
|
||||
def __popup_about(self, event=None):
|
||||
tkMessageBox.showinfo('About Pynche 1.0',
|
||||
'''\
|
||||
|
|
Loading…
Reference in New Issue