File menu : Menu : Tkinker PYTHON TUTORIALS


PYTHON TUTORIALS » Tkinker » Menu »

 

File menu


File menu
from Tkinter import *
def filemenu():
    filewin = Toplevel(root)
    fileclose = Button(filewin, text="Close Application")
    fileclose.config(command=root.quit)
    fileclose.pack()

root = Tk()
menubar = Menu(root)
menubar.add_command(label="File", command=filemenu)
menubar.add_command(label="Help")
root.config(menu=menubar)
root.mainloop()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Tkinker
» Menu