![]() ![]()
_command(label="Copy",accelerator="Ctrl+C",command=py) _command(label="Cut",accelerator="Ctrl+X",command=self.cut) Self.editmenu = Menu(nubar,font=("times new roman",12,"bold"),activebackground="skyblue",tearoff=0) _cascade(label="File", menu=self.filemenu) _command(label="Exit",accelerator="Ctrl+E",command=self.exit) _command(label="Save As",accelerator="Ctrl+A",command=self.saveasfile) _command(label="Save",accelerator="Ctrl+S",command=self.savefile) _command(label="New",accelerator="Ctrl+N",command=self.newfile) Self.filemenu = Menu(nubar,font=("times new roman",12,"bold"),activebackground="skyblue",tearoff=0) nubar = Menu(self.root,font=("times new roman",15,"bold"),activebackground="skyblue") Self.statusbar = Label(self.root,textvariable=self.status,font=("times new roman",15,"bold"),bd=2,relief=GROOVE) Self.titlebar = Label(self.root,textvariable=self.title,font=("times new roman",15,"bold"),bd=2,relief=GROOVE) Now, comes our Actual Code: Source Code: # Importing Required libraries & Modules WHAT IS THE PURPOSE OF A TEXT EDITOR FOR CODING PYTHON INSTALL
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |